pub type Sessions<T: Config> = StorageMap<_GeneratedPrefixForStorageSessions<T>, Identity, SessionIndex, SessionInfo>;
Expand description

Session information in a rolling window. Should have an entry in range EarliestStoredSession..=CurrentSessionIndex. Does not have any entries before the session index in the first session change notification.

Storage type is [StorageMap] with key type SessionIndex and value type SessionInfo.

Aliased Type§

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