Function sp_session::generate_initial_session_keys
source · [−]pub fn generate_initial_session_keys<Block, T>(
client: Arc<T>,
at: &BlockId<Block>,
seeds: Vec<String>
) -> Result<(), ApiErrorFor<T, Block>> where
Block: BlockT,
T: ProvideRuntimeApi<Block>,
T::Api: SessionKeys<Block>,
Expand description
Generate the initial session keys with the given seeds, at the given block and store them in the client’s keystore.