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: Ban historical slots without a block #22

Merged
merged 5 commits into from
Aug 26, 2022
Merged

Conversation

samcm
Copy link
Member

@samcm samcm commented Aug 26, 2022

Since we constantly try to backfill our store with historical blocks, the service will constantly try to download the last n slots on the epoch boundary, even if they don't have a block.

This change sets a limit on the amount of failures we can have per slot. Unfortunately we can't tell definitively tell if a failure was the result of a network issue, db issue, or if the block doesn't exist in the canonical finalized chain.

@samcm samcm merged commit 00aa4b3 into master Aug 26, 2022
@samcm samcm deleted the feat/ban-historical-slots branch August 26, 2022 04:54
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.

1 participant