Commit Graph

59 Commits

Author SHA1 Message Date
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
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
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
Luke Dashjr
ba6946c043
Merge remote-tracking branch 'github-pull/44/head' 2024-12-14 03:16:13 +00:00
Luke Dashjr
14b31eb647
Bugfix: conf: Handle null values correctly (as if they don't exist) and fail some invalid cases more gracefully 2024-12-13 22:56:14 +00:00
JesterHodl
0a615594f7 Fix superfluous newline in log when getaddrinfo fails
What happens is that you can get this in the log.
2024-12-10 17:30:02.356 [                       datum_protocol_client] ERROR: getaddrinfo: Name or service not known

2024-12-10 17:30:28.964 [               datum_gateway_template_thread] DEBUG: DEBUG: calling datum_gbt_parser (new=0)
2024-12-10 21:03:09 +01:00
Luke Dashjr
f34ed3242f
api: Support no-JS empty_thread and kill_client commands 2024-12-07 22:07:45 +00:00
Luke Dashjr
7be012af2e
Merge remote-tracking branch 'github-pull/43/head' 2024-12-07 22:03:49 +00:00
532497662b
bump datum version to v0.2.1-beta 2024-11-28 11:26:38 +01:00
Luke Dashjr
2f7f2b5bde
Merge remote-tracking branch 'github-pull/41/head' 2024-11-14 23:20:39 +00:00
Jason Hughes
2bbf8c6621 fix inconsistent protocol thread state on error, issue #40 2024-11-14 18:08:03 -05:00
Luke Dashjr
940a372494
utils: Add datum_atoi_strict for simple fixed-size buffer number parsing 2024-10-29 14:49:08 +00:00
Luke Dashjr
665aa78795
Merge remote-tracking branch 'github-pull/33/head' 2024-10-29 14:38:15 +00:00
Luke Dashjr
6ea83f8b56
Merge remote-tracking branch 'github-pull/35/head' 2024-10-29 14:35:34 +00:00
JesterHodl
d91a836d75 Improve error messages of fopen() calls
It helped me find an issue in my config. The error message from fopen, and the filename I was trying to open
2024-10-27 17:26:06 +01:00
JesterHodl
c4900b4afd
Use localtime_r in get_midnight_timestamp()
It's thread-safe and it's 4x faster too
2024-10-25 00:00:26 +02:00
Luke Dashjr
62d92d04fb
Merge remote-tracking branch 'github-pull/19/head' 2024-10-21 13:26:04 +00:00
JesterHodl
8b2eac3a26 Update Debian/Ubuntu cli to install library dependencies for building 2024-10-20 20:39:29 +02:00
JesterHodl
4a838e3057 Make Could not fetch new template more informative
Helps with debugging typos in the config
2024-10-20 19:39:45 +02:00
Luke Dashjr
86a39a0875
Delete dead datum_logger declaration 2024-10-20 17:01:50 +00:00
Luke Dashjr
40ff91b531
Bugfix: Address incorrect formatting specifiers, and add "format" attribute to datum_logger_queue_msg 2024-10-20 17:00:26 +00:00
Luke Dashjr
900b595db7
Merge remote-tracking branch 'github-pull/16/head' 2024-10-20 16:58:51 +00:00
JesterHodl
fbbffc18d7 Too few arguments to formatting function DLOG 2024-10-20 17:44:05 +02:00
Luke Dashjr
36613ef5f2
Merge remote-tracking branch 'github-pull/9/head' 2024-10-19 19:47:55 +00:00
Luke Dashjr
edf956f46d
utils: Delete unused current_time_nanos 2024-10-19 17:45:43 +00:00
Luke Dashjr
7a7587ad8c
utils: Correct comments in current_time_{micros,nanos} 2024-10-19 17:45:09 +00:00
Luke Dashjr
bcc70fbfc6
Merge remote-tracking branch 'github-pull/11/head' 2024-10-19 17:10:14 +00:00
Greg Tonoski
22f30ee7f0
Update datum_conf.c typo correction 2024-10-19 17:05:44 +02:00
Luke Dashjr
cc0f16a989
Merge remote-tracking branch 'github-pull/7/head' 2024-10-19 14:18:10 +00:00
Luke Dashjr
c64be8c9fc
Merge remote-tracking branch 'github-pull/6/head' 2024-10-19 14:18:05 +00:00
Luke Dashjr
5c7260e92c
README: Add pkg-config requirement 2024-10-19 14:18:03 +00:00
Vincenzo Palazzo
25e72324b9
ci: build datum inside the CI
As this could be a potential spam point for our GitHub because
people might submit code without verifying if it compiles.

However, having this inside the CI allows us to cover a basic compilation
test, which for some contributions may not require a full build. Additionally,
we can ensure that the code compiles on basic Linux OS environments, like Ubuntu,
or detect if there are any dependency breaks (even with minimal dependencies,
so this shouldn't be an issue either).

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2024-10-19 12:16:15 +01:00
Greg Tonoski
e3b2820cb7
Update thirdparty_base58.c typo correction 2024-10-19 11:54:36 +02:00
Georges Palauqui
88992bb7bb fix very minor typo 2024-10-19 10:27:01 +02:00