[][src]Trait substrate_service::InitialSessionKeys

pub trait InitialSessionKeys<C: Components> {
    fn generate_initial_session_keys(
        client: Arc<ComponentClient<C>>,
        seeds: Vec<String>
    ) -> Result<()>; }

Something that can create and store initial session keys from given seeds.

Required methods

fn generate_initial_session_keys(
    client: Arc<ComponentClient<C>>,
    seeds: Vec<String>
) -> Result<()>

Generate the initial session keys for the given seeds and store them in an internal keystore.

Loading content...

Implementors

impl<C: Components> InitialSessionKeys<C> for C where
    ComponentClient<C>: ProvideRuntimeApi,
    <ComponentClient<C> as ProvideRuntimeApi>::Api: SessionKeys<ComponentBlock<C>>, 
[src]

Loading content...