def deserialize(self, f):
    blocks = deser_vector(f, CBlock)
    for x in blocks:
        self.headers.append(CBlockHeader(x))
def deserialize(self, f):
    blocks = deser_vector(f, CBlock)
    for x in blocks:
        self.headers.append(CBlockHeader(x))