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

Chain Sync Client: pause when headers run away from ledger tip #573

Closed
edsko opened this issue May 28, 2019 · 1 comment
Closed

Chain Sync Client: pause when headers run away from ledger tip #573

edsko opened this issue May 28, 2019 · 1 comment
Assignees
Labels
consensus issues related to ouroboros-consensus

Comments

@edsko
Copy link
Contributor

edsko commented May 28, 2019

When the chain sync client gets too far ahead of the block download logic, it will eventually get to a position where it is unable to validate more headers. Currently it throws a HeaderTooFarFromTip exception when this happens, disconnecting from the remote node. However, that is not correct: we should instead pause, wait for the ledger to catch up, and then continue.

@edsko
Copy link
Contributor Author

edsko commented May 30, 2019

This will be closed in #585.

@edsko edsko closed this as completed May 30, 2019
@mrBliss mrBliss added the consensus issues related to ouroboros-consensus label Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consensus issues related to ouroboros-consensus
Projects
None yet
Development

No branches or pull requests

2 participants