MCPcopy Index your code
hub / github.com/petertodd/python-bitcoinlib / msg_deser

Method msg_deser

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

Source from the content-addressed store, hash-verified

195
196 @classmethod
197 def msg_deser(cls, f, protover=PROTO_VERSION):
198 c = cls()
199 c.addrs = VectorSerializer.stream_deserialize(CAddress, f)
200 return c
201
202 def msg_ser(self, f):
203 VectorSerializer.stream_serialize(CAddress, self.addrs, f)

Callers

nothing calls this directly

Calls 1

stream_deserializeMethod · 0.45

Tested by

no test coverage detected