Versions in this module Expand all Collapse all v0 v0.0.1 Nov 4, 2022 Changes in this version + type Strategy interface + Sync func(currentHeight int64, latestHeight int64, worker SyncBlockWorker) ([][]command.Command, SyncedHeight, error) + type SyncBlockWorker = func(blockHeight int64) ([]command.Command, error) + type SyncedHeight = int64 + type Window struct + func NewWindow(logger applogger.Logger, size int) *Window + func (window *Window) Sync(currentHeight int64, latestHeight int64, worker SyncBlockWorker) ([][]command.Command, SyncedHeight, error)