aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpc_fundrawtransaction.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2019-11-01 17:38:19 -0400
committerJohn Newbery <john@johnnewbery.com>2019-11-06 14:56:29 -0500
commit9a8505299ba392acbab4647963113b0c29495f1d (patch)
treed7278dca91277097e9bd569494f4f7ffcb80ed7b /test/functional/rpc_fundrawtransaction.py
parent646b593bbd0db113c6e45ab92177b8f5251e8710 (diff)
downloadbitcoin-9a8505299ba392acbab4647963113b0c29495f1d.tar.xz
[tests] Use -whitelist in rpc_fundrawtransaction.py
Makes tx relay faster
Diffstat (limited to 'test/functional/rpc_fundrawtransaction.py')
-rwxr-xr-xtest/functional/rpc_fundrawtransaction.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/rpc_fundrawtransaction.py b/test/functional/rpc_fundrawtransaction.py
index e0421bb322..84f7ac6400 100755
--- a/test/functional/rpc_fundrawtransaction.py
+++ b/test/functional/rpc_fundrawtransaction.py
@@ -28,6 +28,9 @@ class RawTransactionsTest(BitcoinTestFramework):
def set_test_params(self):
self.num_nodes = 4
self.setup_clean_chain = True
+ # This test isn't testing tx relay. Set whitelist on the peers for
+ # instant tx relay.
+ self.extra_args = [['-whitelist=127.0.0.1']] * self.num_nodes
def skip_test_if_missing_module(self):
self.skip_if_no_wallet()