[−][src]Function safe_core::client::attempt_bootstrap
pub fn attempt_bootstrap(
qp2p_config: &QuicP2pConfig,
net_tx: &NetworkTx,
safe_key: SafeKey
) -> Result<ConnectionManager, CoreError>
Utility function that bootstraps a client to the network. If there is a failure then it retries. After a maximum of three attempts if the boostrap process still fails, then an error is returned.