go-blockchain/wire
Snider 76488e0beb
Some checks are pending
Security Scan / security (push) Waiting to run
Test / Test (push) Waiting to run
feat(wire): add alias entry readers + AX usage-example comments
Add readExtraAliasEntryOld (tag 20) and readExtraAliasEntry (tag 33)
wire readers so the node can deserialise blocks containing alias
registrations. Without these readers, mainnet sync would fail on any
block with an alias transaction. Three round-trip tests validate the
new readers.

Also apply AX-2 (comments as usage examples) across 12 files: add
concrete usage-example comments to exported functions in config/,
types/, wire/, chain/, difficulty/, and consensus/. Fix stale doc
in consensus/doc.go that incorrectly referenced *config.ChainConfig.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-05 08:46:54 +01:00
..
block.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
block_test.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
decoder.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
decoder_test.go feat(wire): Phase 1 wire serialisation — bit-identical to C++ daemon 2026-02-20 17:16:08 +00:00
encoder.go feat(wire): Phase 1 wire serialisation — bit-identical to C++ daemon 2026-02-20 17:16:08 +00:00
encoder_test.go feat(wire): Phase 1 wire serialisation — bit-identical to C++ daemon 2026-02-20 17:16:08 +00:00
hash.go feat(wire): add alias entry readers + AX usage-example comments 2026-04-05 08:46:54 +01:00
hash_test.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
transaction.go feat(wire): add alias entry readers + AX usage-example comments 2026-04-05 08:46:54 +01:00
transaction_test.go feat(wire): add alias entry readers + AX usage-example comments 2026-04-05 08:46:54 +01:00
transaction_v2_test.go refactor: migrate module path to dappco.re/go/core/blockchain 2026-03-22 01:49:26 +00:00
transaction_v3_test.go refactor(wire): unify HF5 asset operation parsing 2026-04-04 23:09:26 +00:00
treehash.go feat(wire): Phase 1 wire serialisation — bit-identical to C++ daemon 2026-02-20 17:16:08 +00:00
treehash_test.go feat(wire): Phase 1 wire serialisation — bit-identical to C++ daemon 2026-02-20 17:16:08 +00:00
variant.go refactor(wire): unify HF5 asset operation parsing 2026-04-04 23:09:26 +00:00
varint.go feat: Phase 0 scaffold -- config, types, wire, difficulty 2026-02-20 15:10:33 +00:00
varint_test.go feat: Phase 0 scaffold -- config, types, wire, difficulty 2026-02-20 15:10:33 +00:00