Luke Dashjr
b52ecdc1b5
conf: Export new datum_config_get_option_info
2025-03-07 19:27:21 +00:00
Luke Dashjr
9bfb2f6536
Merge remote-tracking branch 'github-pull/46/head'
2025-03-07 16:44:06 +00:00
Luke Dashjr
44f036683a
Merge remote-tracking branch 'github-pull/68/head'
2025-03-07 03:35:57 +00:00
JesterHodl
9d734f49a8
Merge branch 'OCEAN-xyz:master' into bugs-in-datum_queue_free
2025-02-23 15:14:08 +01:00
JesterHodl
e5b975d543
Merge branch 'OCEAN-xyz:master' into datum_coinbaser_init-failure
2025-02-23 15:13:15 +01:00
JesterHodl
4dbbd98ccd
Add datum process uptime
2025-02-17 20:39:20 +01:00
Jason Hughes
61b2bb5a5e
Bugfix: Socket state can change between epoll and send
2025-02-09 17:46:34 -05:00
JesterHodl
2b7442bcdc
Put rpcuser/pass from global back to datum config
2025-02-06 20:44:54 +01:00
JesterHodl
8edf26e72d
Reduce and rename DATUM_CONFIG_MAX_STRING_ARRAY_LEN
2025-01-25 19:09:39 +01:00
JesterHodl
e199667856
Resize coinbase tags to better values
...
In fact the maximums are enforced to be not more than 60 in datum_conf.c
2025-01-25 19:04:58 +01:00
JesterHodl
f192e9059a
Clearer sizing of max_string_len for extra_block_submissions
...
Instead of sizing the first element, size the type
Co-authored-by: Luke Dashjr <luke_github1@dashjr.org>
2025-01-25 18:57:50 +01:00
JesterHodl
c320b45aca
use datum_config.bitcoind_rpcuserpass instead of a global
2025-01-25 18:40:55 +01:00
JesterHodl
599c38f900
Merge branch 'OCEAN-xyz:master' into better-sprintf-snprintf
2025-01-17 12:01:10 +01:00
Luke Dashjr
6d7fdbcb44
stratum: Keep waiting indefinitely for job
2025-01-16 18:18:28 +00:00
Luke Dashjr
7a35e19a5d
api: Display major errors from blocktemplates
2025-01-16 18:18:27 +00:00
Luke Dashjr
83edd5951f
api: Allow access prior to complete initialisation
2025-01-16 18:18:27 +00:00
Luke Dashjr
64b752c6c9
api: Use client connect_tsms and (new) unique_id to avoid kicking the wrong client
2025-01-16 17:24:09 +00:00
Luke Dashjr
7a8159b403
utils: Add datum_atoi_strict_u64
2025-01-16 17:23:29 +00:00
Luke Dashjr
8f0b100823
Bugfix: api: Free parsed JSON for cmd POST
2025-01-16 16:16:52 +00:00
Luke Dashjr
297b9beb34
api: Require admin password to perform actions
2025-01-16 16:11:21 +00:00
Luke Dashjr
31d732107b
api: Abstract datum_api_testnet_fastforward function
2025-01-16 16:07:41 +00:00
Luke Dashjr
6a54d7fa07
utils: Add datum_secure_strequals
2025-01-16 16:07:29 +00:00
Luke Dashjr
70aa9a4175
api: Parse API cmd form data before acting
2025-01-16 15:58:18 +00:00
Luke Dashjr
32819381d6
api: Add datum_api_formdata_to_json helper function
2025-01-16 15:56:10 +00:00
Luke Dashjr
39d4e5faf8
api: Abstract error response
2025-01-16 15:51:39 +00:00
Luke Dashjr
bbfcd29f78
Add support for rpccookiefile alternative to rpcuser/rpcpassword
2025-01-15 20:26:27 +00:00
Luke Dashjr
8fcca4afbd
Abstract userpass concatenation to bitcoind_json_rpc_call helper
2025-01-15 20:20:38 +00:00
Luke Dashjr
2ad7ac1877
conf: Export new datum_config_get_option_info
2025-01-15 19:20:19 +00:00
Luke Dashjr
a38edeb8a8
Bugfix: api: Add missing method='post'
2025-01-13 06:24:11 +00:00
Luke Dashjr
a4b51b511c
protocol: Bump version to v0.2.2-beta
2025-01-13 06:16:49 +00:00
Luke Dashjr
ed9f6c7d4d
Merge PR 59: Bugfix: Max possible template transactions inconsistent across functions
2025-01-13 06:11:45 +00:00
Jason Hughes
2b7e521965
bugfix and sanity checks. fix stratum_calculate_merkle_branches to support max txns. add sanity checks on txn counts.
2025-01-13 01:05:50 -05:00
Luke Dashjr
c4c67ffa7f
Merge PR 25: api: Support no-JS empty_thread and kill_client commands
2025-01-13 03:59:34 +00:00
Luke Dashjr
a0d62337c9
Merge PR 45: conf: Refuse to start with pooled mining only, if there's no pool set
2025-01-13 03:19:01 +00:00
Luke Dashjr
e937a4ef66
Merge PR 58: EmbedResources: Use character literals for generated header
2025-01-13 03:15:56 +00:00
Luke Dashjr
cf24d634ae
EmbedResources: Use character literals for generated header
2025-01-07 21:17:17 +00:00
JesterHodl
2a5cf535c0
conf: Refuse to start with pooled mining only, if there's no pool set
2024-12-29 20:29:27 +01:00
Luke Dashjr
a8375b7317
Merge remote-tracking branch 'github-pull/52/head'
2024-12-20 22:42:58 +00:00
Luke Dashjr
c4a7b3dede
Merge remote-tracking branch 'github-pull/53/head'
2024-12-16 16:39:06 +00:00
JesterHodl
42666a2c04
Merge branch 'OCEAN-xyz:master' into better-sprintf-snprintf
2024-12-15 20:03:37 +01:00
JesterHodl
90e6b020a6
- in order to stop populating userpass over and over again, populate once and reuse
...
- in order to eliminate discrepancies between char array sizes, use sizeof() in max_string_length of datum_config_options
- introduce a warning in case a config option is truncated
- where userpass was reused for a filepath, create a separate variable
- reduce user and pass to 128 bytes
- exit during config upon parsing error, makes more sense to me
2024-12-15 20:02:14 +01:00
BitcoinMechanic
467ba474f3
delete 'stratum_v1_' from user messaging
2024-12-14 14:06:39 -08:00
BitcoinMechanic
66e9af2862
Check share_stale_seconds is within range 60-150
2024-12-14 13:57:38 -08:00
JesterHodl
96d3b1f9ee
handle truncation in vsnprintf and reduce size of char time_buffer[] to 20
...
20 is sufficient
2024-12-14 22:54:52 +01:00
szarka
c6d0568f02
Add viewport meta tag to improve results on mobile
2024-12-14 20:56:45 +00:00
szarka
99dec4fa0e
Center active hashrate message using CSS instead of obsolete CENTER element
2024-12-14 20:56:45 +00:00
szarka
2ab8b60dc9
Center notes using CSS instead of obsolete CENTER element
2024-12-14 20:56:15 +00:00
szarka
cdd950746e
Remove deprecated type attribute on style element
2024-12-14 17:53:20 +00:00
Luke Dashjr
411265f04b
Merge remote-tracking branch 'github-pull/48/head'
2024-12-14 16:13:07 +00:00
Luke Dashjr
dafdaa0c55
Merge remote-tracking branch 'github-pull/17/head'
2024-12-14 03:17:49 +00:00