Skip to main content

validate_taproot_script_path_with_leaf_version

Function validate_taproot_script_path_with_leaf_version 

Source
pub fn validate_taproot_script_path_with_leaf_version(
    script: &ByteString,
    merkle_proof: &[Hash],
    merkle_root: &Hash,
    leaf_version: u8,
) -> Result<bool>
Expand description

Validate Taproot script path spending with explicit leaf version.