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

Enable faster sync #29

Open
wants to merge 1 commit into
base: master
from

Conversation

@antiochp
Copy link
Member

antiochp commented Oct 29, 2019

RFC proposal for enabling faster sync via "batched" subtrees of the output PMMR.

We have a way forward to verify subtrees of the output PMMR without necessarily having to wait to download the full output and kernel PMMRs. This lets us download subtrees of the output PMMR from multiple peers in parallel, verifying them as they arrive.
Plan is to eventually remove the existing bottleneck around the sync process where we are currently limited to waiting for a single monolithic txhashset.zip download from a single, potentially slow or unreliable peer.

Splitting this download across multiple peers and allowing these to happen in parallel will allow the whole sync process to be faster and more robust.

@antiochp antiochp marked this pull request as ready for review Oct 29, 2019
@antiochp

This comment has been minimized.

Copy link
Member Author

antiochp commented Oct 29, 2019

Moved from draft and into review.

@antiochp antiochp referenced this pull request Nov 4, 2019
2 of 2 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.