fedimint_core

Function weight_to_vbytes

Source
pub fn weight_to_vbytes(weight: u64) -> u64
Expand description

Converts weight to virtual bytes, defined in BIP-141 as weight / 4 (rounded up to the next integer).