MCPcopy Create free account
hub / github.com/ElementsProject/elements / deserialize

Method deserialize

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

Source from the content-addressed store, hash-verified

631 return len(self.scriptPubKey) == 0
632
633 def deserialize(self, f):
634 self.nAsset = CTxOutAsset()
635 self.nAsset.deserialize(f)
636 self.nValue = CTxOutValue()
637 self.nValue.deserialize(f)
638 self.nNonce = CTxOutNonce()
639 self.nNonce.deserialize(f)
640 self.scriptPubKey = deser_string(f)
641
642 def serialize(self):
643 r = b""

Callers

nothing calls this directly

Calls 5

CTxOutAssetClass · 0.85
CTxOutValueClass · 0.85
CTxOutNonceClass · 0.85
deser_stringFunction · 0.70
deserializeMethod · 0.45

Tested by

no test coverage detected