def get_vsize(self):
    with_witness_size = len(self.serialize_with_witness())
    without_witness_size = len(self.serialize_without_witness())
    return math.ceil(((((WITNESS_SCALE_FACTOR - 1) * without_witness_size) + with_witness_size) / WITNESS_SCALE_FACTOR))
def get_vsize(self):
    with_witness_size = len(self.serialize_with_witness())
    without_witness_size = len(self.serialize_without_witness())
    return math.ceil(((((WITNESS_SCALE_FACTOR - 1) * without_witness_size) + with_witness_size) / WITNESS_SCALE_FACTOR))