Skip to main content

init

Function init 

Source
pub async fn init<N: Node>(
    config: NetworkConfig,
    keys: Keypair,
    network_id: u64,
    node_builder: N::Builder,
) -> Result<(N::Builder, NetworkEventReceiver), Error>
Expand description

Initializes the network.