rpc-nodes/geth/geth.md
2022-03-12 16:23:27 +10:00

764 B

Geth node

Requirements for Ethereum network

  • memory: 32Gb
  • disk: 1Tb SSD (require periodically prune state)

Installation

Set the domain name to be used in the .env file. You can also set a list of allowed IP addresses there and addresses to treat as local. Rename example.env to .env:

mv example.env .env

Start node (If you do not use traefik, specify the compose file with the -f docker-compose.no-proxy.yml):

docker-compose up -d geth

Upgrade

docker-compose pull
docker-compose up -d geth

Pruning

Use it if the size is approaching 800 GB. At least 120 GB must be free for successful pruning.

docker-compose down
docker-compose up geth-pruning
docker-compose down
docker-compose up -d geth