go-blockchain/chain
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
..
chain.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
chain_test.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
difficulty.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
difficulty_test.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
history.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
history_test.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
index.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
integration_test.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
levinconn.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
meta.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
p2psync.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
p2psync_test.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
ring.go feat(chain): support multisig and HTLC ring outputs 2026-04-04 18:52:40 +00:00
ring_test.go feat(chain): support multisig and HTLC ring outputs 2026-04-04 18:52:40 +00:00
store.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
sync.go fix(sync): validate peers and persist HTLC spends 2026-04-04 19:01:07 +00:00
sync_test.go fix(sync): validate peers and persist HTLC spends 2026-04-04 19:01:07 +00:00
validate.go feat(consensus): enforce block version in chain sync 2026-04-04 18:56:36 +00:00
validate_test.go feat(consensus): enforce block version in chain sync 2026-04-04 18:56:36 +00:00