Crate solana_accounts_db

Crate solana_accounts_db 

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_locks
account_storage
Manage the map of slot -> append vec
account_storage_reader
accounts
accounts_db
Persistent accounts are stored at this path location: <path>/<pid>/data/
accounts_file
accounts_hash
accounts_index
accounts_index_storage
accounts_update_notifier_interface
ancestors
blockhash_queue
contains
hardened_unpack
is_loadable
partitioned_rewards
Code related to partitioned rewards distribution
pubkey_bins
sorted_storages
stake_rewards
Code for stake and vote rewards
storable_accounts
trait for abstracting underlying storage of pubkey and account pairs to be written
tiered_storage
utils
waitable_condvar

Macros§

u64_align

Functions§

large_file_buf_reader
Open file at path with buffering reader using buf_size memory and doing read-ahead IO reads (if io_uring is supported by the host)