Function breez_sdk_core::lightning::ln::chan_utils::get_revokeable_redeemscript
pub fn get_revokeable_redeemscript(
revocation_key: &PublicKey,
contest_delay: u16,
broadcaster_delayed_payment_key: &PublicKey,
) -> Script
Expand description
A script either spendable by the revocation
key or the broadcaster_delayed_payment_key and satisfying the relative-locktime OP_CSV constrain.
Encumbering a to_holder
output on a commitment transaction or 2nd-stage HTLC transactions.