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 Batch Method for Reading Validator Proposing Histories #8378

Merged
merged 8 commits into from
Feb 2, 2021

Conversation

rauljordan
Copy link
Contributor

This PR adds a better batch method to retrieve validator proposing histories when exporting slashing protection data. This makes lookups a lot faster by simply looping through keys in a bolt db bucket instead of performing isolated db queries for every single slot in the current weak subjectivity period.

@rauljordan rauljordan requested a review from a team as a code owner February 2, 2021 04:25
@prylabs-bulldozer prylabs-bulldozer bot merged commit caac08d into develop Feb 2, 2021
@delete-merged-branch delete-merged-branch bot deleted the batch-read-prop-history branch February 2, 2021 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High High priority item
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants