[][src]Crate solana_ledger

Modules

bank_forks

The bank_forks module implments BankForks a DAG of checkpointed Banks

bank_forks_utils
block_error
blockstore

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.

blockstore_db
blockstore_meta
blockstore_processor
entry

The entry module is a fundamental building block of Proof of History. It contains a unique ID that is the hash of the Entry before it, plus the hash of the transactions within it. Entries cannot be reordered, and its field num_hashes represents an approximate amount of time since the last Entry was created.

erasure

Erasure Coding and Recovery

genesis_utils
hardened_unpack
leader_schedule
leader_schedule_cache
leader_schedule_utils
next_slots_iterator
poh

The Poh module provides an object for generating a Proof of History.

rooted_slot_iterator
shred

The shred module defines data structures and methods to pull MTU sized data frames from the network.

sigverify_shreds
snapshot_package
snapshot_utils
staking_utils

Macros

create_new_tmp_ledger
get_tmp_ledger_path
tmp_ledger_name