Skip to content

Commit

Permalink
Uses Offset in SlotOffsets (#2890)
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo committed Sep 13, 2024
1 parent 7c82cfd commit 031b1eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions accounts-db/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ mod scan_account_storage;
use qualifier_attr::qualifiers;
use {
crate::{
account_info::{AccountInfo, StorageLocation},
account_info::{AccountInfo, Offset, StorageLocation},
account_storage::{
meta::StoredAccountMeta, AccountStorage, AccountStorageStatus, ShrinkInProgress,
},
Expand Down Expand Up @@ -822,7 +822,7 @@ pub type AtomicAccountsFileId = AtomicU32;
pub type AccountsFileId = u32;

type AccountSlots = HashMap<Pubkey, IntSet<Slot>>;
type SlotOffsets = IntMap<Slot, IntSet<usize>>;
type SlotOffsets = IntMap<Slot, IntSet<Offset>>;
type ReclaimResult = (AccountSlots, SlotOffsets);
type PubkeysRemovedFromAccountsIndex = HashSet<Pubkey>;
type ShrinkCandidates = IntSet<Slot>;
Expand Down

0 comments on commit 031b1eb

Please sign in to comment.