pub fn load_or_generate_pem(
    key_path: &str,
    cert_path: &str
) -> Result<(Id, bool)>
Expand description

Loads the existing staking certificates if exists, and returns the loaded or generated node Id. Returns “true” if generated.