Module logs_utils

Expand description

Helper functions for reth_rpc_eth_api::EthFilterApiServer implementation.

Log parsing for building filter.

Enums§

ProviderOrBlock
Helper enum to fetch a transaction either from a block or from the provider.

Functions§

append_matching_block_logs
Appends all matching logs of a block’s receipts. If the log matches, look up the corresponding transaction hash.
get_filter_block_range
Computes the block range based on the filter range and current block numbers
matching_block_logs_with_tx_hashes
Returns all matching of a block’s receipts when the transaction hashes are known.