pub fn node_config(
    storage_update_func: impl Fn(),
    tokio_handle: Handle,
    key: Sr25519Keyring,
    nodes: Vec<MultiaddrWithPeerId>,
    nodes_exlusive: bool,
    para_id: ParaId,
    is_collator: bool,
    endowed_accounts: Vec<AccountId>
) -> Result<Configuration, ServiceError>
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.