Skip to content

Commit

Permalink
update geth mainnet info
Browse files Browse the repository at this point in the history
  • Loading branch information
xDen16bit committed Jun 16, 2023
1 parent 0dd656e commit c6b1a57
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions geth/geth.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ mv example.env .env

Start node (If you do not use traefik, specify the compose file with the `-f docker-compose.no-proxy.yml`):
```bash
docker-compose up -d geth
docker-compose up -d geth lighthouse-mainnet
```
To see the sync status run:
`curl -X POST --data '{"jsonrpc": "2.0", "id": 1, "method": "eth_syncing"}' -H 'Content-Type: application/json' -s https://${DOMAIN}/geth-http/`
Expand All @@ -22,7 +22,7 @@ To see the sync status run:
## Upgrade
```bash
docker-compose pull
docker-compose up -d geth
docker-compose up -d geth lighthouse-mainnet
```

### Prepare to The Merge
Expand All @@ -44,8 +44,8 @@ docker-compose up -d geth lighthouse-mainnet
## Pruning
Use it if the size is approaching 800 GB. At least 120 GB must be free for successful pruning.
```bash
docker-compose down
docker-compose stop geth
docker-compose up geth-pruning
docker-compose down
docker-compose up -d geth
docker-compose up -d geth lighthouse-mainnet
```

0 comments on commit c6b1a57

Please sign in to comment.