Mining/pkg/node
Claude 22c52c0b70
Some checks failed
Test / test (push) Waiting to run
Security Scan / security (push) Failing after 32s
ax(node): replace prose comment with usage example on chain constants
LetheanDefaults comment restated what the constant block name already says (AX
Principle 2). Replaced with concrete call examples showing GetChainInfo and
DiscoverPools usage against both daemon endpoints.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-02 14:35:46 +01:00
..
bufpool.go ax(node): expand abbreviated variable names in bufpool to predictable full names 2026-04-02 10:02:11 +01:00
bundle.go ax(node): replace banned strings import with bytes.HasPrefix in bundle.go 2026-04-02 13:58:05 +01:00
bundle_test.go ax(node): rename bundle_test.go functions to TestFilename_Function_{Good,Bad,Ugly} convention 2026-04-02 10:15:00 +01:00
controller.go ax(node): rename ctx→cancelContext/requestContext/shutdownContext 2026-04-02 14:28:07 +01:00
dispatcher.go Implement STIM bundle decryption and installation 2026-02-02 06:07:05 +00:00
identity.go ax(node): replace prose type comments with usage examples 2026-04-02 14:25:58 +01:00
identity_test.go ax(node): rename nm/nm1/nm2 to nodeManager/nodeManager1/nodeManager2 in identity test 2026-04-02 13:14:08 +01:00
lethean.go ax(node): replace prose comment with usage example on chain constants 2026-04-02 14:35:46 +01:00
lethean_test.go ax(node): strip _WrongURL suffix from lethean test names 2026-04-02 12:23:44 +01:00
message.go ax(node): rename abbreviated receiver names to full predictable names 2026-04-02 14:22:52 +01:00
message_test.go ax(node): rename message_test.go functions to TestMessage_Function_{Good,Bad,Ugly} 2026-04-02 11:25:07 +01:00
peer.go ax(node): replace prose type comments with usage examples 2026-04-02 14:25:58 +01:00
peer_test.go ax(node): rename pr/pr1/pr2 to registry/firstRegistry/secondRegistry in peer_test.go 2026-04-02 14:32:21 +01:00
protocol.go ax(node): rename abbreviated receiver names to full predictable names 2026-04-02 14:22:52 +01:00
protocol_test.go ax(node): rename protocol_test.go functions to TestFilename_Function_{Good,Bad,Ugly} 2026-04-02 12:56:35 +01:00
transport.go ax(node): rename single-letter variable u to parsedURL in CheckOrigin 2026-04-02 14:33:43 +01:00
worker.go ax(node): replace prose comment on MinerManager with usage example 2026-04-02 14:20:03 +01:00
worker_test.go ax(node): add Good and Ugly test cases for HandleStartMiner, HandleStopMiner, and HandleGetLogs 2026-04-02 14:08:49 +01:00