Expand description
Cross-block execution cache for payload processing.
This crate provides the core caching infrastructure used during block execution:
ExecutionCache: Fixed-size concurrent caches for accounts, storage, and bytecodeSavedCache: An execution cache snapshot associated with a specific block hashPayloadExecutionCache: Thread-safe wrapper for sharing cached state across payload processing tasks
Structs§
- Cache
Stats - Cache hit/miss statistics for detailed block logging.
- Cache
Stats Handler - A stats handler for fixed-cache that tracks collisions and size.
- Cached
State Metrics - Metrics for the cached state provider, showing hits / misses for each cache
- Cached
State Provider - A wrapper of a state provider and a shared cache.
- Execution
Cache - Execution cache used during block processing.
- Payload
Execution Cache - A guarded, thread-safe cache of execution state that tracks the most recent block’s caches.
- Saved
Cache - A saved cache that has been used for executing a specific block, which has been updated for its execution.
Enums§
- Cached
Status - Represents the status of a key in the cache.