def deserialize(self, f):
    self.nTransactions = struct.unpack('<i', f.read(4))[0]
    self.vHash = deser_uint256_vector(f)
    vBytes = deser_string(f)
    self.vufos = []
    for i in range((len(vBytes) * 8)):
        self.vufos.append(((vBytes[(i // 8)] & (1 << (i % 8))) != 0))
def deserialize(self, f):
    self.nTransactions = struct.unpack('<i', f.read(4))[0]
    self.vHash = deser_uint256_vector(f)
    vBytes = deser_string(f)
    self.vufos = []
    for i in range((len(vBytes) * 8)):
        self.vufos.append(((vBytes[(i // 8)] & (1 << (i % 8))) != 0))