test: whitelist rpc_rawtransaction peers to speed up tests

in my testing from 45-55 seconds to 15.
This commit is contained in:
Jon Atack 2021-07-13 15:41:16 +02:00
parent 531c2b7c04
commit 5a1ed96077
No known key found for this signature in database
GPG key ID: 4F5721B3D0E3921D

View file

@ -56,6 +56,10 @@ class RawTransactionsTest(BitcoinTestFramework):
["-txindex"],
["-txindex"],
]
# whitelist all 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):