Re-exports§
pub use accounts_hash::CalculateHashIntermediate as CacheHashDataFileEntry;
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
- accounts
- 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 - ancestors
- append_
vec - Persistent storage for accounts.
- blockhash_
queue - 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 - partitioned_
rewards - Code related to partitioned rewards distribution
- pubkey_
bins - 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§
Structs§
- Cache
Hash Data File Header - Parsed
Cache Hash Data Filename - The values of each part of a cache hash data filename
Functions§
- parse_
cache_ hash_ data_ filename - Parses a cache hash data filename into its parts