MCPcopy
hub / github.com/petertodd/python-bitcoinlib / msg_deser

Method msg_deser

bitcoin/messages.py:257–260  ·  view source on GitHub ↗
(cls, f, protover=PROTO_VERSION)

Source from the content-addressed store, hash-verified

255
256 @classmethod
257 def msg_deser(cls, f, protover=PROTO_VERSION):
258 c = cls()
259 c.inv = VectorSerializer.stream_deserialize(CInv, f)
260 return c
261
262 def msg_ser(self, f):
263 VectorSerializer.stream_serialize(CInv, self.inv, f)

Callers

nothing calls this directly

Calls 1

stream_deserializeMethod · 0.45

Tested by

no test coverage detected