pub fn parse_legacy_multiaddr(text: &str) -> Result<Multiaddr, Box<dyn Error>>
Expand description

parse a legacy multiaddr (replace ipfs with p2p), and strip the peer id so it can be dialed by rust-libp2p