tenderduty icon indicating copy to clipboard operation
tenderduty copied to clipboard

Add check on latest_block_time

Open george-aj opened this issue 2 years ago • 1 comments

Problem A node can be catching_up:false yet when /status? is inspected the latest_block_time can be behind the current time.

Symptoms This causes issues when trying to monitor missed blocks, since the node doesn't get updated, neither does the missed block counts, but yet the cosmos/slashing/v1beta1/signing_infos query will return a response as if the node was caught up.

Solution Check that the latest_block_time is within the stalled_minutes amount and if not don't use it as an RPC node and report it as down/not synched.

george-aj avatar Feb 07 '23 19:02 george-aj

This might pertain to this issue as well:

https://github.com/blockpane/tenderduty/issues/45

dylanschultzie avatar Feb 07 '23 19:02 dylanschultzie