Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track liveness of validator nodes/entities #860

Open
csillag opened this issue Dec 22, 2024 · 1 comment · May be fixed by #800
Open

Track liveness of validator nodes/entities #860

csillag opened this issue Dec 22, 2024 · 1 comment · May be fixed by #800
Assignees

Comments

@csillag
Copy link
Contributor

csillag commented Dec 22, 2024

First, a non-coding task: Figure out how liveness is determined/queried.

Then we'll add tracking of liveness (including history!) in our DB.


The validator pages on the Explorer mocks include a validator 'uptime' and a 'participation rate' which refer to the same metric. Add that metric to the Validator object.

Currently, we define this metric as (# of blocks signed/proposed by a validator over prior 24hrs / # total blocks produced over prior 24hrs). The length of the time frame is still open to debate, though it'd be preferable to use the same time frame that etherscan/oasisscan use.

Once #646 is merged, the consensus analyzer will store the block signer/proposer data in the db. We'll need to check whether directly querying the blocks table is performant enough, otherwise we may need to preprocess the signer/proposer info in a materialized view or something.

@csillag csillag mentioned this issue Dec 22, 2024
1 task
@ptrus
Copy link
Member

ptrus commented Dec 22, 2024

The remaining part will be implemented in: #800

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants