referrerpolicy=no-referrer-when-downgrade

Function sp_session::generate_initial_session_keys

source ·
pub fn generate_initial_session_keys<Block, T>(
    client: Arc<T>,
    at: Block::Hash,
    seeds: Vec<String>,
    keystore: KeystorePtr,
) -> Result<(), ApiError>
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.