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

Refactor PoS downloader #3717

Merged
merged 40 commits into from
Mar 22, 2022
Merged

Refactor PoS downloader #3717

merged 40 commits into from
Mar 22, 2022

Conversation

yperbasis
Copy link
Member

@yperbasis yperbasis commented Mar 16, 2022

Main changes:

  1. There's a list of unfinished Beacon requests (RequestList in turbo/engineapi/request_list.go), whose status could be New or DataWasMissing (meaning sync is necessary)
  2. PoS downloading happens in parallel to beacon request processing in (hd *HeaderDownload) StartPoSDownloader.
  3. We can handle failures to download a PoS block (timeouts).

@yperbasis yperbasis changed the title [WIP] Refactor PoS downloader Refactor PoS downloader Mar 21, 2022
@yperbasis yperbasis marked this pull request as ready for review March 21, 2022 09:47
@yperbasis yperbasis merged commit 74a7d7c into devel Mar 22, 2022
@yperbasis yperbasis deleted the kiln_stuff_7 branch March 22, 2022 16:49
@VBulikov VBulikov mentioned this pull request Feb 5, 2025
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.

2 participants