(self)
| 378 | self.n = struct.unpack("<I", f.read(4))[0] |
| 379 | |
| 380 | def serialize(self): |
| 381 | r = b"" |
| 382 | r += ser_uint256(self.hash) |
| 383 | r += struct.pack("<I", self.n) |
| 384 | return r |
| 385 | |
| 386 | def __repr__(self): |
| 387 | return "COutPoint(hash=%064x n=%i)" % (self.hash, self.n) |
no test coverage detected