Function subspace_test_service::node_config

source ยท
pub fn node_config(
    tokio_handle: Handle,
    key: Sr25519Keyring,
    boot_nodes: Vec<MultiaddrWithPeerId>,
    run_farmer: bool,
    force_authoring: bool,
    force_synced: bool,
    base_path: BasePath,
) -> Configuration
Expand description

Create a Subspace Configuration.

By default an in-memory socket will be used, therefore you need to provide boot nodes if you want the future node to be connected to other nodes.