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

Method stream_serialize

bitcoin/core/__init__.py:681–683  ·  view source on GitHub ↗
(self, f, include_witness=True)

Source from the content-addressed store, hash-verified

679 return self
680
681 def stream_serialize(self, f, include_witness=True):
682 super(CBlock, self).stream_serialize(f)
683 VectorSerializer.stream_serialize(CTransaction, self.vtx, f, dict(include_witness=include_witness))
684
685 def get_header(self):
686 """Return the block header

Callers

nothing calls this directly

Calls 1

stream_serializeMethod · 0.45

Tested by

no test coverage detected