Crate acme_network
source · [−]Modules
Structs
A X25519 key.
Representation of a Multiaddr.
Identifier of a peer of the network.
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.