MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / deserialize

Method deserialize

test/functional/test_framework/messages.py:345–347  ·  view source on GitHub ↗
(self, f)

Source from the content-addressed store, hash-verified

343 self.scriptPubKey = scriptPubKey
344
345 def deserialize(self, f):
346 self.nValue = struct.unpack("<q", f.read(8))[0]
347 self.scriptPubKey = deser_string(f)
348
349 def serialize(self):
350 r = b""

Callers

nothing calls this directly

Calls 2

deser_stringFunction · 0.85
readMethod · 0.45

Tested by

no test coverage detected