pub fn estimate_last_valid_slot(deactivation_slot: u64) -> u64
Expand description
The lookup table may be in a deactivating state until the `deactivation_slot`` is no longer “recent”. This function returns a conservative estimate for the last block that the table may be used for lookups. This estimate may be incorrect due to skipped blocks, however, if the current slot is lower than the returned value, the table is guaranteed to still be in the deactivating state.