cryptonglab/poktbot

Node status notifications

lucky-luk3 opened this issue · 1 comments

Is your feature request related to a problem? Please describe.
It is a common problem that nodes suddenly go down and there is no way to check it quickly.
To know this information and take fast actions to resolve it affects directly to node rewards.

Describe the solution you'd like
I would like this bot to generate a notification when the bot is out of sync. This could be due to a network issue or a node shutdown.

Describe alternatives you've considered
In later phases, when the bot is running on the same server as the node, query the node directly.

Additional context
In poktscan there are implemented a query to request node information with some useful information like node height.

nymd commented

https://supply.research.pokt.network:8192/height can be used as an oracle; it is backed by a load balancer of 20 mainnet nodes.