Skip to content

Implement Simplified Papment Verification #158

@jimmysong

Description

@jimmysong
  1. Add calls necessary for SPV verification to electrum.py's EnhancedBlockchainState and chroma.py's ChromaBlockchainState.
  2. Add verify_merkle form https://github.com/spesmilo/electrum/blob/master/lib/verifier.py to both files mentioned in (1)
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions