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

Method msg_deser

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

Source from the content-addressed store, hash-verified

340
341 @classmethod
342 def msg_deser(cls, f, protover=PROTO_VERSION):
343 c = cls()
344 c.headers = VectorSerializer.stream_deserialize(CBlockHeader, f)
345 return c
346
347 def msg_ser(self, f):
348 VectorSerializer.stream_serialize(CBlockHeader, self.headers, f)

Callers

nothing calls this directly

Calls 1

stream_deserializeMethod · 0.45

Tested by

no test coverage detected