test: whitelist rpc_rawtransaction peers to speed up tests

in my testing from 45-55 seconds to 15.
pull/22447/head
Jon Atack 3 years ago
parent 531c2b7c04
commit 5a1ed96077
No known key found for this signature in database
GPG Key ID: 4F5721B3D0E3921D

@ -56,6 +56,10 @@ class RawTransactionsTest(BitcoinTestFramework):
["-txindex"], ["-txindex"],
["-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 self.supports_cli = False
def skip_test_if_missing_module(self): def skip_test_if_missing_module(self):

Loading…
Cancel
Save