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

Use header validation policy in DownloadHeaderSequenceTask #1172

Merged
merged 3 commits into from
Mar 27, 2019

Conversation

ajsutton
Copy link
Contributor

PR description

Fast sync should skip PoW validation for most headers but most headers are actually validated by DownloadHeaderSequenceTask which was always using the DETACHED_ONLY policy and thus never skipped validation. As a result, fast sync was doing far more work than it needed to.

@ajsutton ajsutton merged commit 5327459 into PegaSysEng:master Mar 27, 2019
@ajsutton ajsutton deleted the fix-header-validation branch March 27, 2019 20:58
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