Skip to main content

open_node

Function open_node 

Source
pub async fn open_node(data_dir: &Path) -> Result<IrohNode>
Expand description

Open a node with default relay mode.

ยงErrors

Returns an error if the identity cannot be loaded or the node cannot be created.