solana_accounts_db

Module accounts_index

Source

Structs§

AccountMapEntryInner
one entry in the in-mem accounts index Represents the value for an account key in the in-memory accounts index
AccountMapEntryMeta
data per entry in in-mem accounts index used to keep track of consistency with disk index
AccountSecondaryIndexes
AccountSecondaryIndexesIncludeExclude
AccountsIndex
T: account info type to interact in in-memory items U: account info type to be persisted to disk
AccountsIndexConfig
AccountsIndexIterator
AccountsIndexRootsStats
RootsTracker
ScanConfig
ScanSlotTracker

Enums§

AccountIndex
AccountsIndexScanResult
IndexKey
IndexLimitMb
specification of how much memory in-mem portion of account index can use
PreAllocatedAccountMapEntry
can be used to pre-allocate structures for insertion into accounts index outside of lock
ScanError
ScanFilter
which accounts scan should load from disk
UpsertReclaim
how accounts index ‘upsert’ should handle reclaims

Constants§

ACCOUNTS_INDEX_CONFIG_FOR_BENCHMARKS
ACCOUNTS_INDEX_CONFIG_FOR_TESTING
BINS_DEFAULT
BINS_FOR_BENCHMARKS
BINS_FOR_TESTING
FLUSH_THREADS_TESTING
ITER_BATCH_SIZE

Traits§

DiskIndexValue
IndexValue
IsCached
ZeroLamport

Functions§

default_num_flush_threads

Type Aliases§

AccountMap
RefCount
ScanResult
SlotList
SlotSlice