solana_accounts_db

Module account_info

Source
Expand description

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.

Structs§

AccountInfo
AccountOffsetAndFlags
PackedOffsetAndFlags

Enums§

StorageLocation
specify where account data is located

Type Aliases§

Offset
offset within an append vec to account data
OffsetReduced
how large the offset we store in AccountInfo is Note this is a smaller datatype than ‘Offset’ AppendVecs store accounts aligned to u64, so offset is always a multiple of 8 (sizeof(u64))
StoredSize
bytes used to store this account in append vec Note this max needs to be big enough to handle max data len of 10MB, which is a const