go-p2p/node
Claude 33eda7b656
test: add controller tests (Phase 3) — node/ coverage 63.5% to 72.1%
14 tests covering request-response correlation, timeout handling,
auto-connect, parallel stat collection, ping RTT with metrics update,
concurrent multi-peer requests, and dead peer channel cleanup.

Also fixes a pre-existing data race (P2P-RACE-1) in GracefulClose where
SetWriteDeadline was called outside writeMu, racing with concurrent
Send() calls.

Co-Authored-By: Charon <developers@lethean.io>
2026-02-20 00:17:31 +00:00
..
bufpool.go feat: extract P2P networking and UEPS protocol from Mining repo 2026-02-16 15:47:10 +00:00
bundle.go feat: extract P2P networking and UEPS protocol from Mining repo 2026-02-16 15:47:10 +00:00
bundle_test.go feat: extract P2P networking and UEPS protocol from Mining repo 2026-02-16 15:47:10 +00:00
controller.go feat: extract P2P networking and UEPS protocol from Mining repo 2026-02-16 15:47:10 +00:00
controller_test.go test: add controller tests (Phase 3) — node/ coverage 63.5% to 72.1% 2026-02-20 00:17:31 +00:00
dispatcher.go feat: extract P2P networking and UEPS protocol from Mining repo 2026-02-16 15:47:10 +00:00
identity.go feat: extract P2P networking and UEPS protocol from Mining repo 2026-02-16 15:47:10 +00:00
identity_test.go feat: extract P2P networking and UEPS protocol from Mining repo 2026-02-16 15:47:10 +00:00
message.go feat: extract P2P networking and UEPS protocol from Mining repo 2026-02-16 15:47:10 +00:00
message_test.go feat: extract P2P networking and UEPS protocol from Mining repo 2026-02-16 15:47:10 +00:00
peer.go feat: extract P2P networking and UEPS protocol from Mining repo 2026-02-16 15:47:10 +00:00
peer_test.go feat: extract P2P networking and UEPS protocol from Mining repo 2026-02-16 15:47:10 +00:00
protocol.go feat: extract P2P networking and UEPS protocol from Mining repo 2026-02-16 15:47:10 +00:00
protocol_test.go feat: extract P2P networking and UEPS protocol from Mining repo 2026-02-16 15:47:10 +00:00
transport.go test: add controller tests (Phase 3) — node/ coverage 63.5% to 72.1% 2026-02-20 00:17:31 +00:00
transport_test.go test: add transport layer tests (Phase 2) — node/ coverage 42% to 63.5% 2026-02-20 00:08:35 +00:00
worker.go feat: extract P2P networking and UEPS protocol from Mining repo 2026-02-16 15:47:10 +00:00
worker_test.go feat: extract P2P networking and UEPS protocol from Mining repo 2026-02-16 15:47:10 +00:00