Skip to content

Commit

Permalink
Add -whitelist to all nodes in smartfees.py (#3273)
Browse files Browse the repository at this point in the history
This speeds up mempool synchronization a lot due to trickling being forced.
This will later conflict with bitcoin#16493 and bitcoin#16535, but this can
easily be resolved (it does the same).
  • Loading branch information
codablock authored and UdjinM6 committed Jan 4, 2020
1 parent c76552b commit 88da298
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/smartfees.py
Expand Up @@ -151,8 +151,8 @@ def setup_network(self):
which we will use to generate our transactions.
"""
self.add_nodes(3, extra_args=[["-maxorphantxsize=1000", "-whitelist=127.0.0.1"],
["-blockmaxsize=17000", "-maxorphantxsize=1000"],
["-blockmaxsize=8000", "-maxorphantxsize=1000"]])
["-blockmaxsize=17000", "-maxorphantxsize=1000", "-whitelist=127.0.0.1"],
["-blockmaxsize=8000", "-maxorphantxsize=1000", "-whitelist=127.0.0.1"]])
# Use node0 to mine blocks for input splitting
# Node1 mines small blocks but that are bigger than the expected transaction rate.
# NOTE: the CreateNewBlock code starts counting block size at 1,000 bytes,
Expand Down

0 comments on commit 88da298

Please sign in to comment.