diff options
author | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2022-08-18 00:15:21 +0200 |
---|---|---|
committer | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2022-08-18 00:15:21 +0200 |
commit | b21e522ce47a13e024488e43f1cd33a0f1769197 (patch) | |
tree | ac11885cdccbc999f4cea0109e51674539347449 /test/functional/wallet_listreceivedby.py | |
parent | a75b7796b7b37be0d313d10a2ed683534ce7e95a (diff) | |
download | bitcoin-b21e522ce47a13e024488e43f1cd33a0f1769197.tar.xz |
test: speedup wallet tests by whitelisting peers (immediate tx relay)
Diffstat (limited to 'test/functional/wallet_listreceivedby.py')
-rwxr-xr-x | test/functional/wallet_listreceivedby.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/wallet_listreceivedby.py b/test/functional/wallet_listreceivedby.py index 7ae3a40eaf..f1d7de2f27 100755 --- a/test/functional/wallet_listreceivedby.py +++ b/test/functional/wallet_listreceivedby.py @@ -18,6 +18,8 @@ from test_framework.wallet_util import test_address class ReceivedByTest(BitcoinTestFramework): def set_test_params(self): self.num_nodes = 2 + # whitelist peers to speed up tx relay / mempool sync + self.extra_args = [["-whitelist=noban@127.0.0.1"]] * self.num_nodes def skip_test_if_missing_module(self): self.skip_if_no_wallet() |