add maxpeers setting

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-05-07 10:53:21 +02:00
parent a72680e561
commit a27322f54e
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 3 additions and 0 deletions

View File

@ -32,6 +32,8 @@ geth_aliases:
# Sync mode: full, fast, light # Sync mode: full, fast, light
geth_sync_mode: 'light' geth_sync_mode: 'light'
# Maximum number of untrusted peers that can connect
geth_max_peers: 25
# Maximum percentage of time allowed for serving LES requests (0-90) # Maximum percentage of time allowed for serving LES requests (0-90)
geth_light_serv: 90 geth_light_serv: 90
# Maximum number of LES client peers (default: 100) # Maximum number of LES client peers (default: 100)

View File

@ -34,6 +34,7 @@
{% endif %} {% endif %}
--verbosity={{ geth_log_level_id }} --verbosity={{ geth_log_level_id }}
--cache={{ geth_cache }} --cache={{ geth_cache }}
--maxpeers={{ geth_max_peers }}
--port={{ geth_port }} --port={{ geth_port }}
--nat=extip:{{ geth_public_addr }} --nat=extip:{{ geth_public_addr }}
--unlock={{ geth_account_addr }} --unlock={{ geth_account_addr }}