pub fn parse_node_addr(s: &str) -> Result<ParsedNodeAddr, CoreError>Expand description
Parse a string that may be a bare node ID, a ticket string (JSON-encoded
NodeAddrInfo), or a JSON object with id and addrs fields.
ISS-023: malformed entries that look like socket addresses but fail to parse
cause a deterministic error. Entries that are clearly not socket addresses
(e.g. relay URLs containing ://) are silently skipped and handled
elsewhere in the protocol stack.