interface BlockchainIndexWriter
(source)
Indexer for blockchain elements.
indexBlockHeader |
Indexes a block header. abstract fun indexBlockHeader(blockHeader: BlockHeader, indexTotalDifficulty: Boolean = true): Unit |
indexTotalDifficulty |
Indexes the total difficulty of a block header based on its position in the chain. abstract fun indexTotalDifficulty(blockHeader: BlockHeader): Unit |
indexTransaction |
Indexes a transaction. abstract fun indexTransaction(transaction: Transaction): Unit |
indexTransactionReceipt |
Indexes a transaction receipt. abstract fun indexTransactionReceipt(txReceipt: TransactionReceipt, txIndex: Int, txHash: Bytes, blockHash: Bytes): Unit |
BlockchainIndex |
A Lucene-backed indexer capable of indexing blocks and block headers. class BlockchainIndex : BlockchainIndexWriter, BlockchainIndexReader |