Mining/pkg/node
Claude 35da3edcab
Some checks failed
Security Scan / security (push) Has been cancelled
Test / test (push) Has been cancelled
ax(node): rename bundle_test.go functions to TestFilename_Function_{Good,Bad,Ugly} convention
All 10 test functions in bundle_test.go lacked the AX Principle 10 naming
convention. Renamed to TestBundle_* with _Good/_Bad/_Ugly suffixes and
converted inlined Bad/Ugly subtests into top-level functions where needed.
Added usage-example comments per AX Principle 2.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-02 10:15:00 +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 prose comment with usage examples on isJSON 2026-04-02 09:51:58 +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 single-letter goroutine parameter p to connectedPeer 2026-04-02 09:41:18 +01:00
dispatcher.go Implement STIM bundle decryption and installation 2026-02-02 06:07:05 +00:00
identity.go ax(node): replace prose comment on NewNodeManager with usage example 2026-04-02 09:25:06 +01:00
identity_test.go ax(node): rename identity test functions to AX TestFilename_Function_{Good,Bad,Ugly} convention 2026-04-02 09:45:13 +01:00
lethean.go ax(node): rename resp/raw to response/responseBody in lethean.go 2026-04-02 08:05:27 +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 comment with usage example on ParsePayload 2026-04-02 09:14:28 +01:00
message_test.go refactor: Add reliability fixes and architecture improvements 2025-12-31 12:43:46 +00:00
peer.go ax(node): rename n to count in SelectNearestPeers (AX-1 predictable names) 2026-04-02 10:11:11 +01:00
peer_test.go ax(node): rename test and add Good/Bad/Ugly suite for NewPeerRegistry 2026-04-02 10:00:15 +01:00
protocol.go ax(node): replace prose comment with usage example on ParseResponse 2026-04-02 09:34:58 +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 comments with usage examples in transport.go 2026-04-02 09:58:10 +01:00
worker.go ax(node): replace prose-description comments with usage examples in worker.go 2026-04-02 08:26:09 +01:00
worker_test.go ax(node): rename worker_test.go functions to Good/Bad/Ugly convention 2026-04-02 10:09:20 +01:00