Module breez_sdk_liquid::bitcoin::util::taproot
Expand description
Bitcoin Taproot.
This module provides support for taproot tagged hashes.
Structs§
- Control block data structure used in Tapscript satisfaction.
- Inner type representing future (non-tapscript) leaf versions. See
LeafVersion::Future
. - Represents the node information in taproot tree.
- Store information about taproot leaf node.
- Taproot-tagged hash for tapscript Merkle tree branches
- The tag used for TapBranchHash
- Taproot-tagged hash for tapscript Merkle tree leafs
- The tag used for TapLeafHash
- Taproot-tagged hash for the taproot signature hash
- The tag used for TapSighashHash
- Taproot-tagged hash for public key tweaks
- The tag used for TapTweakHash
- Builder for building taproot iteratively. Users can specify tap leaf or omitted/hidden branches in a depth-first search (DFS) walk order to construct this tree.
- The merkle proof for inclusion of a tree in a taptree hash.
- Represents taproot spending information.
Enums§
- The leaf version for tapleafs.
- Detailed error type for taproot builder.
- Detailed error type for taproot utilities.
Constants§
- Taproot annex prefix.
- Tapscript control base size.
- Maximum depth of a taproot tree script spend path.
- Tapscript control max size.
- Size of a taproot control node.
- Tapleaf mask for getting the leaf version from first byte of control block.
- Tapscript leaf version.