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 gap estimate to missing block log #10481

Merged
merged 1 commit into from
Mar 15, 2022
Merged

Conversation

psteckler
Copy link
Member

In missing_blocks_auditor, add an estimate of the gap size when there's a missing block.

The gap estimate is the height of the unparented block, minus the maximum block height less than that height, minus 1.

It's an estimate, because we don't know there's a chain between the unparented block and that block of maximum height.

Tested with a gappy archive db.

@psteckler psteckler added the ci-build-me Add this label to trigger a circle+buildkite build for this branch label Mar 14, 2022
@psteckler psteckler merged commit 78749ba into compatible Mar 15, 2022
@psteckler psteckler deleted the feature/missing-blocks-gap branch March 15, 2022 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-build-me Add this label to trigger a circle+buildkite build for this branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants