go-blockchain/docs
Claude dd04cc9dee
feat(crypto): wire BPP/BPPE/BGE proof verification with real testnet data
Add cn_bpp_verify for Bulletproofs++ (1 delta, bpp_crypto_trait_ZC_out)
used by zc_outs_range_proof in post-HF4 transactions. Distinguish from
cn_bppe_verify (2 deltas, bpp_crypto_trait_Zarcanum) used for Zarcanum
PoS proofs.

Key changes:
- Add deserialise_bpp() and cn_bpp_verify() to bridge.cpp
- Add VerifyBPP() Go wrapper in proof.go
- Wire BPPE and BGE stubs into real C++ verify functions
- Add try/catch to all proof verifiers (C++ throws on invalid points)
- Add nil/empty input guards to all Go proof functions
- Test with real BPP proof from testnet block 101 coinbase tx

The BPP proof from tx 543bc3c2... (first post-HF4 coinbase) verifies
successfully through the full CGo pipeline, confirming wire format
deserialisation matches the C++ daemon output.

Co-Authored-By: Charon <charon@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 18:37:08 +00:00
..
plans docs: Phase 8 mining implementation plan 2026-02-21 01:56:36 +00:00
references docs: archive CryptoNote+ whitepaper (Aldanov, 2018) 2026-02-20 18:03:50 +00:00
architecture.md docs: Phase 8 mining complete 2026-02-21 02:21:36 +00:00
development.md docs: graduate Phase 0 into production documentation 2026-02-20 15:24:38 +00:00
history.md feat(crypto): wire BPP/BPPE/BGE proof verification with real testnet data 2026-02-21 18:37:08 +00:00