def __init__(self, blocknum, data, table=0, record=0):
        assert len(data) == 0x18, "BlockHashRecord data of an incorrect length"
        self.record = record
        self.table = table
        self.blocknum = blocknum
        self.hash = data[:0x14]
        self.info = ord(data[0x14])
        self.nextblock = struct.unpack(">I", '\x00' + data[0x15:0x18])[0]
        assert self.info in STFSHashInfo.types, "BlockHashRecord type is unknown"
dataset/ETHPy150Open arkem/py360/py360/stfs.py/BlockHashRecord.__init__/original