Commit graph

13 commits

Author SHA1 Message Date
Snider
2470f1ac3d feat(proxy): add log tests, fix nil config panic, complete test triads
- Add log package tests (AccessLog and ShareLog Good/Bad/Ugly triads)
- Fix nil pointer panic in pool.NewStrategyFactory when config is nil
- Add Worker Hashrate Good/Bad/Ugly test triad
- Add ConfigWatcher Start Bad test (nonexistent path)
- Add FailoverStrategy CurrentPools Bad/Ugly, EnabledPools Good/Bad/Ugly,
  and NewStrategyFactory Good/Bad/Ugly test triads
- Improve doc comments on Stats, StatsSummary, Workers, WorkerRecord
  with AX-compliant usage examples

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-05 08:08:28 +01:00
Virgil
031f0c0f17 docs(proxy): tighten AX-oriented comments
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-05 03:10:41 +00:00
Virgil
af96bfce94 docs: align public API comments with AX guidance
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-05 02:58:56 +00:00
Virgil
8a52856719 fix(proxy): reject configs without enabled pools
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-05 02:09:46 +00:00
Virgil
5d8d82b9b5 docs(proxy): align AX comments
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-05 02:06:24 +00:00
Virgil
2364633afc docs(ax): improve proxy API comments
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-05 00:25:30 +00:00
Virgil
fd6bc01b87 docs(proxy): align API comments with AX
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 23:48:33 +00:00
Virgil
187a366d74 refactor(proxy): align aggregate field names with RFC
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 22:20:39 +00:00
Virgil
a79b35abaf Improve public API usage examples 2026-04-04 21:58:37 +00:00
Virgil
8b47e6a11b refactor(proxy): rename hash totals for clarity
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 21:42:57 +00:00
Virgil
e92c6070be feat(proxy): add custom diff stats and clean failover disconnects
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 19:20:29 +00:00
Virgil
a38dfc18ec feat(proxy): implement RFC surface
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 10:29:02 +00:00
Virgil
3d64079f91 feat: scaffold go-proxy from RFC spec
Stratum mining proxy library skeleton with 18 Go source files, type
declarations, event bus, NiceHash/simple splitter packages, pool client,
HTTP API types, access/share logging, and rate limiter. No function
implementations — ready for agent dispatch.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 11:16:28 +01:00