Summary: Add metric on staking dashboard for epoch(s) passed since the last election.
Background: As the harmony network becomes more decentralized, smaller validators will be going in and out of election frequently. As a result, we propose adding a metric to the dashboard to represent the number of epochs that have passed since the last election.
Motivation: This metric can be used to measure the solvency of a validator instead of having to infer this metric from the bar chart.
Specification: Within the performance section of the staking dashboard, add “Epoch(s) since last Election.” Below are the conditions for this metric:
If the validator is elected or has never been elected, the metric will not be present on the dashboard.
If the validator has not been elected for more than 99 consecutive epochs the following metric will be shown:
If the validator has not been elected for less than or equal 99, X will equal the number of epoch(s) since the last election.
Can we edit this proposal to also display CURRENT EPOCH at the top of the validator/staking dashboard? Since it pertains to displaying epoch information. To the left of “next epoch” we could add “Current Epoch: 791”, for example
Currently it just says “Next Epoch xxxx minutes”, which isn’t very useful imo. Actually, can we change the “xxxx minutes” to “xx hours, xx minutes” while we’re at it?