Versions in this module Expand all Collapse all v1 v1.0.2 Jan 31, 2023 v1.0.1 Jan 25, 2023 Changes in this version + const MaxTopicsCount + var ErrEmptyTopics = fmt.Errorf("Empty topics") + type ID [logrecKeySize]byte + func NewID(block uint64, tx common.Hash, logIndex uint) (id ID) + func (id *ID) BlockNumber() uint64 + func (id *ID) Bytes() []byte + func (id *ID) Index() uint + func (id *ID) TxHash() (tx common.Hash) + type Index struct + func New(db kvdb.Store) *Index + func (tt *Index) FindInBlocks(ctx context.Context, from, to idx.Block, pattern [][]common.Hash) (logs []*types.Log, err error) + func (tt *Index) ForEach(ctx context.Context, pattern [][]common.Hash, ...) error + func (tt *Index) ForEachInBlocks(ctx context.Context, from, to idx.Block, pattern [][]common.Hash, ...) error + func (tt *Index) MustPush(recs ...*types.Log) + func (tt *Index) Push(recs ...*types.Log) error