Crate solana_ledger

Source

Modules§

ancestor_iterator
bank_forks_utils
bigtable_delete
bigtable_upload
bigtable_upload_service
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_cleanup_service
The blockstore_cleanup_service drops older ledger data to limit disk space usage. The service works by counting the number of live data shreds in the ledger; this can be done quickly and should have a fairly stable correlation to actual bytes. Once the shred count (and thus roughly the byte count) reaches a threshold, the services begins removing data in FIFO order.
blockstore_db
blockstore_meta
blockstore_metric_report_service
The blockstore_metric_report_service periodically reports ledger store metrics.
blockstore_metrics
blockstore_options
blockstore_processor
entry_notifier_interface
entry_notifier_service
genesis_utils
leader_schedule
leader_schedule_cache
leader_schedule_utils
next_slots_iterator
rooted_slot_iterator
shred
The shred module defines data structures and methods to pull MTU sized data frames from the network. There are two types of shreds: data and coding. Data shreds contain entry information while coding shreds provide redundancy to protect against dropped network packets (erasures).
sigverify_shreds
slot_stats
token_balances
use_snapshot_archives_at_startup

Macros§

create_new_tmp_ledger
create_new_tmp_ledger_auto_delete
create_new_tmp_ledger_with_size
get_tmp_ledger_path
get_tmp_ledger_path_auto_delete
tmp_ledger_name