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

Method msg_deser

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

Source from the content-addressed store, hash-verified

360
361 @classmethod
362 def msg_deser(cls, f, protover=PROTO_VERSION):
363 c = cls()
364 c.tx = CTransaction.stream_deserialize(f)
365 return c
366
367 def msg_ser(self, f):
368 self.tx.stream_serialize(f)

Callers 1

stream_deserializeMethod · 0.45

Calls 1

stream_deserializeMethod · 0.45

Tested by

no test coverage detected