test: whitelist rpc_rawtransaction peers to speed up tests
in my testing from 45-55 seconds to 15.
This commit is contained in:
1 file changed
+4
@@ -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):
|
||||||
|
|||||||
Reference in new issue
Block a user