Function sn_node::state_db::get_network_keypair[][src]

pub async fn get_network_keypair(root_dir: &Path) -> Result<Option<Keypair>>
Expand description

Returns Some(KeyPair) or None if file doesn’t exist.