Trait pallet_session::historical::SessionManager[][src]

pub trait SessionManager<ValidatorId, FullIdentification>: SessionManager<ValidatorId> {
    fn new_session(
        new_index: SessionIndex
    ) -> Option<Vec<(ValidatorId, FullIdentification)>>;
fn start_session(start_index: SessionIndex);
fn end_session(end_index: SessionIndex); }

Specialization of the crate-level SessionManager which returns the set of full identification when creating a new session.

Required methods

fn new_session(
    new_index: SessionIndex
) -> Option<Vec<(ValidatorId, FullIdentification)>>
[src]

If there was a validator set change, its returns the set of new validators along with their full identifications.

fn start_session(start_index: SessionIndex)[src]

fn end_session(end_index: SessionIndex)[src]

Loading content...

Implementors

Loading content...