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

Pipeline chain download - fetch and import data #1207

Merged
merged 18 commits into from
Apr 4, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' of github.com:PegaSysEng/pantheon into pipeline…
…-download-fetch-data
  • Loading branch information
ajsutton committed Apr 4, 2019
commit 10a656082d767a0e0ee969f45871ef40f2133a33
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public Pipeline<?> createDownloadPipelineForSyncTarget(final SyncTarget target)
syncConfig,
protocolSchedule,
ethContext,
new FastSyncCheckpointFilter(pivotBlockHeader),
Optional.of(pivotBlockHeader),
metricsSystem),
this::shouldContinueDownloadingFromPeer,
ethContext.getScheduler(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ public boolean isOpen() {
return !closed.get() && !aborted.get();
}

@Override
public boolean isAborted() {
return aborted.get();
}

@Override
public boolean hasRemainingCapacity() {
return queue.remainingCapacity() > 0 && isOpen();
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.