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