Mining/pkg/node
Claude c57462bd52
ax(node): replace prose struct comments with usage examples
AX Principle 2: comments must show HOW with real values, not restate
what the type signature already says. All payload struct comments in
message.go were prose descriptions ("HandshakePayload is sent during
connection establishment") — replaced with concrete construction
examples showing field usage.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-02 12:16:41 +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): rename f to outputFile in extractTarball (AX Principle 1) 2026-04-02 11:53:43 +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 local var c to controller in NewController 2026-04-02 10:34:19 +01:00
dispatcher.go Implement STIM bundle decryption and installation 2026-02-02 06:07:05 +00:00
identity.go ax(node): replace prose constant comment with usage example 2026-04-02 12:04:30 +01:00
identity_test.go ax(node): add Bad and Ugly test categories for TestIdentity_NodeManager 2026-04-02 12:12:22 +01:00
lethean.go ax(node): rename Caps to Capabilities on PoolGateway struct 2026-04-02 11:11:41 +01:00
lethean_test.go ax(node): add missing Bad and Ugly test triads for parseComment 2026-04-02 08:12:03 +01:00
message.go ax(node): replace prose struct comments with usage examples 2026-04-02 12:16:41 +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 constant comment with usage example 2026-04-02 12:01:32 +01:00
peer_test.go ax(node): enforce TestFilename_Function_{Good,Bad,Ugly} naming in peer_test.go 2026-04-02 10:44:20 +01:00
protocol.go ax(node): replace prose comments with usage examples in protocol.go 2026-04-02 10:28:54 +01:00
protocol_test.go ax(node): rename TestConvenienceFunctions to AX-compliant TestProtocol_DefaultHandler_Good 2026-04-02 08:35:17 +01:00
transport.go ax(node): replace prose comment with usage example on GetConnection 2026-04-02 11:31:36 +01:00
worker.go ax(node): replace prose Worker comment with usage example 2026-04-02 11:06:08 +01:00
worker_test.go ax(node): add missing Bad and Ugly test variants for HandlePing 2026-04-02 10:58:46 +01:00