eth-repository / org.apache.tuweni.eth.repository / BlockchainIndexWriter

BlockchainIndexWriter

interface BlockchainIndexWriter (source)

Indexer for blockchain elements.

Functions

indexBlockHeader

abstract fun indexBlockHeader(blockHeader: BlockHeader): Unit

Indexes a block header.

indexTransactionReceipt

abstract fun indexTransactionReceipt(txReceipt: TransactionReceipt, txIndex: Int, txHash: Hash, blockHash: Hash): Unit

Indexes a transaction receipt.

Inheritors

BlockchainIndex

class BlockchainIndex : BlockchainIndexWriter, BlockchainIndexReader

A Lucene-backed indexer capable of indexing blocks and block headers.