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

feat: Add command to get pool-stake distribution from mark, set, or g… #67

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

AndrewWestberg
Copy link
Collaborator

…o snapshots

@AndrewWestberg AndrewWestberg merged commit 80ec0c9 into develop Oct 14, 2024
4 checks passed
@AndrewWestberg AndrewWestberg deleted the amw/pool_stake_snapshot branch October 14, 2024 19:33
@rphair
Copy link

rphair commented Oct 15, 2024

@AndrewWestberg next step, once this is field tested: add an option to leaderlog so it collects & works from these snapshots all in one command 🤩

@AndrewWestberg
Copy link
Collaborator Author

@AndrewWestberg next step, once this is field tested: add an option to leaderlog so it collects & works from these snapshots all in one command 🤩

That wasn't my intent, but it's a pretty good suggestion. I was so focused on the Amaru need, I didn't consider it.

The only downside I see is that this does the snapshot for every pool on the chain and thus takes a long time and relies on a ledger state dump. The cardano-cli command is much faster since it targets the exact pool data it needs.

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 this pull request may close these issues.

2 participants