You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
633 B

  1. # This is a TOML config file.
  2. # For more information, see https://github.com/toml-lang/toml
  3. proxy_app = "tcp://127.0.0.1:46658"
  4. moniker = "{{inventory_hostname}}"
  5. fast_sync = true
  6. db_backend = "leveldb"
  7. log_level = "debug"
  8. [rpc]
  9. laddr = "tcp://0.0.0.0:46657"
  10. [p2p]
  11. laddr = "tcp://0.0.0.0:46656"
  12. {% if validators == true %}
  13. {% set comma = joiner(",") %}seeds = "{% for host in ((groups[testnet_name]|default([]))+(groups['tag_Environment_'~testnet_name]|default([])))|difference(inventory_hostname) %}{{ comma() }}{{hostvars[host]["inventory_hostname"]}}:46656{% endfor %}"
  14. {% else %}
  15. seeds = "{{ seeds | default() }}"
  16. {% endif %}