Implement Simplified Papment Verification
Opened this issue · 0 comments
jimmysong commented
- Add calls necessary for SPV verification to electrum.py's EnhancedBlockchainState and chroma.py's ChromaBlockchainState.
- Add verify_merkle form https://github.com/spesmilo/electrum/blob/master/lib/verifier.py to both files mentioned in (1)
- Subclass BaseTxDb for a class called VerifiedTxDb. Add a method identify_tx_status which uses the verify_merkle method in the blockchain_state object in model to conclusively determine the actual TX status instead of having to trust anybody.