bitcoin_units::weight

Constant WITNESS_SCALE_FACTOR

source
pub const WITNESS_SCALE_FACTOR: usize = 4;
Available on crate feature alloc only.
Expand description

The factor that non-witness serialization data is multiplied by during weight calculation.