(self)
| 330 | self.hash = deser_uint256(f) |
| 331 | |
| 332 | def serialize(self): |
| 333 | r = b"" |
| 334 | r += struct.pack("<I", self.type) |
| 335 | r += ser_uint256(self.hash) |
| 336 | return r |
| 337 | |
| 338 | def __repr__(self): |
| 339 | return "CInv(type=%s hash=%064x)" \ |
no test coverage detected