Modules
Structs
Outlines the standard Node structure to be used throughout the ecosystem
Enums
Constants
Traits
Functions
Determine the validity of a new block by comparing the previous one
Get the IPFS path specified at the install of the tool
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.