Changeset View
Changeset View
Standalone View
Standalone View
test/functional/bip68-112-113-p2p.py
Show First 20 Lines • Show All 90 Lines • ▼ Show 20 Lines | for b31 in range(2): | ||||
for b25 in range(2): | for b25 in range(2): | ||||
for b22 in range(2): | for b22 in range(2): | ||||
for b18 in range(2): | for b18 in range(2): | ||||
txs.append(txarray[b31][b25][b22][b18]) | txs.append(txarray[b31][b25][b22][b18]) | ||||
return txs | return txs | ||||
class BIP68_112_113Test(ComparisonTestFramework): | class BIP68_112_113Test(ComparisonTestFramework): | ||||
def set_test_params(self): | |||||
def __init__(self): | |||||
super().__init__() | |||||
self.num_nodes = 1 | self.num_nodes = 1 | ||||
self.setup_clean_chain = True | |||||
self.extra_args = [['-whitelist=127.0.0.1', '-blockversion=4']] | self.extra_args = [['-whitelist=127.0.0.1', '-blockversion=4']] | ||||
def run_test(self): | def run_test(self): | ||||
test = TestManager(self, self.options.tmpdir) | test = TestManager(self, self.options.tmpdir) | ||||
test.add_all_connections(self.nodes) | test.add_all_connections(self.nodes) | ||||
NetworkThread().start() # Start up network handling in another thread | NetworkThread().start() # Start up network handling in another thread | ||||
test.run() | test.run() | ||||
▲ Show 20 Lines • Show All 519 Lines • Show Last 20 Lines |