Module rust_ipfs::p2p

source ·
Expand description

P2P handling for IPFS nodes.

Modules§

Structs§

Enums§

Traits§

Functions§

  • Creates a new IPFS swarm.
  • Generates a TLS certificate that derives from libp2p Keypair with a salt. Note: If expire is true, it will produce a expired pem that can be appended for webrtc transport Additionally, this function does not generate deterministic certs yet due to CertificateParams::self_signed using ring rng. This may change in the future

Type Aliases§

  • Type alias for libp2p::Swarm running the [behaviour::Behaviour] with the given [IpfsTypes].