HashTree
bitcoinjs-lib / payments / HashTree
Type Alias: HashTree
HashTree:
HashLeaf
|HashBranch
Defined in: ts_src/payments/bip341.ts:35
Binary tree representing leaf, branch, and root node hashes of a Taptree. Each node contains a hash, and potentially left and right branch hashes. This tree is used for 2 purposes: Providing the root hash for tweaking, and calculating merkle inclusion proofs when constructing a control block.