Function phronesis::command::p2p_key

source ·
fn p2p_key(node_key_path: &Path) -> SerializablePeerId
Expand description

Returns peer id, if not p2p key found under base_path/node-key-file a new private key gets generated