Type Definition pallet_staking::ErasValidatorPrefs[][src]

type ErasValidatorPrefs<T: Config> = StorageDoubleMap<_GeneratedPrefixForStorageErasValidatorPrefs<T>, Twox64Concat, EraIndex, Twox64Concat, T::AccountId, 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.