Module cache
Expand description
Async caching support for eth RPC
Modules§
- Configuration for RPC cache.
- Helper types to workaround ‘higher-ranked lifetime error’ https://github.com/rust-lang/rust/issues/100013 in default implementation of
reth_rpc_eth_api::helpers::Call
. - Tracks state of RPC cache.
- Metered cache, which also provides storage for senders in order to queue queries that result in a cache miss.
Structs§
- Provides async access to cached eth data
Functions§
- 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.