configure Geth Mainnet fast sync node

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-11-24 16:14:15 +01:00
parent dfa0f20bdc
commit 8441dafbbf
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
3 changed files with 34 additions and 3 deletions

View File

@ -8,7 +8,9 @@
msg: 'Your Ansible version is lower than 2.8. Upgrade it.'
- name: Configure geth nodes
hosts: nimbus-geth-goerli
hosts:
- nimbus-geth-goerli
- nimbus-geth-mainnet
roles:
- { role: swap-file, tags: swap-file }
- { role: infra-role-geth, tags: infra-role-geth }

View File

@ -5,10 +5,10 @@
swap_file_size_mb: 4096
# Geth node
geth_network_name: 'goerli'
geth_network_name: 'mainnet'
geth_cont_name: 'geth-{{ geth_network_name }}'
geth_extra_alias: '{{ geth_cont_name }}'
geth_sync_mode: 'full'
geth_sync_mode: 'fast'
geth_log_level_name: info
geth_websocket_enabled: true
# Geth auth

View File

@ -0,0 +1,29 @@
---
# This node is used as replacement for Infura for end-to-end tests.
# Syncing can use a lot of mamory
swap_file_size_mb: 4096
# Geth node
geth_network_name: 'mainnet'
geth_cont_name: 'geth-{{ geth_network_name }}'
geth_extra_alias: '{{ geth_cont_name }}'
geth_sync_mode: 'full'
geth_log_level_name: info
geth_websocket_enabled: true
# Geth auth
geth_account_pass: '{{lookup("passwordstore", "service/Nimbus-Geth/password")}}'
# Memory settings
geth_cont_mem_ratio: 0.7
# Geth metrics
geth_source_cont_name: '{{ geth_cont_name }}'
geth_expo_cont_name: '{{ geth_cont_name }}-metrics'
geth_expo_consul_id: '{{ geth_expo_cont_name }}'
# Ports
geth_port: 30303
geth_rpc_port: 8545
geth_websocket_port: 8546
geth_expo_cont_port: 9200