mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-19 16:30:50 +02:00
test: whitelist rpc_rawtransaction peers to speed up tests
in my testing from 45-55 seconds to 15.
This commit is contained in:
parent
531c2b7c04
commit
5a1ed96077
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user