Module logs_utils

Available on crate feature rpc only.
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
log_matches_filter
Returns true if the log matches the filter and should be included
matching_block_logs_with_tx_hashes
Returns all matching of a block’s receipts when the transaction hashes are known.