Skip to content

Commit

Permalink
test: whitelist rpc_rawtransaction peers to speed up tests
Browse files Browse the repository at this point in the history
in my testing from 45-55 seconds to 15.
  • Loading branch information
jonatack authored and janus committed Nov 3, 2021
1 parent 2fb3d73 commit 68ad709
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/functional/rpc_rawtransaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ def set_test_params(self):
["-txindex"],
["-txindex"],
]
# whitelist all peers to speed up tx relay / mempool sync
for args in self.extra_args:
args.append("[email protected]")

self.supports_cli = False

def skip_test_if_missing_module(self):
Expand Down

0 comments on commit 68ad709

Please sign in to comment.