aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_importdescriptors.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_importdescriptors.py
parenta75b7796b7b37be0d313d10a2ed683534ce7e95a (diff)
downloadbitcoin-b21e522ce47a13e024488e43f1cd33a0f1769197.tar.xz
test: speedup wallet tests by whitelisting peers (immediate tx relay)
Diffstat (limited to 'test/functional/wallet_importdescriptors.py')
-rwxr-xr-xtest/functional/wallet_importdescriptors.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/wallet_importdescriptors.py b/test/functional/wallet_importdescriptors.py
index 525b91a6e0..9744009af8 100755
--- a/test/functional/wallet_importdescriptors.py
+++ b/test/functional/wallet_importdescriptors.py
@@ -35,6 +35,9 @@ class ImportDescriptorsTest(BitcoinTestFramework):
self.extra_args = [["-addresstype=legacy"],
["-addresstype=bech32", "-keypool=5"]
]
+ # whitelist peers to speed up tx relay / mempool sync
+ for args in self.extra_args:
+ args.append("-whitelist=noban@127.0.0.1")
self.setup_clean_chain = True
self.wallet_names = []