breez_sdk_liquid::lightning::ln::chan_utils

Function get_anchor_redeemscript

pub fn get_anchor_redeemscript(funding_pubkey: &PublicKey) -> Script
Expand description

Gets the witnessScript for an anchor 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)