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

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

View File

@ -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 = []