pub(crate) async fn save_node_address(
ctx: &Context,
key: Vec<u8>,
peer: Peer,
) -> Result<Option<NodeAddressValue>>Expand description
Persists an address through the leader cache and returns the one it replaced, treating an undecodable value as absent.