Handle removing slots during account scans (#17471) (#17953)

(cherry picked from commit ccc013e134)

Co-authored-by: carllin <carl@solana.com>
This commit is contained in:
mergify[bot]
2021-06-22 00:59:12 +00:00
committed by GitHub
parent 0cbf7bef1e
commit 6f376489a5
15 changed files with 937 additions and 321 deletions

View File

@@ -77,6 +77,10 @@ pub const MAX_TRANSACTION_FORWARDING_DELAY: usize = 6;
/// is some some number of Ticks long.
pub type Slot = u64;
/// Uniquely distinguishes every version of a slot, even if the
/// slot number is the same, i.e. duplicate slots
pub type BankId = u64;
/// Epoch is a unit of time a given leader schedule is honored,
/// some number of Slots.
pub type Epoch = u64;