Versions in this module Expand all Collapse all v5 v5.0.0 May 18, 2023 Changes in this version + type Context struct + Database database.Database + EncodingConfig *params.EncodingConfig + Logger logging.Logger + Modules []modules.Module + Node node.Node + func NewContext(encodingConfig *params.EncodingConfig, proxy node.Node, db database.Database, ...) *Context + type Worker struct + func NewWorker(ctx *Context, queue types.HeightQueue, index int) Worker + func (w Worker) ExportBlock(b *tmctypes.ResultBlock, r *tmctypes.ResultBlockResults, txs []*types.Tx, ...) error + func (w Worker) ExportCommit(commit *tmtypes.Commit, vals *tmctypes.ResultValidators) error + func (w Worker) ExportTxs(txs []*types.Tx) error + func (w Worker) HandleGenesis(genesisDoc *tmtypes.GenesisDoc, appState map[string]json.RawMessage) error + func (w Worker) Process(height int64) error + func (w Worker) ProcessIfNotExists(height int64) error + func (w Worker) ProcessTransactions(height int64) error + func (w Worker) SaveValidators(vals []*tmtypes.Validator) error + func (w Worker) Start()