Module solana_ledger::blockstore[][src]

The blockstore module provides functions for parallel verification of the Proof of History ledger as well as iterative read, append write, and random access read to a persistent file-based ledger.

Re-exports

pub use crate::blockstore_db::BlockstoreError;
pub use crate::blockstore_meta::SlotMeta;

Modules

blockstore_purge

Structs

Blockstore
BlockstoreInsertionMetrics
BlockstoreSignals
CompletedDataSetInfo
IndexMetaWorkingSetEntry
SlotMetaWorkingSetEntry

Enums

InsertDataShredError
PurgeType

Constants

BLOCKSTORE_DIRECTORY
MAX_COMPLETED_SLOTS_IN_CHANNEL
MAX_DATA_SHREDS_PER_SLOT
MAX_TURBINE_DELAY_IN_TICKS
MAX_TURBINE_PROPAGATION_IN_MS

Functions

create_new_ledger
create_new_ledger_from_name
entries_to_test_shreds
get_ledger_path_from_name
make_chaining_slot_entries
make_many_slot_entries
make_slot_entries
verify_shred_slots

Type Definitions

CompletedSlotsReceiver