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

Method msg_deser

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

Source from the content-addressed store, hash-verified

215
216 @classmethod
217 def msg_deser(cls, f, protover=PROTO_VERSION):
218 c = cls()
219 c.alert = CAlert.stream_deserialize(f)
220 return c
221
222 def msg_ser(self, f):
223 self.alert.stream_serialize(f)

Callers

nothing calls this directly

Calls 1

stream_deserializeMethod · 0.45

Tested by

no test coverage detected