-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Labels
A-binariesArea: Related to binaries.Area: Related to binaries.A-p2pArea: Related to P2P.Area: Related to P2P.A-storageArea: Related to storage.Area: Related to storage.C-proposalCategory: A proposal of some kind, and a request for comments.Category: A proposal of some kind, and a request for comments.E-hardExperience: Hard difficulty. Experience needed to fix: A lot.Experience: Hard difficulty. Experience needed to fix: A lot.
Description
What
We could improve fast sync with a better block downloader & filling the DB in stages.
Why
More speed 🚀
Where
P2P block downloader, blockchain database, cuprated.
How
- Block downloader: allow the user to specify if you want the blocks returned in order (for fast sync we don't need them in order)
- Database: Allow writing blocks out of order, some data needs previous blocks so once fast sync is done we need to fill in the parts of the DB that we couldn't fill in while syncing
- Cuprated: For fast sync write blocks to DB in any order, when done fast syncing call the function on the DB that fills in the missing data.
Metadata
Metadata
Assignees
Labels
A-binariesArea: Related to binaries.Area: Related to binaries.A-p2pArea: Related to P2P.Area: Related to P2P.A-storageArea: Related to storage.Area: Related to storage.C-proposalCategory: A proposal of some kind, and a request for comments.Category: A proposal of some kind, and a request for comments.E-hardExperience: Hard difficulty. Experience needed to fix: A lot.Experience: Hard difficulty. Experience needed to fix: A lot.