Function bitcoin_scripting::compute_taproot_merkle_root
source · pub fn compute_taproot_merkle_root(control: &[u8], tapleaf_hash: &u256) -> u256
Expand description
| Compute the BIP341 taproot script tree | Merkle root from control block and leaf | hash. | | Requires control block to have valid | length (33 + k*32, with k in {0,1,..,128}). |