def deserialize(self, f):
    self.filter_type = struct.unpack('<B', f.read(1))[0]
    self.start_height = struct.unpack('<I', f.read(4))[0]
    self.stop_hash = deser_uint256(f)
def deserialize(self, f):
    self.filter_type = struct.unpack('<B', f.read(1))[0]
    self.start_height = struct.unpack('<I', f.read(4))[0]
    self.stop_hash = deser_uint256(f)