| 1691 | |
| 1692 | |
| 1693 | class msg_cmpctblock: |
| 1694 | __slots__ = ("header_and_shortids",) |
| 1695 | msgtype = b"cmpctblock" |
| 1696 | |
| 1697 | def __init__(self, header_and_shortids = None): |
| 1698 | self.header_and_shortids = header_and_shortids |
| 1699 | |
| 1700 | def deserialize(self, f): |
| 1701 | self.header_and_shortids = P2PHeaderAndShortIDs() |
| 1702 | self.header_and_shortids.deserialize(f) |
| 1703 | |
| 1704 | def serialize(self): |
| 1705 | r = b"" |
| 1706 | r += self.header_and_shortids.serialize() |
| 1707 | return r |
| 1708 | |
| 1709 | def __repr__(self): |
| 1710 | return "msg_cmpctblock(HeaderAndShortIDs=%s)" % repr(self.header_and_shortids) |
| 1711 | |
| 1712 | |
| 1713 | class msg_getblocktxn: |
no outgoing calls