referrerpolicy=no-referrer-when-downgrade

Function cumulus_test_service::node_config

source ·
pub fn node_config(
    storage_update_func: impl Fn(),
    tokio_handle: Handle,
    key: Sr25519Keyring,
    nodes: Vec<MultiaddrWithPeerId>,
    nodes_exclusive: bool,
    para_id: ParaId,
    is_collator: bool,
    endowed_accounts: Vec<AccountId>,
) -> Result<Configuration, Error>
Expand description

Create a Cumulus Configuration.

By default an in-memory socket will be used, therefore you need to provide nodes if you want the node to be connected to other nodes. If nodes_exclusive is true, the node will only connect to the given nodes and not to any other node. The storage_update_func can be used to make adjustments to the runtime genesis.