Changeset View
Changeset View
Standalone View
Standalone View
test/functional/wallet_avoidreuse.py
Show First 20 Lines • Show All 74 Lines • ▼ Show 20 Lines | |||||
class AvoidReuseTest(BitcoinTestFramework): | class AvoidReuseTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.setup_clean_chain = False | self.setup_clean_chain = False | ||||
self.num_nodes = 2 | self.num_nodes = 2 | ||||
# This test isn't testing txn relay/timing, so set whitelist on the | # This test isn't testing txn relay/timing, so set whitelist on the | ||||
# peers for instant txn relay. This speeds up the test run time 2-3x. | # peers for instant txn relay. This speeds up the test run time 2-3x. | ||||
self.extra_args = [["-whitelist=127.0.0.1"]] * self.num_nodes | self.extra_args = [["-whitelist=noban@127.0.0.1"]] * self.num_nodes | ||||
def skip_test_if_missing_module(self): | def skip_test_if_missing_module(self): | ||||
self.skip_if_no_wallet() | self.skip_if_no_wallet() | ||||
def run_test(self): | def run_test(self): | ||||
'''Set up initial chain and run tests defined below''' | '''Set up initial chain and run tests defined below''' | ||||
self.test_persistence() | self.test_persistence() | ||||
▲ Show 20 Lines • Show All 361 Lines • Show Last 20 Lines |