Expand description
An oracle for the Bitcoin network that produces attestations to the chain tip and to the outputs spent in each block.
Re-exports
pub use bitcoin;
Modules
- A GCS filter for spent outpoints in a block
- Oracle proof that outpoints were spent or unspent in a block
- Attestation source
- SPV proof that transactions are included in a block
- Utilities
Structs
- An attestation by the oracle to a certain chain tip and spend filter at a certain time
- Basic information about an oracle
- A signed attestation
Constants
- Mainnet checkpoints. (height, block_hash, filter_header, block_header) Note that we start from the first checkpoint, not the last one.
- Testnet checkpoints. (height, block_hash, filter_header, block_header) Note that –use-checkpoint starts from the first checkpoint, not the last one.
Functions
- Decode a checkpoint tuple
- Get the latest checkpoint for the given network