go-blockchain/p2p
Virgil 21c5d49ef9
Some checks are pending
Security Scan / security (push) Waiting to run
Test / Test (push) Waiting to run
fix(sync): validate peers and persist HTLC spends
Centralise handshake response validation so outbound sync checks both network identity and minimum peer build version through the p2p layer. Also record HTLC key images as spent during block processing, matching the HF1 input semantics and preventing those spends from being omitted from chain state.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-04 19:01:07 +00:00
..
commands.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
handshake.go fix(sync): validate peers and persist HTLC spends 2026-04-04 19:01:07 +00:00
handshake_test.go fix(sync): validate peers and persist HTLC spends 2026-04-04 19:01:07 +00:00
integration_test.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
ping.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
ping_test.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
relay.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
relay_test.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
sync.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
sync_test.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
timedsync.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
version.go fix(blockchain): enforce HF5 freeze and peer build gate 2026-04-04 18:30:32 +00:00
version_test.go fix(blockchain): enforce HF5 freeze and peer build gate 2026-04-04 18:30:32 +00:00