Checking A Node

1. Check Node Running Version

To check the node version that is running, run the command below:
1
./hmy utility metadata
Copied!

2. Check if Node is Syncing

1. To check if your node is syncing properly, run the command below and check that the block height of the shard(s).
1
./hmy blockchain latest-headers
Copied!
Harmony relies on a beacon shard chain (aka shard 0) to facilitate cross shard transaction. For the node to be fully working both your non shard 0 and shard 0 needs to be fully synced.
2. Before continuing, check if your node is fully synced using an external endpoint. Replace parameter --node with the enpoint you want to compare with. Check the examples below for shard 0 on mainnet and testnet. Just change the edpoints to do the comparison with other shards.
Mainnet
Testnet
1
./hmy --node="https://api.s0.t.hmny.io" blockchain latest-headers
Copied!
1
./hmy --node="https://api.s0.b.hmny.io" blockchain latest-headers
Copied!
For a complete reference of all available enpoints on both mainnet and testnet, please click here. Alternatively you can use the Block Explorers for a visual comparison.
3. Verify if blocks shown on steps 1 and 2 are closer or equal to each other. If so, your node should have caught up!
Last modified 1yr ago