MCPcopy
hub / github.com/petertodd/python-bitcoinlib / test_is_final

Method test_is_final

bitcoin/tests/test_transactions.py:83–86  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

81
82class Test_CTxIn(unittest.TestCase):
83 def test_is_final(self):
84 self.assertTrue(CTxIn().is_final())
85 self.assertTrue(CTxIn(nSequence=0xffffffff).is_final())
86 self.assertFalse(CTxIn(nSequence=0).is_final())
87
88 def test_repr(self):
89 def T(txin, expected):

Callers

nothing calls this directly

Calls 2

CTxInClass · 0.85
is_finalMethod · 0.80

Tested by

no test coverage detected