Crate solana_runtime[−][src]
Modules
Persistent accounts are stored in below path location:
Persistent storage for accounts. For more information, see: https://docs.solana.com/implemented-proposals/persistent-account-storage
The bank
module tracks client accounts and the progress of on-chain
programs.
The bank_forks
module implements BankForks a DAG of checkpointed Banks
defines block cost related limits
Simple Bloom Filter
’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
keeps tracking transaction cost per chained accounts as well as for entire block
The main functions are:
The Stats is not thread safe, each thread should have its own
instance of stat with id
; Stat reports and reset for each slot.
calculate and collect rent from Accounts
Stakes serve as a cache of stake and vote accounts to derive node stakes