You are viewing a single comment's thread from:

RE: Hive Engine net work status API : Get the health of Hive-Engine nodes

in HiveDevslast year (edited)

You need to test if they are valid, this only checks response time not if they are currently valid and caught up. This is a big problem with Hive Engine nodes they frequently get behind and other issues, but will respond to pings without a problem. So this really only helps if all the nodes are functioning (which is almost never).

Sort:  

It's not only ping. I've already the getStatus() to have version, type of node, ...
But many users ask me to try some other commands to test every node.
Do you have some functions to test before all ? maybe getLastBlock() ? I can try to update for the next week end ;)

You need to check for divergence, round hash, and so on. I am not sure if beacon does this either (they have a similar hive engine test like their hive test).

Thank you so much for your answer.
I'll try to do the best for that !

There is a divergence script included with hive engine node install so you can review that for how it is done. There is also a round hash you can check across nodes.