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

Method stream_serialize

bitcoin/core/__init__.py:232–234  ·  view source on GitHub ↗
(self, f)

Source from the content-addressed store, hash-verified

230 return cls(nValue, scriptPubKey)
231
232 def stream_serialize(self, f):
233 f.write(struct.pack(b"<q", self.nValue))
234 BytesSerializer.stream_serialize(self.scriptPubKey, f)
235
236 def is_valid(self):
237 if not MoneyRange(self.nValue):

Callers

nothing calls this directly

Calls 1

stream_serializeMethod · 0.45

Tested by

no test coverage detected