Expand description
Multi-protocol commitments according to LNPBP-4 standard.
Structs§
- Commitment
- Final LNPBP-4 commitment value.
- Invalid
Proof - the provided merkle proof protocol id {protocol_id} position {actual} doesn’t match the expected position {expected} within the tree of width {width}.
- Leaf
NotKnown - commitment under protocol id {0} is absent from the known part of a given LNPBP-4 Merkle block.
- Merkle
Block - Partially-concealed merkle tree data.
- Merkle
Concealed - Merkle
Proof - A proof of the merkle commitment.
- Merkle
Tree - Complete information about LNPBP-4 merkle tree.
- Message
- Original message participating in multi-message commitment.
- Multi
Source - Structured source multi-message data for commitment creation
- Protocol
Id - Source data for creation of multi-message commitments according to LNPBP-4 procedure.
Enums§
- Error
- Errors generated during multi-message commitment process by
MerkleTree::try_commit - Leaf
- Merge
Error - Method
Constants§
Traits§
- Proof
- Marker trait for variates of LNPBP-4 commitment proofs, which differ by the amount of concealed information.
Type Aliases§
- Message
Map - Map from protocol ids to commitment messages.