go-p2p/node
Claude bf4ea4b215
test: add Phase 5 integration tests, benchmarks, and bufpool tests
- Full integration test: two nodes on localhost exercising identity
  creation, handshake, encrypted message exchange, UEPS packet routing
  via dispatcher, and graceful shutdown
- Benchmarks: identity key generation, ECDH shared secret derivation,
  KD-tree peer scoring (10/100/1000 peers), message serialisation,
  SMSG encrypt/decrypt, challenge-response, UEPS marshal/unmarshal
- bufpool.go tests: buffer reuse verification, oversized buffer
  discard, concurrent access, MarshalJSON correctness and safety
- Coverage: node/ 72.1% -> 87.5%, ueps/ 88.5% -> 93.1%

Co-Authored-By: Charon <developers@lethean.io>
2026-02-20 11:53:26 +00:00
..
bench_test.go test: Phase 5 — integration tests, benchmarks, bufpool tests 2026-02-20 06:09:21 +00:00
bufpool.go feat: extract P2P networking and UEPS protocol from Mining repo 2026-02-16 15:47:10 +00:00
bufpool_test.go test: add Phase 5 integration tests, benchmarks, and bufpool tests 2026-02-20 11:53:26 +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 test(node): push coverage from 72.4% to 87.4% 2026-02-20 02:33:54 +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(node): push coverage from 72.4% to 87.4% 2026-02-20 02:33:54 +00:00
dispatcher.go feat: implement UEPS packet dispatcher with threat circuit breaker 2026-02-20 00:23:10 +00:00
dispatcher_test.go feat: implement UEPS packet dispatcher with threat circuit breaker 2026-02-20 00:23: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 test(node): push coverage from 72.4% to 87.4% 2026-02-20 02:33:54 +00:00
integration_test.go test: add Phase 5 integration tests, benchmarks, and bufpool tests 2026-02-20 11:53:26 +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 test(node): push coverage from 72.4% to 87.4% 2026-02-20 02:33:54 +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 test(node): push coverage from 72.4% to 87.4% 2026-02-20 02:33:54 +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(node): push coverage from 72.4% to 87.4% 2026-02-20 02:33:54 +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 test(node): push coverage from 72.4% to 87.4% 2026-02-20 02:33:54 +00:00