aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_hd.py
diff options
context:
space:
mode:
authorSebastian Falbesoner <sebastian.falbesoner@gmail.com>2022-08-18 00:15:21 +0200
committerSebastian Falbesoner <sebastian.falbesoner@gmail.com>2022-08-18 00:15:21 +0200
commitb21e522ce47a13e024488e43f1cd33a0f1769197 (patch)
treeac11885cdccbc999f4cea0109e51674539347449 /test/functional/wallet_hd.py
parenta75b7796b7b37be0d313d10a2ed683534ce7e95a (diff)
test: speedup wallet tests by whitelisting peers (immediate tx relay)
Diffstat (limited to 'test/functional/wallet_hd.py')
-rwxr-xr-xtest/functional/wallet_hd.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/wallet_hd.py b/test/functional/wallet_hd.py
index 686a365584..6c41b468b6 100755
--- a/test/functional/wallet_hd.py
+++ b/test/functional/wallet_hd.py
@@ -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):