pub type HistoricalSessions<T: Config> = StorageMap<_GeneratedPrefixForStorageHistoricalSessions<T>, Twox64Concat, SessionIndex, (T::Hash, ValidatorCount), OptionQuery>;
Expand description

Mapping from historical session indices to session-data root hash and validator count.

Storage type is [StorageMap] with key type SessionIndex and value type (T :: Hash, ValidatorCount).

Aliased Type§

struct HistoricalSessions<T: Config>(PhantomData<(_GeneratedPrefixForStorageHistoricalSessions<T>, Twox64Concat, u32, (<T as Config>::Hash, u32), OptionQuery, GetDefault, GetDefault)>);

Fields§

§0: PhantomData<(_GeneratedPrefixForStorageHistoricalSessions<T>, Twox64Concat, u32, (<T as Config>::Hash, u32), OptionQuery, GetDefault, GetDefault)>