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

Method deserialize

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

Source from the content-addressed store, hash-verified

276 self.vHave = []
277
278 def deserialize(self, f):
279 self.nVersion = struct.unpack("<i", f.read(4))[0]
280 self.vHave = deser_uint256_vector(f)
281
282 def serialize(self):
283 r = b""

Callers

nothing calls this directly

Calls 2

deser_uint256_vectorFunction · 0.85
readMethod · 0.45

Tested by

no test coverage detected