Versions in this module Expand all Collapse all v12 v12.2.4 Mar 6, 2024 Changes in this version type KVIndexer + func (kv *KVIndexer) GetLastRequestIndexedBlock() (int64, error) + func (kv *KVIndexer) IsReady() bool + func (kv *KVIndexer) Ready() v12.2.3 Jan 14, 2024 Changes in this version + const KeyPrefixTxHash + const KeyPrefixTxIndex + const TxIndexKeyLength + func LoadFirstBlock(db dbm.DB) (int64, error) + func LoadLastBlock(db dbm.DB) (int64, error) + func TxHashKey(hash common.Hash) []byte + func TxIndexKey(blockNumber int64, txIndex int32) []byte + type KVIndexer struct + func NewKVIndexer(db dbm.DB, logger log.Logger, clientCtx client.Context) *KVIndexer + func (kv *KVIndexer) FirstIndexedBlock() (int64, error) + func (kv *KVIndexer) GetByBlockAndIndex(blockNumber int64, txIndex int32) (*evertypes.TxResult, error) + func (kv *KVIndexer) GetByTxHash(hash common.Hash) (*evertypes.TxResult, error) + func (kv *KVIndexer) IndexBlock(block *tmtypes.Block, txResults []*abci.ResponseDeliverTx) error + func (kv *KVIndexer) LastIndexedBlock() (int64, error)