Skip to content

Commit

Permalink
Merge pull request #2347 from Agoric/mfig-testnet-peers
Browse files Browse the repository at this point in the history
fix: increase testnet limit to allow more than 40 peers
  • Loading branch information
michaelfig authored Feb 5, 2021
2 parents 0f02d52 + b72804f commit 6b7ee0f
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@
option: addr_book_strict
value: "false"

# This limit is 40 by default, but that turns out to be too small
# for a trivial testnet (no sentry nodes) with > 40 validators.
- name: Set p2p.max_num_inbound_peers=200
ini_file:
path: "/home/{{ service }}/.{{ service }}/config/config.toml"
section: p2p
option: max_num_inbound_peers
value: 200

- name: Set tx_index.index_all_keys=true
ini_file:
path: "/home/{{ service }}/.{{ service }}/config/config.toml"
Expand Down

0 comments on commit 6b7ee0f

Please sign in to comment.