setup

Function setup 

Source
pub async fn setup<N>(
    num_nodes: usize,
    chain_spec: Arc<N::ChainSpec>,
    is_dev: bool,
    attributes_generator: impl Fn(u64) -> <<N as NodeTypes>::Payload as PayloadTypes>::PayloadBuilderAttributes + Send + Sync + Copy + 'static,
) -> Result<(Vec<NodeHelperType<N>>, TaskManager, Wallet)>
Expand description

Creates the initial setup with num_nodes started and interconnected.