mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-01 03:01:09 +02:00
test: speedup rpc_psbt.py by whitelisting peers (immediate tx relay)
master branch: 0m36.86s real 0m03.26s user 0m01.69s system 0m35.71s real 0m03.78s user 0m01.64s system 0m45.76s real 0m03.12s user 0m01.27s system PR branch: 0m13.04s real 0m02.66s user 0m00.93s system 0m14.08s real 0m02.81s user 0m00.82s system 0m14.05s real 0m02.50s user 0m00.93s system
This commit is contained in:
@ -59,6 +59,9 @@ class PSBTTest(BitcoinTestFramework):
|
|||||||
["-walletrbf=0", "-changetype=legacy"],
|
["-walletrbf=0", "-changetype=legacy"],
|
||||||
[]
|
[]
|
||||||
]
|
]
|
||||||
|
# whitelist 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