pub fn load_previous(dir: impl AsRef<Path>) -> Result<Option<NodeCert>>Expand description
Load the RETIRING (previous) identity persisted by NodeCert::rotate, if a .prev slot exists.
Lets a caller resume dual-presenting the old peer_id after a restart that happened mid-overlap
(before retire_previous ran). Returns Ok(None) when no .prev slot is present.