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

Query distance from next epoch #4094

Open
grarco opened this issue Nov 26, 2024 · 1 comment
Open

Query distance from next epoch #4094

grarco opened this issue Nov 26, 2024 · 1 comment
Labels

Comments

@grarco
Copy link
Collaborator

grarco commented Nov 26, 2024

It could be a nice addition to add a query to tell how far off are we from the next epoch (or possibly MASP epoch if requested). Ideally we should return an estimate of the number of blocks remaining before the next epoch.

@Fraccaman
Copy link
Member

Fraccaman commented Nov 26, 2024

I think we have this already, maybe its missing some info you are interested into

Last committed block height: 158525, time: 2024-11-26T15:14:03.460980620+00:00
Current epoch: 166.

First block height of this epoch 166: 157714.
Minimum number of blocks in an epoch: 900.
Minimum amount of time for an epoch: 7200 seconds.

Earliest height at which epoch 167 can begin is block 158614.```

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

No branches or pull requests

2 participants