Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Don't attempt to download checkpoint headers if the number of headers is negative #1158

Merged
merged 2 commits into from
Mar 25, 2019

Conversation

ajsutton
Copy link
Contributor

PR description

Don't attempt to download checkpoint headers if the number of headers is negative.

This only happens when there are multiple chain downloads in progress so the common ancestor is above the last header we imported, but safety-first... The issue of having two concurrent chain downloads running is being investigated separately.

… required is below zero.

This only happens when there are multiple chain downloads in progress so the common ancestor is above the last header we imported, but safety-first...
@ajsutton ajsutton merged commit 95e7f65 into PegaSysEng:master Mar 25, 2019
@ajsutton ajsutton deleted the checkpoint-header-exception branch March 25, 2019 23:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants