Merge pull request #30 from ConsenSys/static-nodes

adding support for static nodes
pull/31/head 0.3.3
Joshua Fernandes 3 years ago committed by GitHub
commit 13b0d7db75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      README.md
  2. 1
      defaults/main.yml
  3. 5
      templates/config.toml.j2

@ -77,6 +77,7 @@ All variables which can be overridden are stored in [defaults/main.yml](defaults
| `besu_metrics_host` | 0.0.0.0 | Specifies the host on which Prometheus accesses Besu metrics. The metrics server respects the `besu_whitelist` option |
| `besu_metrics_port` | 9545 | Specifies the port on which Prometheus accesses Besu metrics |
| `besu_bootnodes` | [] | List of comma-separated enode URLs for P2P discovery bootstrap. When connecting to MainNet or public testnets, the default is a predefined list of enode URLs |
| `besu_static_nodes_file` | [] | Path to the [static nodes file](https://besu.hyperledger.org/en/stable/Reference/CLI/CLI-Syntax/#static-nodes-file) |
| `besu_host_whitelist` | `["*"]` | Comma-separated list of hostnames to allow access to the JSON-RPC API. By default, access from localhost and 127.0.0.1 is accepted. |
| `besu_permissions_accounts_config_file` | ___unset___ | Path to the [local accounts permissioning file](http://besu.hyperledger.org/en/stable/HowTo/Limit-Access/Local-Permissioning/#permissions-configuration-file) |
| `besu_permissions_nodes_config_file` | ___unset___ | Path to the [local nodes permissioning file](http://besu.hyperledger.org/en/stable/HowTo/Limit-Access/Local-Permissioning/#permissions-configuration-file) |

@ -64,6 +64,7 @@ besu_cmdline_args: []
besu_env_opts: []
besu_permissions_nodes_contract_version: 2
besu_xdns_enabled: "false"
besu_static_nodes_file=""
# privacy
besu_privacy_enabled: "false"

@ -106,6 +106,11 @@ permissions-nodes-contract-version={{besu_permissions_nodes_contract_version}}
bootnodes=[{{besu_bootnodes|map('to_json')|join(',')}}]
{% endif %}
{% if besu_static_nodes_file != "" %}
# static-nodes
static_nodes_file="{{ besu_static_nodes_file }}"
{% endif %}
{% if besu_privacy_enabled|bool == True %}
# Orion
privacy-enabled=true

Loading…
Cancel
Save