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

Remove optimistic syncing #1409

Closed
tomaka opened this issue Nov 25, 2023 · 0 comments · Fixed by #1539
Closed

Remove optimistic syncing #1409

tomaka opened this issue Nov 25, 2023 · 0 comments · Fixed by #1539

Comments

@tomaka
Copy link
Contributor

tomaka commented Nov 25, 2023

The optimistic syncing is vulnerable to long range attacks. It's simply not a good idea to start from 0 and go up the blocks, instead we should always start from the head of the chain and go down.

When it comes to the use case of building an archive node, we can download all the block headers from the head to 0, and then only start building the archive.

Blocked on #131

@tomaka tomaka added the blocked Progress on this issue requires something beyond our control label Nov 25, 2023
@tomaka tomaka removed the blocked Progress on this issue requires something beyond our control label Jan 2, 2024
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 a pull request may close this issue.

1 participant