Crate substrate_test_runtime_client::sc_client_db[][src]

Expand description

Client backend that is backed by a database.

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.

Modules

State backend that’s useful for benchmarking

RocksDB-based light client blockchain storage.

RocksDB-based offchain workers local storage.

Structs

Disk backend.

State that manages the backend database reference. Allows runtime to control the database.

Database transaction

Block database

Database settings.

A reference tracking state.

Enums

Where to find the database..

Block pruning settings.

Pruning mode.

Block body storage scheme.

Traits

Type Definitions

Hash type that this backend uses for the database.

DB-backed patricia trie state, transaction type is an overlay of changes to commit.