Expand description
Taproot
Structs§
- Control Block data structure used in Tapscript satisfaction
- Data Structure to store information about taproot leaf node
- The leaf version for tapleafs
- Structure to represent the node information in taproot tree
- The tag used for
TapNodeHash
- Taproot-tagged hash for elements tapscript Merkle tree leafs.
- The tag used for
TapLeafHash
- Tagged hash used in taproot trees; see BIP-340 for tagging rules.
- Taproot-tagged hash for the elements taproot signature hash.
- The tag used for
TapSighashHash
- Taproot-tagged hash for elements public key tweaks.
- The tag used for
TapTweakHash
- Builder for building taproot iteratively. Users can specify tap leaf or omitted/hidden branches in a DFS(Depth first search) walk to construct this tree.
- The Merkle proof for inclusion of a tree in a taptree hash
- Data structure for representing Taproot spending information. Taproot output corresponds to a combination of a single public key condition (known the internal key), and zero or more general conditions encoded in scripts organized in the form of a binary tree.
Enums§
- Detailed error type for taproot builder
- Detailed error type for taproot utilities
Constants§
- 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 (Note that this is different from bitcoin’s 0xc0)