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

Method __init__

test/functional/test_framework/messages.py:435–443  ·  view source on GitHub ↗
(self, outpoint=None, scriptSig=b"", nSequence=0)

Source from the content-addressed store, hash-verified

433 __slots__ = ("nSequence", "prevout", "scriptSig", "m_is_pegin", "assetIssuance")
434
435 def __init__(self, outpoint=None, scriptSig=b"", nSequence=0):
436 if outpoint is None:
437 self.prevout = COutPoint()
438 else:
439 self.prevout = outpoint
440 self.scriptSig = scriptSig
441 self.nSequence = nSequence
442 self.m_is_pegin = False
443 self.assetIssuance = CAssetIssuance()
444
445 def deserialize(self, f):
446 self.prevout = COutPoint()

Callers

nothing calls this directly

Calls 2

COutPointClass · 0.70
CAssetIssuanceClass · 0.70

Tested by

no test coverage detected