mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 02:33:24 -03: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
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue