Add networks

Add support for Ethereum Classic, mordor, and kotti.

Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
pull/25/head
Danno Ferrin 4 years ago
parent ba5538d91c
commit a8feac34bd
  1. 2
      README.md
  2. 2
      templates/config.toml.j2

@ -52,7 +52,7 @@ All variables which can be overridden are stored in [defaults/main.yml](defaults
| `besu_host_ip` | "" | The host IP that Besu uses for the P2P network. This specifies the host on which P2P listens |
| `besu_default_ip` | "{{ default(ansible_host) \| default('127.0.0.1') }}" | The fallback default for `besu_host_ip` |
| `besu_max_peers` | ___unset___ | The maximum number of P2P connections you can establish |
| `besu_network` | mainnet | The network that this node will join. Other values are 'ropsten', 'rinkeby', 'goerli', 'dev' and 'custom' |
| `besu_network` | mainnet | The network that this node will join. Other values are 'ropsten', 'rinkeby', 'goerli', 'classic', 'mordor', 'kotti', 'dev' and 'custom' |
| `besu_genesis_path` | ___unset___ | The path to the genesis file, only valid when `besu_network` is `custom` |
| `besu_sync_mode` | FAST | Specifies the synchronization mode. Other values are 'FULL' |
| `besu_log_level` | INFO | The log level to use. Other log levels are 'OFF', 'FATAL', 'WARN', 'INFO', 'DEBUG', 'TRACE', 'ALL' |

@ -7,7 +7,7 @@ logging="{{besu_log_level}}"
node-private-key-file="{{besu_node_private_key_file}}"
{% endif %}
{% if besu_network.lower() in ["mainnet", "rinkeby", "goerli", "ropsten", "dev"] %}
{% if besu_network.lower() in ["mainnet", "rinkeby", "goerli", "ropsten", "classic", "mordor", "kotti", "dev"] %}
network="{{besu_network}}"
{% else %}
genesis-file="{{ besu_genesis_path }}"

Loading…
Cancel
Save