Registry / database / solana-ledger

solana-ledger

JSON →
library2.2.0rscratesunverified

Solana ledger implementation for block storage and replay.

# Cargo.toml [dependencies] solana-ledger = "2.2.0"
INSTALL
IMPORT
SIG · SOLANA-LEDGER
S
solana-ledger
databaserustv2.2.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.

Blockstore
use solana_ledger::blockstore::Blockstore;

Open a Solana ledger blockstore.

use solana_ledger::blockstore::Blockstore; fn main() { let ledger_path = "./ledger"; let blockstore = Blockstore::open(ledger_path).unwrap(); println!("Blockstore opened at {}", ledger_path); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.2.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
solana-ledger — cargo add solana-ledger · libregistry