Mining/pkg
Claude aa69d9c933
ax(node): add Good and Ugly test variants for GetChainInfo, DiscoverPools, DiscoverGateways
AX principle 10 requires all three test categories (Good, Bad, Ugly).
lethean_test.go only had Bad variants for the three discovery functions;
added Good (happy-path via httptest.Server) and Ugly (edge-case filtering
and malformed JSON) for each, using a local test server to avoid live daemon dependency.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-02 16:54:59 +01:00
..
database ax(database): replace prose interface comments with usage examples 2026-04-02 14:22:42 +01:00
logging ax(logging): rename mu to mutex for predictable naming 2026-04-02 14:22:38 +01:00
mining ax(mining): replace prose comments with usage examples on middleware funcs 2026-04-02 16:52:31 +01:00
node ax(node): add Good and Ugly test variants for GetChainInfo, DiscoverPools, DiscoverGateways 2026-04-02 16:54:59 +01:00
ueps ax(ueps): use sharedSecret over short name secret in comment example 2026-04-02 14:23:04 +01:00