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

Method stream_serialize

bitcoin/net.py:112–114  ·  view source on GitHub ↗
(self, f)

Source from the content-addressed store, hash-verified

110 return c
111
112 def stream_serialize(self, f):
113 f.write(struct.pack(b"<i", self.nVersion))
114 uint256VectorSerializer.stream_serialize(self.vHave, f)
115
116 def __repr__(self):
117 return "CBlockLocator(nVersion=%i vHave=%s)" % (self.nVersion, repr(self.vHave))

Callers

nothing calls this directly

Calls 1

stream_serializeMethod · 0.45

Tested by

no test coverage detected