pub fn weight_to_vbytes(weight: u64) -> u64
Converts weight to virtual bytes, defined in BIP-141 as weight / 4 (rounded up to the next integer).