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

Implement warp syncing for the full node #1538

Merged
merged 2 commits into from
Jan 2, 2024

Conversation

tomaka
Copy link
Contributor

@tomaka tomaka commented Jan 2, 2024

Close #1483
Close #131

This PR finishes implementing warp syncing for the full node.
The full node now starts by performing a warp sync. Once finished, it immediately starts syncing new blocks. If the database doesn't contain enough information to sync new blocks, a call proof is downloaded from the network.
In parallel of syncing new blocks, the missing storage items of new blocks are downloaded.

There seems to be quite a few bugs at the moment, but I'm going to merge this PR anyway in order to unlock further changes such as removing the optimistic syncing.

@tomaka tomaka added this pull request to the merge queue Jan 2, 2024
Merged via the queue into smol-dot:main with commit c05c4c3 Jan 2, 2024
22 checks passed
@tomaka tomaka deleted the warp-sync-full-node branch January 2, 2024 11:28
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.

Add a checkpoint warp sync system to the full node
1 participant