Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReplacementStages ¶
func ReplacementStages(ctx context.Context, hd *headerdownload.HeaderDownload, bd *bodydownload.BodyDownload, headerReqSend func(context.Context, []*headerdownload.HeaderRequest), bodyReqSend func(context.Context, *bodydownload.BodyRequest) []byte, penalise func(context.Context, []byte), updateHead func(context.Context, uint64, common.Hash, *big.Int), wakeUpChan chan struct{}, timeout int, ) stagedsync.StageBuilders
func ReplacementUnwindOrder ¶
func ReplacementUnwindOrder() stagedsync.UnwindOrder
func StageLoop ¶
func StageLoop( ctx context.Context, db ethdb.Database, hd *headerdownload.HeaderDownload, bd *bodydownload.BodyDownload, headerReqSend func(context.Context, []*headerdownload.HeaderRequest), bodyReqSend func(context.Context, *bodydownload.BodyRequest) []byte, penalise func(context.Context, []byte), updateHead func(context.Context, uint64, common.Hash, *big.Int), wakeUpChan chan struct{}, timeout int, ) error
StageLoop runs the continuous loop of staged sync
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.