Type Definition darwinia_staking::pallet::ErasValidatorPrefs
source · [−]pub type ErasValidatorPrefs<T: Config> = StorageDoubleMap<_GeneratedPrefixForStorageErasValidatorPrefs<T>, Twox64Concat, EraIndex, Twox64Concat, AccountId<T>, ValidatorPrefs, ValueQuery>;
Expand description
Similar to ErasStakers
, this holds the preferences of validators.
This is keyed first by the era index to allow bulk deletion and then the stash account.
Is it removed after HISTORY_DEPTH
eras.