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

[burnchain-download] download burnchain blocks in parallel to processing sortitions #2944

Closed
jcnelson opened this issue Nov 20, 2021 · 2 comments
Assignees
Labels

Comments

@jcnelson
Copy link
Member

Right now, the neon run loop downloads all of a reward cycle's burnchain blocks before it begins processing any of their sortitions. It might be possible to download burnchain blocks in parallel to processing sortiitons. We'd need to refactor the main loop in RunLoop::start() so that we only invoke the PoX sync watchdog once the reward cycle has been downloaded, but we could in theory call burnchain.sync() with one block at a time before attempting to process any stacks blocks. Will need to test the feasibility of this.

@jcnelson
Copy link
Member Author

Fixed in #2989

@blockstack-devops
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@stacks-network stacks-network locked as resolved and limited conversation to collaborators Nov 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants