Commit Graph
100 Commits
Author SHA1 Message Date
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
Ben c1d8341c22 Prevent duplicate share submissions - this is why we can't have nice things 2025-04-27 13:07:24 -04:00
Ben 982194b4e9 ClientStatisticsEntity rowid 2023-12-24 17:57:03 -05:00
Ben d97dafe185 separate background tasks 2023-12-24 17:54:40 -05:00
Ben 38fda85f63 back port some changes from postgres 2023-12-23 19:30:05 -05:00
Ben 8075c83fe2 batch insert 2023-12-01 22:08:08 -05:00
Ben c6885abd71 undo stratum changes 2023-12-01 21:51:47 -05:00
Ben 8657ffec78 reduce connections 2023-12-01 20:18:48 -05:00
Ben c39de1387b try to ramp connections 2023-12-01 20:18:26 -05:00
Ben f1d470b2c6 increase mmap_size 2023-12-01 19:32:51 -05:00
Ben 071deccbd7 test 2023-12-01 00:00:51 -05:00
Ben 37b92329ba change cron to interval 2023-11-30 23:50:13 -05:00
Ben 3ed6b8f5c4 bug 2023-11-24 16:18:43 -05:00
Ben 5ee67bb5fe bug 2023-11-24 15:43:09 -05:00
Ben b9af79978f RPC load reduction 2023-11-24 14:56:35 -05:00
Benjamin Wilson a1197fc77e Merge pull request #8 from dustinb/zeromq
Use zeromq if configured
2023-10-15 18:06:10 -04:00
Ben da60bb2876 remove VACUUM 2023-10-08 16:22:19 -04:00
Ben b9c3c67531 wrap getblockteplate try catch 2023-10-07 12:54:17 -04:00
Ben 7441838ba5 also destroy socket 2023-10-03 08:22:59 -04:00
Ben 6dfcad7725 5 min socket timeout 2023-10-03 08:08:00 -04:00
Ben 5c230d132e end socket on timeout 2023-10-03 08:02:27 -04:00
Ben e9a100433a comment 2023-10-03 07:59:28 -04:00
Ben 22bcd59bea 5 min timeout 2023-10-03 07:59:02 -04:00
Ben 0c4190960d 10min timeout 2023-10-03 07:51:05 -04:00
Ben f6f65ab9dc db tuning 2023-09-30 14:54:42 -04:00
Ben 0a03969f16 undo 2023-09-30 08:47:29 -04:00
Ben 398cc61fbc redo 2023-09-30 08:42:15 -04:00
Ben cd93fc388a undo 2023-09-30 08:41:35 -04:00
Ben 0d75714c55 batch inserts 2023-09-30 08:40:22 -04:00
Ben aa8261aa10 startup remove delete 2023-09-30 08:13:46 -04:00
Benjamin Wilson 3a25658650 Update README.md 2023-07-25 09:21:49 -04:00
Benjamin Wilson 4348f27b04 Update README.md 2023-07-17 00:23:52 -04:00
Benjamin Wilson 73de187cd9 Update README.md 2023-07-17 00:21:39 -04:00