Skip to main content

load_or_create_keys

Function load_or_create_keys 

Source
pub fn load_or_create_keys(dir: &Path) -> Result<NetworkKeys>
Expand description

Loads keys.json from dir, creating it with fresh keys (mode 0600) on first start.