Registry / database / sc-client-db

sc-client-db

JSON →
library0.51.0rscratesunverified

Client backend that uses RocksDB database as storage.

# Cargo.toml [dependencies] sc-client-db = "0.51.0"
INSTALL
IMPORT
SIG · SC-CLIENT-DB
S
sc-client-db
databaserustv0.51.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RocksDbBackend
✓ use sc_client_db::RocksDbBackend;

Create a RocksDB-based client backend for Substrate.

use sc_client_db::RocksDbBackend; let backend = RocksDbBackend::new("/tmp/chain", std::num::NonZeroU32::new(1).unwrap()); println!("Backend created");
Debug
Known issues
gotchaRequires RocksDB library to be installed.
fix
Install RocksDB via system package manager or use the bundled feature.
affects: >=0.51.0
Upgrade
Version history
0.51.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
sc-client-db — cargo add sc-client-db · libregistry