Function get_countersigner_payment_script

Source
pub fn get_countersigner_payment_script(
    channel_type_features: &ChannelTypeFeatures,
    payment_key: &PublicKey,
) -> ScriptBuf
Expand description

Returns the script for the countersigner’s (i.e. non-broadcaster’s) output on a commitment transaction based on the channel type.