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 checkpoint between 160k and 225k #914

Merged
merged 1 commit into from
Dec 27, 2024

Conversation

nodech
Copy link
Contributor

@nodech nodech commented Dec 27, 2024

The way headers are requested for checkpoints is slightly different than normal - it does header requests in bulk between two checkpoints. Because the difference between 220k and 160k is 65k - it becomes bigger than general limit to the number of headers that can be requested: 51k.

This should resolve issue, as the gaps between them will become lower than 51k now.

Temporary solution for those who don't want to upgrade is to disable checkpoints until node reaches 175k blocks. (After 160k) Or upgrade to the release version with this PR.

Closes: #913
Closes: #909 (Even though it was resolved, probably the node got those 15k blocks eventually and slowly?)

@nodech nodech added the patch Release version label Dec 27, 2024
@coveralls
Copy link

coveralls commented Dec 27, 2024

Coverage Status

coverage: 71.263% (-0.002%) from 71.265%
when pulling f484c63 on nodech:add-mid-checkpoint
into 5c9eceb on handshake-org:master.

@nodech nodech force-pushed the add-mid-checkpoint branch from 39fc6cc to f484c63 Compare December 27, 2024 11:26
@nodech nodech merged commit 36899e2 into handshake-org:master Dec 27, 2024
6 checks passed
@nodech nodech deleted the add-mid-checkpoint branch December 27, 2024 11:27
nodech added a commit that referenced this pull request Dec 27, 2024
@nodech nodech mentioned this pull request Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Release version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Max Block Requests option new version stuck on headers
3 participants