mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-23 11:21:20 +00:00
persistent_peers fix
This commit is contained in:
parent
426938e2b4
commit
5cb7e151fb
@ -2,7 +2,6 @@
|
||||
#genesis_file: "<undefined>"
|
||||
app_options_file: "app_options_files/public_testnet"
|
||||
seeds: ""
|
||||
persistent_peers: ""
|
||||
testnet_name: testnet1
|
||||
validators: true
|
||||
|
||||
|
@ -87,8 +87,6 @@ seeds = "{{ seeds | default() }}"
|
||||
|
||||
# Comma separated list of nodes to keep persistent connections to
|
||||
{% set comma = joiner(",") %}persistent_peers = "{% for host in ((groups[testnet_name]|default([]))+(groups['tag_Environment_'~(testnet_name|regex_replace('-','_'))]|default([])))|difference(inventory_hostname) %}{{ comma() }}{{hostvars[host]["nodeid"]}}@{{hostvars[host]["inventory_hostname"]}}:46656{% endfor %}"
|
||||
{% else %}
|
||||
persistent_peers = "{{ persistent_peers | default() }}"
|
||||
|
||||
# Path to address book
|
||||
addr_book_file = "config/addrbook.json"
|
||||
|
Loading…
x
Reference in New Issue
Block a user