init

Function init 

Source
pub async fn init(
    config: NetworkConfig,
    keys: Keypair,
    network_id: u64,
    shutdown: impl Future + Send + Unpin + 'static,
) -> Result<(NetworkCommandSender, NetworkEventReceiver), Error>
Expand description

Initializes the network.