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§
- Provider
OrBlock - 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.