nimbus.prater: , disable discovery for Erigon

It appears peer discovery can be detected by hetzner as an attempt at
network scanning:
https://github.com/ledgerwatch/erigon/issues/7234

Which can lead to the server being shut down.
For this reason I'm lowering max peers and disabling discovery.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-05-29 19:31:09 +02:00
parent 3f3d763990
commit a8741b7019
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
2 changed files with 4 additions and 1 deletions

View File

@ -31,8 +31,11 @@ erigon_service_name: 'erigon-{{ erigon_network_name }}-{{ "%02d"|format(idx|int+
erigon_prune: 'hrtc' # TODO: Possibly wrong, verify.
erigon_log_level: 'info'
erigon_cont_mem_ratio: 0.1
erigon_max_peers: 20
erigon_miner_enabled: true
erigon_mining_private_key: '{{lookup("bitwarden", "nimbus/wallet/testnets", field="private-key")}}'
# Hetzner detects discovery as network scanning.
erigon_discovery_enabled: false
# Ports
erigon_port: '{{ 40303 + (idx|int) + 1 }}'
erigon_metrics_enabled: true

View File

@ -125,7 +125,7 @@
- name: infra-role-erigon
src: git@github.com:status-im/infra-role-erigon.git
version: 44b4b0629e714de06ae5b36b2235c538d11c0401
version: c4057d3cd3f1211db63fc87ebbfcc8cac62b26e5
scm: git
- name: smart-metrics