Session Pallet

The Session module allows validators to manage their session keys, provides a function for changing the session length, and handles session rotation.

Overview

Terminology

Goals

The Session pallet is designed to make the following possible:

Interface

Dispatchable Functions

Public Functions

Usage

Example from the FRAME

The Staking pallet uses the Session pallet to get the validator set.

```rust use pallet_session as session;

fn validators() -> Vec<::ValidatorId> { >::validators() } ```

Related Pallets

License: Apache-2.0