[][src]Crate solana_ledger

Modules

bank_forks

The bank_forks module implments BankForks a DAG of checkpointed Banks

blocktree

The blocktree 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.

blocktree_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
leader_schedule
leader_schedule_cache
leader_schedule_utils
perf_libs
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.

snapshot_package
snapshot_utils
staking_utils

Macros

create_new_tmp_ledger
get_tmp_ledger_path
tmp_ledger_name