Jakub Sokołowski 773c384dcc
ugprade from 1.10.21 to 1.10.23
This includes a fix for data corruption caused by 1.10.22 and requires
the node to be re-synced from the point when it was upgraded to 1.10.22.

This can be achieved using the `debug_setHead` RPC call or `debug.setHead()`
function in the JS console, given the block before the upgrade.

https://github.com/ethereum/go-ethereum/releases/tag/v1.10.23

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-24 13:39:54 +02:00
2022-08-24 13:39:54 +02:00
2019-04-26 11:29:00 +02:00
2019-04-26 15:31:12 +02:00

Description

This role configures a geth(go-ethereum) container.

The image used by default is ethereum/client-go.

Configuration

The only mandaotry settings is the account password, which can be set to an empty string:

geth_account_password: 'my-secret-password'

Other important settings are:

geth_cont_name: 'geth-mainnet'
geth_network_name: 'mainnet'
geth_sync_mode: 'full'
geth_log_level_name: 'info'
geth_consul_extra_tags: ['mytag']

By default this role creates a new account. If you want to control the account used by the geth process you can use:

geth_account_addr: 0x1j98dsa087fh09as8d7fhsa98dhfas9s0dasjd0d
geth_account_pass: my-secret-account-pass
geth_account_json: '{"account":"json_data"}'

By default we create a Consul service definition, disable it using:

geth_consul_enabled: false

For the rest see the defaults/main.yml config file.

Known Issues

  • Currently only 3 networks are supported: mainnet, ropsten, goerli, and yolov1.
  • Setting --cache values higher than 1/3rd of available memory will cause trouble syncing.
Description
Ansible role for a go-ethereum container in Status infra
Readme MIT
Languages
Jinja 100%