Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions accounts-db/src/accounts_index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -644,21 +644,6 @@ pub trait ZeroLamport {
fn is_zero_lamport(&self) -> bool;
}

#[derive(Debug, Default)]
pub struct ScanSlotTracker {
is_removed: bool,
}

impl ScanSlotTracker {
pub fn is_removed(&self) -> bool {
self.is_removed
}

pub fn mark_removed(&mut self) {
self.is_removed = true;
}
}

#[derive(Copy, Clone)]
pub enum AccountsIndexScanResult {
/// if the entry is not in the in-memory index, do not add it unless the entry becomes dirty
Expand Down