Type Definition darwinia_staking::pallet::HistoryDepth
source · [−]pub type HistoryDepth<T> = StorageValue<_GeneratedPrefixForStorageHistoryDepth<T>, u32, ValueQuery, HistoryDepthOnEmpty>;
Expand description
Number of eras to keep in history.
Information is kept for eras in [current_era - history_depth; current_era]
.
Must be more than the number of eras delayed by session otherwise. I.e. active era must
always be in history. I.e. active_era > current_era - history_depth
must be
guaranteed.