Merge pull request #626 from filecoin-project/feat/chain-sync-manager

Implement chain sync manager
This commit is contained in:
Łukasz Magiera
2019-11-19 22:35:19 +01:00
committed by GitHub
13 changed files with 711 additions and 70 deletions
+5 -1
View File
@@ -253,7 +253,7 @@ type ReplayResults struct {
Error string
}
type SyncState struct {
type ActiveSync struct {
Base *types.TipSet
Target *types.TipSet
@@ -261,6 +261,10 @@ type SyncState struct {
Height uint64
}
type SyncState struct {
ActiveSyncs []ActiveSync
}
type SyncStateStage int
const (