(cls, f)
| 104 | |
| 105 | @classmethod |
| 106 | def stream_deserialize(cls, f): |
| 107 | c = cls() |
| 108 | c.nVersion = struct.unpack(b"<i", ser_read(f, 4))[0] |
| 109 | c.vHave = uint256VectorSerializer.stream_deserialize(f) |
| 110 | return c |
| 111 | |
| 112 | def stream_serialize(self, f): |
| 113 | f.write(struct.pack(b"<i", self.nVersion)) |
nothing calls this directly
no test coverage detected