Expand description
A rolling session window cache. A rolling window of sessions and cached session info, updated by the state of newly imported blocks.
This is useful for consensus components which need to stay up-to-date about recent sessions but don’t care about the state of particular blocks.
Macros
- Create a new checked
SessionWindowSize
which cannot be 0.
Structs
- A structure to store rolling session database parameters.
- A rolling window of sessions and cached session info.
- Type of a session window size.
- Sessions were unavailable to fetch from the state for some reason.
- Information about the sessions being fetched.
Enums
- An indicated update of the rolling session window.
- Sessions unavailable in state to cache.