Expand description
This module defines the storage abstractions for individual chains and certificates.
Modules§
Structs§
- Chain
Runtime Context - An implementation of
ExecutionRuntimeContextsuitable for the core protocol. - Chain
States First Assignment - An implementation of
DualStoreRootKeyAssignmentthat stores the chain states into the first store. - DbStorage
- Main implementation of the
Storagetrait. - Storage
Cache Config - Individual cache sizes for each
ValueCacheinDbStorage. - Storage
Caches - Groups all
ValueCacheinstances used byDbStorage. - Test
Clock - A clock implementation that uses a stored number of microseconds and that can be updated explicitly. All clones share the same time, and setting it in one clone updates all the others.
- Wall
Clock - A
Clockimplementation using the system clock.
Enums§
- Result
Read Certificates - The result of processing the obtained read certificates.
- RootKey
Constants§
- DEFAULT_
CLEANUP_ INTERVAL_ SECS - Default interval between dead-entry cleanup sweeps of the weak index.
- DEFAULT_
NAMESPACE - The default namespace to be used when none is specified
- DEFAULT_
STORAGE_ CACHE_ CONFIG - Default cache configuration for testing.