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

Method stream_deserialize

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

Source from the content-addressed store, hash-verified

319 # FIXME this cannot be a @classmethod like the others because we need to
320 # know how many items to deserialize, which comes from len(vin)
321 def stream_deserialize(self, f):
322 vtxinwit = tuple(CTxInWitness.stream_deserialize(f) for dummy in
323 range(len(self.vtxinwit)))
324 return CTxWitness(vtxinwit)
325
326 def stream_serialize(self, f):
327 for i in range(len(self.vtxinwit)):

Callers 1

stream_deserializeMethod · 0.95

Calls 2

CTxWitnessClass · 0.85
stream_deserializeMethod · 0.45

Tested by

no test coverage detected