MCPcopy
hub / github.com/jimmysong/programmingbitcoin / stream

Method stream

code-ch13/network.py:87–89  ·  view source on GitHub ↗

Returns a stream for parsing the payload

(self)

Source from the content-addressed store, hash-verified

85 return result
86
87 def stream(self):
88 '''Returns a stream for parsing the payload'''
89 return BytesIO(self.payload)
90
91
92class NetworkEnvelopeTest(TestCase):

Callers 1

wait_forMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected