Snider
6fd3fe1cd2
refactor(node): migrate module path to dappco.re/go/core/p2p
...
Security Scan / security (pull_request) Successful in 8s
Test / test (pull_request) Successful in 2m2s
Update go.mod module line from forge.lthn.ai/core/go-p2p to
dappco.re/go/core/p2p. Migrate core dependency paths: go-log to
dappco.re/go/core/log v0.1.0, go-io to dappco.re/go/core/io v0.2.0.
Update all .go import paths across 18 source files. Borg, Poindexter,
and Enchantrix dependencies remain on forge.lthn.ai as they have not
been migrated upstream.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-22 02:06:51 +00:00
Snider
fe04cf93aa
fix: improve UEPS packet validation and worker error handling
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 08:30:59 +00:00
Snider
ca04a88e35
refactor: apply go fix modernizers for Go 1.26
...
Automated fixes: interface{} → any, range-over-int, t.Context(),
wg.Go(), strings.SplitSeq, strings.Builder, slices.Contains,
maps helpers, min/max builtins.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-22 21:00:16 +00:00
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
Snider
c437fb3246
test: Phase 5 — integration tests, benchmarks, bufpool tests
...
- Integration: two-node localhost handshake + encrypted message exchange
+ controller ping/pong + UEPS packet routing via dispatcher + threat
circuit breaker + graceful shutdown (3 test functions)
- Benchmarks: 13 benchmarks across node/ and ueps/ — identity keygen,
ECDH shared secret, message serialise, SMSG encrypt/decrypt, HMAC
challenge sign/verify, KD-tree peer scoring, UEPS marshal/unmarshal,
bufpool throughput, challenge generation
- bufpool: 9 tests — get/put round-trip, buffer reuse, large buffer
eviction, concurrent access (race-safe), buffer independence,
MarshalJSON correctness + concurrency
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-20 06:09:21 +00:00