pub trait SessionManager<ValidatorId, FullIdentification>: SessionManager<ValidatorId> {
fn new_session(
new_index: u32
) -> Option<Vec<(ValidatorId, FullIdentification), Global>>;
fn start_session(start_index: u32);
fn end_session(end_index: u32);
fn new_session_genesis(
new_index: u32
) -> Option<Vec<(ValidatorId, FullIdentification), Global>> { ... }
}
Expand description
Specialization of the crate-level SessionManager
which returns the set of full identification
when creating a new session.
Required Methods
If there was a validator set change, its returns the set of new validators along with their full identifications.