def serialize(self):
    r = b''
    r += ser_uint256(self.blockhash)
    r += ser_compact_size(len(self.indexes))
    for x in self.indexes:
        r += ser_compact_size(x)
    return r
def serialize(self):
    r = b
    r += ser_uint256(self.blockhash)
    r += ser_compact_size(len(self.indexes))
    for x in self.indexes:
        r += ser_compact_size(x)
    return r