add geth_discovery_enabled flag
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
c3df0ac68c
commit
0eed3daea9
|
@ -50,6 +50,7 @@ geth_max_pend_peers: 30
|
|||
# Maximum percentage of time allowed for serving LES requests (0-90)
|
||||
geth_light_serv: 90
|
||||
# Peer discovery protocol
|
||||
geth_discovery_enabled: true
|
||||
geth_v5disc_enabled: true
|
||||
# List of trusted peers to connect to
|
||||
geth_trusted_peers: []
|
||||
|
|
|
@ -24,6 +24,9 @@
|
|||
{% if geth_network_name != "mainnet" %}
|
||||
--{{ geth_network_name }}
|
||||
{% endif %}
|
||||
{% if not geth_discovery_enabled %}
|
||||
--nodiscover
|
||||
{% endif %}
|
||||
{% if geth_v5disc_enabled %}
|
||||
--v5disc
|
||||
{% endif %}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
- name: Create a list of trusted peers
|
||||
copy:
|
||||
content: '{{ geth_trusted_peers | to_nice_json }}'
|
||||
path: '{{ geth_trusted_peers_file }}'
|
||||
dest: '{{ geth_trusted_peers_file }}'
|
||||
owner: dockremap
|
||||
group: docker
|
||||
mode: 0600
|
||||
|
|
Loading…
Reference in New Issue