Versions in this module Expand all Collapse all v0 v0.9.2 May 24, 2021 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)