Available on crate feature
rpc only.Expand description
Async caching support for eth RPC
Modules§
- config
- Configuration for RPC cache.
- db
- EVM database types used by the RPC state cache.
- 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§
- Cache
Service Unavailable - Thrown when the cache service task dropped.
- 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.