Expand description
Async caching support for eth RPC
Modules§
- config
- Configuration for RPC cache.
- db
- 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
. - metrics
- Tracks state of RPC cache.
- multi_
consumer - Metered cache, which also provides storage for senders in order to queue queries that result in a cache miss.
Structs§
- EthState
Cache - Provides async access to cached eth data
Functions§
- cache_
new_ blocks_ task - 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.