solana_accounts_db

Module storable_accounts

Source
Expand description

trait for abstracting underlying storage of pubkey and account pairs to be written

Structs§

Enums§

  • hold a ref to an account to store. The account could be represented in memory a few different ways

Traits§

  • abstract access to pubkey, account, slot, target_slot of either: a. (slot, &[&Pubkey, &ReadableAccount]) b. (slot, &[&Pubkey, &ReadableAccount, Slot]) (we will use this later) This trait avoids having to allocate redundant data when there is a duplicated slot parameter. All legacy callers do not have a unique slot per account to store.