referrerpolicy=no-referrer-when-downgrade
pallet_session::pallet

Type Alias KeyOwner

Source
pub type KeyOwner<T: Config> = StorageMap<_GeneratedPrefixForStorageKeyOwner<T>, Twox64Concat, (KeyTypeId, Vec<u8>), T::ValidatorId, OptionQuery>;
Expand description

The owner of a key. The key is the KeyTypeId + the encoded key.

Storage type is [StorageMap] with key type (KeyTypeId, Vec < u8 >) and value type T :: ValidatorId.

Aliased Type§

struct KeyOwner<T: Config>(/* private fields */);