Crate linera_storage
source ·Expand description
This module defines the storage abstractions for individual chains and certificates.
Re-exports§
pub use crate::db_storage::READ_CERTIFICATE_COUNTER;
pub use crate::db_storage::READ_HASHED_CONFIRMED_BLOCK_COUNTER;
pub use crate::db_storage::WRITE_CERTIFICATE_COUNTER;
Structs§
- An implementation of
DualStoreRootKeyAssignment
that stores the chain states into the first store. - Main implementation of the
Storage
trait. - 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.
- A
Clock
implementation using the system clock.
Traits§
- A clock that can be used to get the current
Timestamp
. - Communicate with a persistent storage using the “views” abstraction.
Functions§
- Lists the blob IDs of the storage.
- Lists the chain IDs of the storage.