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

Add jailing info to main page tally #10

Open
LexaMichaelides opened this issue Jan 23, 2025 · 1 comment
Open

Add jailing info to main page tally #10

LexaMichaelides opened this issue Jan 23, 2025 · 1 comment

Comments

@LexaMichaelides
Copy link
Member

some way to show which validators have been jailed that period (since we have bonus points for not getting jailed).

I don't think we have live monitoring for this so we would need to build something.

@tripledoublev
Copy link
Member

tripledoublev commented Jan 27, 2025

I looked at ping-pub's explorer to see how we could obtain jailing info.
L6 in src/types/staking.ts includes a jailed key which suggests the explorer can expose jailing information. However, the /validators endpoint does not currently include this data.

Alternatively, I found this python script by Dante that seems to be doing exactly what we need. The script saves jailed validator records within a specified time window.

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

No branches or pull requests

2 participants