Expand description
Deterministic bitcoin commitments library.
Deterministic bitcoin commitments are part of the client-side-validation. They allow to embed commitment to extra-transaction data into a bitcoin transaction in a provable way, such that it can always be proven that a given transaction contains one and only one commitment of a specific type for a given commitment protocol.
Re-exports§
pub use anchor::Anchor;
Modules§
- anchor
- Anchors are data structures used in deterministic bitcoin commitments for keeping information about the proof of the commitment in connection to the transaction which contains the commitment, and multi-protocol merkle tree as defined by LNPBP-4.
- keytweak
- Homomorphic key tweaking-based deterministic commitment scheme.
- opret
- ScriptPubkey-based OP_RETURN commitments.
- sigtweak
- Signature tweaking-based deterministic commitment scheme.
- tapret
- Taproot OP_RETURN-based deterministic bitcoin commitment scheme (“tapret”).
Structs§
- Method
Parse Error - wrong deterministic bitcoin commitment closing method id ‘{0}’.
Enums§
- Method
- Method of DBC construction.
Constants§
- LIB_
NAME_ BPCORE - Name of the strict type library generated from the data types in this crate.