Crate miraland_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_storage
Manage the map of slot -> append vec
accounts
accounts_cache
accounts_db
Persistent accounts are stored at this path location: <path>/<pid>/data/
accounts_file
accounts_hash
accounts_index
accounts_index_storage
accounts_partition
Partitioning of the accounts into chunks for rent collection
accounts_update_notifier_interface
active_stats
keep track of areas of the validator that are currently active
ancestors
ancient_append_vecs
helpers for squashing append vecs into ancient append vecs an ancient append vec is:
append_vec
Persistent storage for accounts.
blockhash_queue
bucket_map_holder
bucket_map_holder_stats
cache_hash_data
Cached data for hashing accounts
cache_hash_data_stats
Cached data for hashing accounts
contains
epoch_accounts_hash
The Epoch Accounts Hash (EAH) is a special hash of the whole accounts state that occurs once per epoch.
hardened_unpack
in_mem_accounts_index
inline_spl_token
inline_spl_token_2022
partitioned_rewards
Code related to partitioned rewards distribution
secondary_index
shared_buffer_reader
SharedBuffer is given a Reader and SharedBufferReader implements the Reader trait. SharedBuffer reads ahead in the underlying file and saves the data. SharedBufferReaders can be created for the buffer and independently keep track of each reader’s read location. The background reader keeps track of the progress of each client. After data has been read by all readers, the buffer is recycled and reading ahead continues. A primary use case is the underlying reader being decompressing a file, which can be computationally expensive. The clients of SharedBufferReaders could be parallel instances which need access to the decompressed data.
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