Function domain_test_service::node_config

source ยท
pub fn node_config(
    domain_id: DomainId,
    tokio_handle: Handle,
    key_seed: String,
    nodes: Vec<MultiaddrWithPeerId>,
    nodes_exclusive: bool,
    role: Role,
    base_path: BasePath,
    chain_spec: Box<dyn ChainSpec>,
) -> Result<Configuration, Error>
Expand description

Create a domain node 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.