pub fn unlock_clause(
pubkey: XOnlyPublicKey,
unlock_hash: UnlockHash,
) -> ScriptBufExpand description
The hash-based unlock clause that requires a signature and a preimage
It is used hidden in the leaf taproot as only script or used in the forfeit output.