test: speedup wallet tests by whitelisting peers (immediate tx relay)

This commit is contained in:
Sebastian Falbesoner committed 2022-08-18 00:15:21 +02:00
1 parent a75b7796b7
commit b21e522ce4
9 files changed
+23 -1

No files matched your search

+4
View File
@@ -20,6 +20,10 @@ class WalletHDTest(BitcoinTestFramework):
self.setup_clean_chain = True
self.num_nodes = 2
self.extra_args = [[], ['-keypool=0']]
# whitelist peers to speed up tx relay / mempool sync
for args in self.extra_args:
args.append("-whitelist=noban@127.0.0.1")
self.supports_cli = False
def skip_test_if_missing_module(self):