Commit Graph

198 Commits

Author SHA1 Message Date
Luke Dashjr
9379725ea2
Merge remote-tracking branch 'github-pull/75/head' into 0.2.x 2025-03-10 18:00:59 +00:00
Luke Dashjr
dd32c2946a
api/config: Disable pool settings in non-pooled-only mode 2025-03-10 17:57:40 +00:00
Luke Dashjr
a59a4a31af
Merge remote-tracking branch 'github-pull/71/head' 2025-03-08 21:01:28 +00:00
Luke Dashjr
755129f3fb
api: Add api.listen_addr config option to bind to a specific IP 2025-03-08 20:52:52 +00:00
Luke Dashjr
1bef1e8fe5
sockets: Abstract datum_sockets_setup_listening_sockets out of datum_gateway_listener_thread 2025-03-08 20:52:48 +00:00
Luke Dashjr
e992d5c8d5
sockets: Add stratum.listen_addr config option to bind to a specific IP 2025-03-08 20:52:44 +00:00
Luke Dashjr
ce841b9bc1
api: Attempt to use dual-stack (IPv6 & IPv4) 2025-03-08 20:50:50 +00:00
Luke Dashjr
591a1d763c
api: Abstract datum_api_try_start out of datum_api_thread 2025-03-08 20:50:47 +00:00
Luke Dashjr
eef0e44dd2
sockets: Attempt to listen on both IPv4 and IPv6 2025-03-08 20:49:44 +00:00
Luke Dashjr
0126aaa88a
sockets: Abstract datum_sockets_setup_listen_sock out of datum_gateway_listener_thread 2025-03-08 20:49:35 +00:00
Luke Dashjr
081a38f429
api: Listen with MHD_OPTION_LISTENING_ADDRESS_REUSE 2025-03-08 20:47:53 +00:00
Luke Dashjr
8df1c4fa5b
Bugfix: sockets: Correct error message when socket() fails 2025-03-08 20:47:02 +00:00
Luke Dashjr
d7b7f78b6e
Bugfix: sockets: socket() returns -1 on error, not 0 2025-03-08 20:47:02 +00:00
JesterHodl
4cd924deb3
Use PRIu64 instead of lu
Co-authored-by: Luke Dashjr <luke_github1@dashjr.org>
2025-03-08 21:43:31 +01:00
Luke Dashjr
24a8541555
logger: Reopen log file when SIGHUP received 2025-03-08 07:01:15 +00:00
Luke Dashjr
85fd02c5e1
api: Configuration modification support (if enabled in conf file) 2025-03-08 06:12:10 +00:00
Luke Dashjr
befc30777c
utils: Add datum_reexec 2025-03-08 05:48:23 +00:00
Luke Dashjr
0b3ea0f6bc
gateway: Protect and export datum_argv 2025-03-08 05:48:22 +00:00
Luke Dashjr
6a90e3ff72
gateway: Export datum_gateway_config_filename 2025-03-08 05:48:22 +00:00
Luke Dashjr
23eb520bea
utils: Add datum_deepcopy_charpp 2025-03-08 05:48:22 +00:00
Luke Dashjr
7a7d4f0a54
utils: Add datum_str_to_bool_strict 2025-03-08 05:48:19 +00:00
Luke Dashjr
3a9f92d047
conf: Unionise T_DATUM_CONFIG_ITEM type-specific fields 2025-03-08 05:47:03 +00:00
Luke Dashjr
5eba15b79e
api: Pass datum_api_fill_var function as a param to datum_api_fill_vars 2025-03-08 05:47:03 +00:00
Luke Dashjr
17c1f83804
api: Return output len from datum_api_fill_vars 2025-03-08 05:47:02 +00:00
Luke Dashjr
46fc75440c
api: Split datum_api_fill_var out of datum_api_fill_vars 2025-03-08 05:47:02 +00:00
Luke Dashjr
47098ab6bd
api: Optimise datum_api_fill_vars by avoiding copy of var_name 2025-03-08 05:47:02 +00:00
Luke Dashjr
37411b402c
api: Remove overcautious error handling in datum_api_fill_vars 2025-03-08 05:47:02 +00:00
Luke Dashjr
15ab54dba3
api: Optimise datum_api_fill_vars by populating replacements in-place 2025-03-08 05:47:02 +00:00
Luke Dashjr
f41b2b4ada
blocktemplates: Check that mining.pool_address is valid before starting 2025-03-08 05:47:02 +00:00
Luke Dashjr
cb8030767f
Merge branch '0.2.x' 2025-03-08 05:38:54 +00:00
Luke Dashjr
3931f059ec
Cleanup various minor warnings 2025-03-08 05:38:18 +00:00
Luke Dashjr
18f68b2167
blocktemplates: Ensure height logging is portable 2025-03-08 05:37:48 +00:00
Luke Dashjr
a1d3b2e5ca
Merge branch 'api_before_gbt' 2025-03-08 05:19:10 +00:00
Luke Dashjr
070d17d937
Merge commit 'github-pull/18/head' 2025-03-08 04:51:13 +00:00
Luke Dashjr
9b7601362b
Merge branch '0.2.x' 2025-03-08 04:43:28 +00:00
Luke Dashjr
676f898898
Merge remote-tracking branch 'github-pull/24/head' into 0.2.x 2025-03-08 04:42:23 +00:00
Luke Dashjr
fb6f19c671
Merge remote-tracking branch 'github-pull/29/head' into 0.2.x 2025-03-08 04:41:46 +00:00
Luke Dashjr
e0448369b4
Merge branch 'fix_cmd_leak' into 0.2.x 2025-03-08 04:34:49 +00:00
Luke Dashjr
695f7e2524
api: Use Etag to enable caching static resources 2025-03-08 04:06:40 +00:00
JesterHodl
15392e68e0 Address review comments 2025-03-07 22:14:21 +01:00
JesterHodl
16c869857d
Merge branch 'OCEAN-xyz:master' into process-uptime 2025-03-07 21:49:04 +01:00
Luke Dashjr
d64f3725e1
Merge branch '0.2.x' 2025-03-07 20:37:10 +00:00
Luke Dashjr
1d8c681a3a
Merge remote-tracking branch 'github-pull/63/head' into 0.2.x 2025-03-07 20:37:05 +00:00
Luke Dashjr
dd9790b5e1
Merge branch '0.2.x' 2025-03-07 20:35:24 +00:00
Luke Dashjr
ca9e2af5bd
Merge branch 'api_auth' into 0.2.x 2025-03-07 20:34:10 +00:00
Luke Dashjr
22da0d71bc
api: Require admin access to access Clients page at all 2025-03-07 20:33:38 +00:00
Luke Dashjr
98cfb409d3
Merge branch 'rpccookie' 2025-03-07 19:59:03 +00:00
Luke Dashjr
d3b061e95b
conf: Prefer snprintf for rpcuserpass just to be safe 2025-03-07 19:58:48 +00:00
Luke Dashjr
14993bbd91
Add support for rpccookiefile alternative to rpcuser/rpcpassword 2025-03-07 19:52:15 +00:00
Luke Dashjr
6f743b8031
Abstract userpass concatenation to bitcoind_json_rpc_call helper 2025-03-07 19:51:49 +00:00