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

[p2p] advance PoX reward cycle synchronization only after both an inventory and downloader state-machine pass #2474

Closed
jcnelson opened this issue Feb 25, 2021 · 1 comment
Assignees
Labels

Comments

@jcnelson
Copy link
Member

Right now, the PoX sync watchdog doesn't verify that the block downloader to enter a quiescent state before proceeding to download the next PoX reward cycle's burnchain blocks. This can cause the node to process sortitions without having processed the anchor block, even though it exists and is available on the network, thereby leading to needless short-lived PoX reorgs. To address this (in the absence of #1805), the node should at least wait until the downloader has finished trying to fetch blocks for a given reward cycle before deciding to move to the next reward cycle.

@jcnelson jcnelson self-assigned this Feb 25, 2021
@jcnelson jcnelson closed this as completed Mar 1, 2021
@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 17, 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