[−][src]Crate sc_client_db
Client backend that uses RocksDB database as storage.
Canonicality vs. Finality
Finality indicates that a block will not be reverted, according to the consensus algorithm, while canonicality indicates that the block may be reverted, but we will be unable to do so, having discarded heavy state that will allow a chain reorganization.
Finality implies canonicality but not vice-versa.
Re-exports
pub use kvdb; |
Modules
| light | RocksDB-based light client blockchain storage. |
| offchain | RocksDB-based offchain workers local storage. |
Structs
| Backend | Disk backend. |
| BlockImportOperation | Database transaction |
| BlockchainDb | Block database |
| DatabaseSettings | Database settings. |
| RefTrackingState | A reference tracking state. |
Enums
| DatabaseSettingsSrc | Where to find the database.. |
| PruningMode | Pruning mode. |
Functions
| new_client | Create an instance of db-backed client. |
Type Definitions
| DbState | DB-backed patricia trie state, transaction type is an overlay of changes to commit. |