referrerpolicy=no-referrer-when-downgrade

Type Alias westend_runtime::SessionConfig

source ·
pub type SessionConfig = GenesisConfig<Runtime>;

Aliased Type§

struct SessionConfig {
    pub keys: Vec<(AccountId32, AccountId32, SessionKeys)>,
    pub non_authority_keys: Vec<(AccountId32, AccountId32, SessionKeys)>,
}

Fields§

§keys: Vec<(AccountId32, AccountId32, SessionKeys)>

Initial list of validator at genesis representing by their (AccountId, ValidatorId, Keys). These keys will be considered authorities for the first two sessions and they will be valid at least until session 2

§non_authority_keys: Vec<(AccountId32, AccountId32, SessionKeys)>

List of (AccountId, ValidatorId, Keys) that will be registered at genesis, but not as active validators. These keys are set, together with keys, as authority candidates for future sessions (enactable from session 2 onwards)