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

[FEATURE REQUEST] Calculate Leader Logs for Any Previous Epoch #51

Closed
rayanebel opened this issue May 30, 2024 · 2 comments
Closed

[FEATURE REQUEST] Calculate Leader Logs for Any Previous Epoch #51

rayanebel opened this issue May 30, 2024 · 2 comments
Assignees

Comments

@rayanebel
Copy link

rayanebel commented May 30, 2024

Describe the solution you'd like

Hi!

In the latest release of cncli, we can use the --nonce flag to provide the epoch nonce and avoid waiting for the database to sync. I wonder if it is possible to adapt the leader logs calculation logic to calculate the slot schedule for any epoch in the past ?

Currently, if I pass the nonce of an older epoch, for example: 485, and use the command cncli leaderlog, I always get the slot schedule for the current epoch.

This feature would be really helpful if we want to perform reporting and check the slots of an older epoch. Regarding the stake-snapshot, we can now use the --active-stake and --pool-stake flags and retrieve the corresponding values by using external APIs like BlockFrost or Koios.

Thanks!

@AndrewWestberg AndrewWestberg self-assigned this May 30, 2024
@AndrewWestberg
Copy link
Collaborator

Seems like something that could be added.

@AndrewWestberg
Copy link
Collaborator

Closed by -> #52
Released in v6.2.0

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