solana_accounts_db

Module accounts_hash

Source

Structs§

AccountHash
Hash of an account
AccountLtHash
Lattice hash of an account
AccountsDeltaHash
Hash of accounts written in a single slot
AccountsHash
Hash of accounts
AccountsHasher
AccountsLtHash
Lattice hash of all accounts
CalcAccountsHashConfig
parameters to calculate accounts hash
CalculateHashIntermediate
While scanning appendvecs, this is the info that needs to be extracted, de-duped, and sorted from what is stored in an append vec. Note this can be saved/loaded during hash calculation to a memory mapped file whose contents are CalculateHashIntermediate
HashStats
IncrementalAccountsHash
Hash of accounts that includes zero-lamport accounts Used with incremental snapshots
SerdeAccountsDeltaHash
Snapshot serde-safe accounts delta hash
SerdeAccountsHash
Snapshot serde-safe accounts hash
SerdeIncrementalAccountsHash
Snapshot serde-safe incremental accounts hash

Enums§

AccountsHashKind
Hash of accounts
ZeroLamportAccounts
How should zero-lamport accounts be treated by the accounts hasher?

Constants§

MERKLE_FANOUT
ZERO_LAMPORT_ACCOUNT_HASH
The AccountHash for a zero-lamport account
ZERO_LAMPORT_ACCOUNT_LT_HASH
The AccountLtHash for a zero-lamport account

Type Aliases§

StorageSizeQuartileStats