Module elements::taproot

source ·
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§

Constants§