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

[NC-2138] Download receipts during fast sync and import without processing transactions #701

Merged
merged 8 commits into from
Jan 30, 2019

Conversation

ajsutton
Copy link
Contributor

@ajsutton ajsutton commented Jan 30, 2019

PR description

Modify PipelinedImportChainSegmentTask to support pluggable block handling, both for downloading the additional block data and for importing. Fast sync then downloads both bodies and receipts for each header and during import skips transaction processing. Light validation is used for all blocks during fast sync (need to add in periodic full validation).

@ajsutton ajsutton added the work in progress Work on this pull request is ongoing label Jan 30, 2019
@ajsutton ajsutton removed the work in progress Work on this pull request is ongoing label Jan 30, 2019
Copy link
Contributor

@mbaxter mbaxter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@ajsutton ajsutton merged commit ccca0d6 into PegaSysEng:master Jan 30, 2019
@ajsutton ajsutton deleted the NC-2138-fast-import branch January 31, 2019 00:20
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