Versions in this module Expand all Collapse all v0 v0.31.12 Oct 9, 2022 v0.31.11 Oct 29, 2019 Changes in this version + var ErrorEmptyHash = errors.New("Transaction hash cannot be empty") + type Batch struct + Ops []*types.TxResult + func NewBatch(n int64) *Batch + func (b *Batch) Add(result *types.TxResult) error + func (b *Batch) Size() int + type IndexerService struct + func NewIndexerService(idr TxIndexer, eventBus *types.EventBus) *IndexerService + func (is *IndexerService) OnStart() error + func (is *IndexerService) OnStop() + type TxIndexer interface + AddBatch func(b *Batch) error + Get func(hash []byte) (*types.TxResult, error) + Index func(result *types.TxResult) error + Search func(q *query.Query) ([]*types.TxResult, error)