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.