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

Method stream_deserialize

bitcoin/core/__init__.py:162–166  ·  view source on GitHub ↗
(cls, f)

Source from the content-addressed store, hash-verified

160
161 @classmethod
162 def stream_deserialize(cls, f):
163 prevout = COutPoint.stream_deserialize(f)
164 scriptSig = script.CScript(BytesSerializer.stream_deserialize(f))
165 nSequence = struct.unpack(b"<I", ser_read(f,4))[0]
166 return cls(prevout, scriptSig, nSequence)
167
168 def stream_serialize(self, f):
169 COutPoint.stream_serialize(self.prevout, f)

Callers 5

stream_deserializeMethod · 0.45
stream_deserializeMethod · 0.45
stream_deserializeMethod · 0.45
stream_deserializeMethod · 0.45
stream_deserializeMethod · 0.45

Calls 1

ser_readFunction · 0.85

Tested by

no test coverage detected