Versions in this module Expand all Collapse all v1 v1.0.0 Jul 13, 2019 Changes in this version + const MinorBlockBatchSize + const MinorBlockHeaderListLimit + const RootBlockBatchSize + const RootBlockHeaderListLimit + type Synchronizer interface + AddTask func(Task) error + Close func() error + IsSyncing func() bool + func NewSynchronizer(bc blockchain) Synchronizer + type Task interface + PeerID func() string + Priority func() *big.Int + Run func(blockchain) error + func NewMinorChainTask(p minorSyncerPeer, header *types.MinorBlockHeader) Task + func NewRootChainTask(p rootSyncerPeer, header *types.RootBlockHeader, ...) Task