Skip to main content

start_node_on

Function start_node_on 

Source
pub async fn start_node_on(
    store: &TaskStore,
    raft_db: &Path,
    cfg: NodeConfig,
    listener: TcpListener,
) -> Result<Node>
Expand description

Like start_node, with a listener the caller already bound. cfg.addr is the address peers use