Commit Graph
100 Commits
Author SHA1 Message Date
Ben 07a2b173d0 Harden Stratum V1 share validation 2026-08-05 16:34:43 -04:00
Ben 4c56839c02 Prevent accounting cache refresh stampedes 2026-08-04 23:47:41 -04:00
Ben 1cdf3fbf7e Cap concurrent API connections 2026-08-04 19:24:29 -04:00
Ben d1ebc55871 Bound public API connection lifetimes 2026-08-04 19:20:48 -04:00
Ben 7d96c06bbf Avoid retaining accounting summary promises 2026-08-04 12:30:29 -04:00
Ben dd39c6edcf Fix Timescale rollup index migration 2026-08-03 23:03:36 -04:00
Ben 86ad296189 Restore accepted share rollup lookup indexes 2026-08-03 22:44:49 -04:00
Ben f49e7b5b8f Accept BIP320 version rolling in SV2 shares 2026-08-03 10:58:23 -04:00
Ben 3cb4cbfbdf Isolate API worker module 2026-08-03 10:27:03 -04:00
Ben f31cdef7f0 Fix retained share high score ordering 2026-07-29 00:57:14 -04:00
Ben 943dd60eef Limit pool summary aggregate refresh window 2026-07-29 00:41:11 -04:00
Ben 4150d1e425 Add pool-level share summary aggregate 2026-07-29 00:24:48 -04:00
Ben fd226f206f Raise SV2 retained job limit 2026-07-14 22:55:36 -04:00
Ben 0b030fecca Split maintenance duties from notifier 2026-07-13 22:58:54 -04:00
Ben 448f7d4c52 Fix pool accounting summary fallback 2026-07-13 22:47:53 -04:00
Ben d830227178 Speed up prestaged block activation 2026-07-13 22:15:18 -04:00
Ben fe287c32c7 Switch block ZMQ notifications to hashblock 2026-07-13 13:00:26 -04:00
Ben 65101a98a2 Block found notifications 2026-07-13 12:20:37 -04:00
Ben c60264bbe5 Optimize SV1 block notify fanout 2026-07-13 11:55:26 -04:00
Ben 3d58802feb Add block notification timing logs 2026-07-12 00:31:12 -04:00
Ben bc6f2eebd8 Reduce production hot-path logging 2026-07-11 23:52:38 -04:00
Ben 4f29269fed Speed up template publication and share validation 2026-07-11 23:33:24 -04:00
Ben 126b05224f Read best difficulty in API workers 2026-06-21 17:45:00 -04:00
Ben 12f3983c8f Filter stale address workers 2026-06-21 17:30:06 -04:00
Ben 9998c93eae Reject truncated DATUM PPLNS coinbases 2026-06-21 11:39:01 -04:00
Ben bdd3c7c3ae Revert "Fix DATUM PPLNS coinbaser snapshots"
This reverts commit 1943ea7768.
2026-06-21 11:12:09 -04:00
Ben 1943ea7768 Fix DATUM PPLNS coinbaser snapshots 2026-06-21 11:07:41 -04:00
Ben 6dcbb8436d Reduce DATUM false rejects and filter miner report 2026-06-21 10:27:58 -04:00
Ben d5c5a90aa6 Count recent clients in miner report 2026-06-21 00:02:34 -04:00
Ben bc8eba3c49 Count only working clients in miner report 2026-06-20 23:54:40 -04:00
Ben bed275fe7b Filter stale clients from live miner report 2026-06-20 23:41:18 -04:00
Ben d1fb186e5d Remove Redis client presence 2026-06-20 16:03:34 -04:00
Ben cd0cb9bfe0 Restore DB-backed connected miner hashrate 2026-06-20 15:27:33 -04:00
Ben c3ad01a38f Pass client presence flag through compose 2026-06-20 14:49:19 -04:00
Ben f20bb37509 Add Redis client presence kill switch 2026-06-20 14:43:11 -04:00
Ben 10cd17076e Expose payout mode protocol ports in external compose 2026-06-20 14:08:09 -04:00
Ben a9d425f32f Add payout modes and production switchover schema 2026-06-20 13:59:05 -04:00
Ben a33c530268 Add SV2 DATUM payout hardening 2026-06-12 23:54:50 -04:00
Ben bcd6bb0aa7 Add accepted share rollup batches 2026-06-09 22:55:11 -04:00
Ben 1c5a3d9a94 performance and optimization 2026-06-09 17:13:27 -04:00
Ben efbd95e464 Keep SV1 client entity during cleanup 2026-06-09 12:45:33 -04:00
Ben bb0acf0395 Pass Stratum backpressure setting to container 2026-06-09 12:42:27 -04:00
Ben 9b99c5153a Harden Stratum V1 cleanup 2026-06-09 12:30:03 -04:00
Ben a693501648 Optimize latest completed accounting bucket lookup 2026-06-08 18:49:30 -04:00
Ben f259af947e Remove accepted share retention policy 2026-06-08 18:38:42 -04:00
Ben f29081de36 Use latest available completed accounting bucket 2026-06-08 18:21:44 -04:00
Ben 0acc1910db Use completed share rollups for pool accounting 2026-06-08 18:17:49 -04:00
Ben d847e2666a Align accounting last ten minute rollup window 2026-06-08 13:54:31 -04:00
Ben 294c4a6825 Expose fallback best share in client accounting 2026-06-08 13:47:43 -04:00
Ben 8252111c32 Harden accounting and stratum production settings 2026-06-08 13:27:24 -04:00
Ben deaf3e56bd Serve client accounting from rollup cache 2026-06-08 01:42:17 -04:00
Ben 9b73e33b13 Add current round best share index migration 2026-06-08 01:32:59 -04:00
Ben 0560b874dc Use current round best share for dashboard 2026-06-08 01:32:19 -04:00
Ben 7f6f42c5c9 Restore live pool accounting dashboard values 2026-06-08 01:09:42 -04:00
Ben 4c59797886 Avoid client accounting queries in API workers 2026-06-08 00:59:40 -04:00
Ben 4c91e69ca8 Use share rollups for API accounting 2026-06-08 00:55:51 -04:00
Ben 7b7dc87242 Add API timing diagnostics 2026-06-08 00:47:11 -04:00
Ben df35549f27 Avoid repeated cold info refreshes 2026-06-08 00:31:56 -04:00
Ben 8c795a3fa2 Run API as an API-only cluster 2026-06-08 00:26:48 -04:00
Ben ac7827a944 Restore in-memory API cache priority 2026-06-08 00:19:56 -04:00
Ben 17ba4afc1a Revert "Harden API process under production load"
This reverts commit 817f416b79.
2026-06-08 00:17:15 -04:00
Ben b612b50f3e Revert "Relax API connection hardening defaults"
This reverts commit b6a951bdee.
2026-06-08 00:17:15 -04:00
Ben b6a951bdee Relax API connection hardening defaults 2026-06-08 00:14:58 -04:00
Ben 817f416b79 Harden API process under production load 2026-06-08 00:10:37 -04:00
Ben d05d5f0b37 Bound info endpoint cold cache work 2026-06-07 23:32:49 -04:00
Ben 3da95b964b Restore lightweight info endpoint 2026-06-07 23:29:08 -04:00
Ben 4155335bb5 Limit background services by process role 2026-06-07 23:18:00 -04:00
Ben 13106347b2 Avoid raw pool summary on API process 2026-06-07 23:13:14 -04:00
Ben 96e0e36755 Keep API process out of SV2 sockets 2026-06-07 23:09:44 -04:00
Ben 93dde1a899 Cache pool accounting summary 2026-06-07 23:02:57 -04:00
Ben eac0fe65ab Cache live user agent report off request path 2026-06-07 22:58:00 -04:00
Ben f14d76c2ea Isolate API process from mining workers 2026-06-07 22:53:15 -04:00
Ben 51e3afb7e7 Fix client presence cleanup index 2026-06-07 22:46:46 -04:00
Ben 3c33fcd3c4 Serve API only from master process 2026-06-07 22:40:45 -04:00
Ben 78fbf12f8f Make share index migration online safe 2026-06-07 22:13:08 -04:00
Ben 3e1c303fa0 Add accepted share order index 2026-06-07 22:03:32 -04:00
Ben 4f51a4d05c Omit current chart bucket 2026-06-07 21:37:23 -04:00
Ben 2d6b01691c Cache hot API responses in Redis 2026-06-07 21:32:03 -04:00
Ben 4a5d4bbb71 Reduce dashboard Timescale query load 2026-06-07 21:26:22 -04:00
Ben c0604aaf2a Expose configurable Docker API publish port 2026-06-07 21:08:18 -04:00
Ben ec69f5fb6c Migrate pool storage to TimescaleDB and Redis 2026-06-07 20:33:13 -04:00
Ben fb367ac5f0 sv1-sv2 routing 2026-06-05 23:44:00 -04:00
Ben 3d6c8b3134 sv2 debug 2026-06-05 23:41:22 -04:00
Ben 2a37cb1f06 Stratum V2 initial commit 2026-06-05 13:14:09 -04:00
Ben f2d2283b47 fix possible dup work on diff change 2026-06-05 09:51:06 -04:00
Ben 4cab56a1a0 prevent half connections staying open 2026-05-30 19:24:34 -04:00
Ben c5169e105e add stratum worker backpressure 2026-05-07 23:56:55 -04:00
Ben 2d6d2afacb dead code 2026-05-07 23:52:56 -04:00
Ben 327be48ade update postgresql branch 2026-05-07 23:45:07 -04:00
Ben cc0ca3979e extranonce2 8 bytes 2026-05-06 18:18:34 -04:00
Benjamin WilsonandWantClue 9bf3dde862 validateHeaderCompliance (#145)
Co-authored-by: WantClue <wantclue@users.noreply.github.com>
2026-01-24 14:53:05 -05:00
Ben 8b2bea702a enable stratum TLS 2025-11-29 11:45:44 -05:00
Ben 63a1618f26 killDeadClients 2025-11-21 20:56:27 -05:00
Ben 1b0f3f52d8 index 2025-11-21 20:52:52 -05:00
Ben 78c00fd25c killDeadClients 2025-11-21 20:34:00 -05:00
Ben dd45c60eff killDeadClients 2025-11-21 20:01:55 -05:00
Ben 0481dfda6e dead clients 2025-11-21 18:56:29 -05:00
Ben 6f6abe5e2d batch kill dead clients 2025-11-21 18:42:00 -05:00
Ben ff84d8284f watch cert and reload 2025-08-22 19:01:46 -04:00
Ben cdf6eb807b other filtering 2025-04-29 15:31:28 -04:00