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

Initial implementation of snap sync #2809

Merged
merged 1 commit into from
May 30, 2024
Merged

Initial implementation of snap sync #2809

merged 1 commit into from
May 30, 2024

Conversation

nazar-pc
Copy link
Member

This is a squashed version of #2763, most of the credits go to @shamil-gadelshin

This implements new sync mechanism that is described in the spec.

There are still usability improvements to be done and it only works from genesis and not later, but it does work and it is a big usability improvement for farmers.

Can be tested with --state-pruning 140000 --blocks-pruning 256 --sync snap CLI options.

Resolves #2507, closes #2763

Code contributor checklist:

@nazar-pc nazar-pc enabled auto-merge May 30, 2024 13:21
@nazar-pc nazar-pc added this pull request to the merge queue May 30, 2024
Merged via the queue into main with commit e99f77b May 30, 2024
11 checks passed
@nazar-pc nazar-pc deleted the snap-sync branch May 30, 2024 14:13
@nazar-pc nazar-pc mentioned this pull request Jun 3, 2024
1 task
@nazar-pc nazar-pc added the need to audit This change needs to be audited label Jun 7, 2024
@nazar-pc nazar-pc mentioned this pull request Jul 17, 2024
1 task
@vanhauser-thc vanhauser-thc added audited This change was audited and removed need to audit This change needs to be audited labels Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audited This change was audited
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Faster way to sync non-archival nodes
3 participants