Type Alias pallet_im_online::pallet::AuthoredBlocks
source · pub type AuthoredBlocks<T: Config> = StorageDoubleMap<_GeneratedPrefixForStorageAuthoredBlocks<T>, Twox64Concat, SessionIndex, Twox64Concat, ValidatorId<T>, u32, ValueQuery>;
Expand description
For each session index, we keep a mapping of ValidatorId<T>
to the
number of blocks authored by the given authority.
Storage type is [StorageDoubleMap
] with key1 type SessionIndex, key2 type ValidatorId < T > and value type u32.
Aliased Type§
struct AuthoredBlocks<T: Config>(/* private fields */);