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

Method run_test

test/functional/feature_bip68_sequence.py:59–85  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

57 self.skip_if_no_wallet()
58
59 def run_test(self):
60 util.node_fastmerkle = self.nodes[0]
61 self.relayfee = self.nodes[0].getnetworkinfo()["relayfee"]
62
63 # Generate some coins
64 self.generate(self.nodes[0], 110)
65
66 self.log.info("Running test disable flag")
67 self.test_disable_flag()
68
69 self.log.info("Running test sequence-lock-confirmed-inputs")
70 self.test_sequence_lock_confirmed_inputs()
71
72 self.log.info("Running test sequence-lock-unconfirmed-inputs")
73 self.test_sequence_lock_unconfirmed_inputs()
74
75 self.log.info("Running test BIP68 not consensus before activation")
76 self.test_bip68_not_consensus()
77
78 self.log.info("Activating BIP68 (and 112/113)")
79 self.activateCSV()
80
81 self.log.info("Verifying nVersion=2 transactions are standard.")
82 self.log.info("Note that nVersion=2 transactions are always standard (independent of BIP68 activation status).")
83 self.test_version2_relay()
84
85 self.log.info("Passed")
86
87 # Test that BIP68 is not in effect if tx version is 1, or if
88 # the first sequence bit is set.

Callers

nothing calls this directly

Calls 8

test_disable_flagMethod · 0.95
activateCSVMethod · 0.95
test_version2_relayMethod · 0.95
infoMethod · 0.80
generateMethod · 0.45

Tested by

no test coverage detected