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

Method msg_deser

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

Source from the content-addressed store, hash-verified

274
275 @classmethod
276 def msg_deser(cls, f, protover=PROTO_VERSION):
277 c = cls()
278 c.inv = VectorSerializer.stream_deserialize(CInv, f)
279 return c
280
281 def msg_ser(self, f):
282 VectorSerializer.stream_serialize(CInv, self.inv, f)

Callers

nothing calls this directly

Calls 1

stream_deserializeMethod · 0.45

Tested by

no test coverage detected