fix bip68-112-113-p2p.py

This commit is contained in:
UdjinM6 2019-06-21 16:44:29 +03:00 committed by Pasta
parent 867d3449a6
commit 3dcbb2e599
No known key found for this signature in database
GPG Key ID: D362C9F7142766AE

View File

@ -95,8 +95,14 @@ class BIP68_112_113Test(ComparisonTestFramework):
def __init__(self):
super().__init__()
self.num_nodes = 1
# Must set the blockversion for this test
# Must also set '-maxtipage=600100' to allow syncing from very old blocks
# and '-dip3params=2000:2000' to create pre-dip3 blocks only
self.extra_args = [['-whitelist=127.0.0.1', '-blockversion=4', '-maxtipage=600100', '-dip3params=2000:2000']]
def setup_network(self):
self.setup_nodes()
def run_test(self):
test = TestManager(self, self.options.tmpdir)
test.add_all_connections(self.nodes)