Crate solana_runtime

Source

Modules§

account_info
AccountInfo represents a reference to AccountSharedData in either an AppendVec or the write cache. AccountInfo is not persisted anywhere between program runs. AccountInfo is purely runtime state. Note that AccountInfo is saved to disk buckets during runtime, but disk buckets are recreated at startup.
account_overrides
account_rent_state
accounts
accounts_background_service
accounts_cache
accounts_db
Persistent accounts are stored in below path location: //data/
accounts_hash
accounts_index
accounts_index_storage
accounts_update_notifier_interface
ancestors
append_vec
Persistent storage for accounts.
bank
The bank module tracks client accounts and the progress of on-chain programs.
bank_client
bank_forks
The bank_forks module implements BankForks a DAG of checkpointed Banks
bank_utils
block_cost_limits
defines block cost related limits
blockhash_queue
bucket_map_holder
bucket_map_holder_stats
builtins
cache_hash_data
Cached data for hashing accounts
cache_hash_data_stats
Cached data for hashing accounts
commitment
contains
cost_model
’cost_model` provides service to estimate a transaction’s cost following proposed fee schedule #16984; Relevant cluster cost measuring is described by #19627
cost_tracker
cost_tracker keeps tracking transaction cost per chained accounts as well as for entire block The main functions are:
epoch_stakes
execute_cost_table
genesis_utils
hardened_unpack
in_mem_accounts_index
inline_safe_associated_token_account
inline_safe_token
inline_safe_token_2022
loader_utils
message_processor
non_circulating_supply
prioritization_fee
prioritization_fee_cache
rent_collector
calculate and collect rent from Accounts
runtime_config
secondary_index
serde_snapshot
snapshot_archive_info
Information about snapshot archives
snapshot_config
snapshot_hash
Helper types and functions for handling and dealing with snapshot hashes.
snapshot_minimizer
Used to create minimal snapshots - separated here to keep accounts_db simpler
snapshot_package
snapshot_utils
sorted_storages
stake_history
This module implements clone-on-write semantics for the SDK’s StakeHistory to reduce unnecessary cloning of the underlying vector.
stake_weighted_timestamp
stakes
Stakes serve as a cache of stake and vote accounts to derive node stakes
static_ids
status_cache
transaction_batch
transaction_error_metrics
transaction_priority_details
vote_account
vote_parser
vote_sender_types
vote_transaction
waitable_condvar