Type Alias pallet_staking::Validators
source · pub type Validators<T: Config> = CountedStorageMap<_GeneratedPrefixForStorageValidators<T>, Twox64Concat, T::AccountId, ValidatorPrefs, ValueQuery>;
Expand description
The map from (wannabe) validator stash key to the preferences of that validator.
TWOX-NOTE: SAFE since AccountId
is a secure hash.
Storage type is [CountedStorageMap
] with key type T :: AccountId and value type ValidatorPrefs.
Aliased Type§
struct Validators<T: Config>(/* private fields */);