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

Sync fixes and append queue updates #1087

Merged

Conversation

gameofpointers
Copy link
Contributor

@dominant-strategies/core-dev

Commit explanations are in the git commit messages

eth/downloader/queue.go Outdated Show resolved Hide resolved
eth/handler.go Outdated Show resolved Hide resolved
@gameofpointers gameofpointers force-pushed the downloader-fix branch 2 times, most recently from fc99f5c to 42641cd Compare September 6, 2023 19:53
jdowning100
jdowning100 previously approved these changes Sep 6, 2023
…b done in Region/Prime

Region and Prime subscribes to the chain head feed and never consumes it in the worker,
it is solely meant to be consumed by the asyncPendingHeaderLoop
jdowning100
jdowning100 previously approved these changes Sep 6, 2023
core/core.go Outdated Show resolved Hide resolved
* Different retry threshold for the Prime, Region and Zone
* If the parent of the block is already in the chain, just appending the block
* Only adding to the hash priority list at the tip, this is done to save unbounded ram usage
* Downloader Queue was not working if we had two consecutive dom blocks
* doneCh in the sync was blocking the future downloads, this is fixed by increasing the channel size
* Changed the min peers from 1 to 3 for the sync
* Updated the forceSyncCycle to 60 seconds from 10 secs
@gameofpointers gameofpointers merged commit 2fc3b3a into dominant-strategies:main Sep 6, 2023
1 check passed
@gameofpointers gameofpointers temporarily deployed to quai-sandbox September 6, 2023 20:51 — with GitHub Actions Inactive
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.

3 participants