Crate disarray_core
source · [−]Modules
Structs
Enums
Traits
Functions
Read the pre shared key file from the given ipfs directory
parse a legacy multiaddr (replace ipfs with p2p), and strip the peer id so it can be dialed by rust-libp2p
for a multiaddr that ends with a peer id, this strips this suffix. Rust-libp2p only supports dialing to an address without providing the peer id.