Function get_keyed_anchor_redeemscript

Source
pub fn get_keyed_anchor_redeemscript(funding_pubkey: &PublicKey) -> ScriptBuf
Expand description

Gets the witnessScript for a keyed anchor (non-zero-fee-commitments) output from the funding public key.

The witness in the spending input must be: <BIP 143 funding_signature> After 16 blocks of confirmation, an alternative satisfying witness could be: <> (empty vector required to satisfy compliance with MINIMALIF-standard rule)