package
0.0.0-20230731053445-bf468637a738
Repository: https://github.com/fibonacci-chain/core.git
Documentation: pkg.go.dev

# Functions

LoadFirstBlock loads the first indexed block, returns -1 if db is empty.
LoadLastBlock returns the latest indexed block number, returns -1 if db is empty.
NewKVIndexer creates the KVIndexer.
TxHashKey returns the key for db entry: `tx hash -> tx result struct`.
TxIndexKey returns the key for db entry: `(block number, tx index) -> tx hash`.

# Constants

No description provided by the author
No description provided by the author
TxIndexKeyLength is the length of tx-index key.

# Structs

KVIndexer implements a eth tx indexer on a KV db.