pub async fn open_node(data_dir: &Path) -> Result<IrohNode>
Open a node with default relay mode.
Returns an error if the identity cannot be loaded or the node cannot be created.