mirror of
https://github.com/tornadocash/rpc-nodes
synced 2024-02-02 14:53:56 +01:00
added command to view sync height
This commit is contained in:
parent
958c7e61c9
commit
8a5a6608f3
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user