def deserialize(self, f):
    self.index = deser_compact_size(f)
    self.tx = CTransaction()
    self.tx.deserialize(f)
def deserialize(self, f):
    self.index = deser_compact_size(f)
    self.tx = CTransaction()
    self.tx.deserialize(f)