def deserialize(self, f):
    self.blockhash = deser_uint256(f)
    indexes_length = deser_compact_size(f)
    for _ in range(indexes_length):
        self.indexes.append(deser_compact_size(f))
def deserialize(self, f):
    self.blockhash = deser_uint256(f)
    indexes_length = deser_compact_size(f)
    for _ in range(indexes_length):
        self.indexes.append(deser_compact_size(f))