Skip to content

Commit

Permalink
added command to view sync height
Browse files Browse the repository at this point in the history
  • Loading branch information
feshchenkod committed Mar 12, 2022
1 parent 958c7e6 commit 8a5a660
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bor/bor.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ docker-compose build
docker-compose up -d rabbitmq heimdalld heimdallr bor
```

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}/bor-http/`
* `currentBlock` - your node current height;
* `highestBlock` - network height.

## Upgrade
Periodically check for new versions. if there is a release, then you need to update the tag (`BOR_TAG`) in the environment file.
```bash
Expand Down
5 changes: 5 additions & 0 deletions bsc/bsc.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ docker-compose build
docker-compose up -d bsc
```

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}/bsc-http/`
* `currentBlock` - your node current height;
* `highestBlock` - network height.

## Upgrade
Periodically check for new versions. If there is a release, then you need to update the tag (`BSC_TAG`) in the environment file.
```bash
Expand Down
4 changes: 4 additions & 0 deletions geth/geth.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ Start node (If you do not use traefik, specify the compose file with the `-f doc
```bash
docker-compose up -d geth
```
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/`
* `currentBlock` - your node current height;
* `highestBlock` - network height.

## Upgrade
```bash
Expand Down
5 changes: 5 additions & 0 deletions nethermind/nethermind.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ Start node (If you do not use traefik, specify the compose file with the `-f doc
docker-compose up -d
```

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}/nm-http/`
* `currentBlock` - your node current height;
* `highestBlock` - network height.

## Upgrade
```bash
docker-compose pull
Expand Down

0 comments on commit 8a5a660

Please sign in to comment.