diff options
author | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2023-03-05 01:45:23 +0100 |
---|---|---|
committer | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2023-03-05 01:46:57 +0100 |
commit | dd78e3fa439d57e148a2a5e312021da962c4a394 (patch) | |
tree | 1ec7e0a477884ef20c80ae4ac9532e35ea5d6f38 /test/functional/rpc_psbt.py | |
parent | e194e3e93dd0665181bafeb162bf4c9f3621d6f1 (diff) | |
download | bitcoin-dd78e3fa439d57e148a2a5e312021da962c4a394.tar.xz |
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
Diffstat (limited to 'test/functional/rpc_psbt.py')
-rwxr-xr-x | test/functional/rpc_psbt.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/rpc_psbt.py b/test/functional/rpc_psbt.py index 58a80e37a2..dff2c80d92 100755 --- a/test/functional/rpc_psbt.py +++ b/test/functional/rpc_psbt.py @@ -59,6 +59,9 @@ class PSBTTest(BitcoinTestFramework): ["-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 def skip_test_if_missing_module(self): |