Skip to content

Commit 5a1ed96

Browse files
committed
test: whitelist rpc_rawtransaction peers to speed up tests
in my testing from 45-55 seconds to 15.
1 parent 531c2b7 commit 5a1ed96

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/functional/rpc_rawtransaction.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ def set_test_params(self):
5656
["-txindex"],
5757
["-txindex"],
5858
]
59+
# whitelist all peers to speed up tx relay / mempool sync
60+
for args in self.extra_args:
61+
args.append("[email protected]")
62+
5963
self.supports_cli = False
6064

6165
def skip_test_if_missing_module(self):

0 commit comments

Comments
 (0)