Module reth_rpc_eth_types::fee_history
source · Expand description
Consist of types adjacent to the fee history cache and its configs
Structs§
- Contains cached fee history entries for blocks.
- Settings for the
FeeHistoryCache
. - A cached entry for a block’s fee history.
Functions§
- Calculates reward percentiles for transactions in a block header. Given a list of percentiles and a sealed block header, this function computes the corresponding rewards for the transactions at each percentile.
- Awaits for new chain events and directly inserts them into the cache so they’re available immediately before they need to be fetched from disk.