prepare_bootstrap

Function prepare_bootstrap 

Source
pub fn prepare_bootstrap(
    config: BootstrapConfig,
) -> Result<BootstrapResult, BootstrapError>
Available on crate feature client only.
Expand description

Perform client bootstrap.

This will:

  1. Generate or use provided client identity
  2. Prepare handshake init message
  3. Return bootstrap result for connection