breez_sdk_liquid::lightning::ln::chan_utils

Constant MAX_ACCEPTED_HTLC_SCRIPT_WEIGHT

pub const MAX_ACCEPTED_HTLC_SCRIPT_WEIGHT: usize = 143; // 143usize
Expand description

The weight of a BIP141 witnessScript for a BOLT3’s “received HTLC output” can vary in function of its CLTV argument value. We define a range that encompasses both its non-anchors and anchors variants. This is the maximum post-anchor value.