added command to view sync height

This commit is contained in:
_den 2022-03-12 16:39:38 +10:00
parent 958c7e61c9
commit 8a5a6608f3
4 changed files with 19 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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