Expand description
P2P handling for IPFS nodes.
Modules§
Structs§
- Address
Book Config - Identify
Configuration - KadConfig
- KadStore
Config - Peer
Info - Abstraction of IdentifyInfo but includes PeerId
- Pubsub
Config - Relay
Config - Request
Response Config - Swarm
Config - Transport
Config
Enums§
- Behaviour
Event NetworkBehaviour::ToSwarm
produced by Behaviour.- DnsResolver
- KadInserts
- KadResult
- Represents the result of a Kademlia query.
- Pubsub
Validation - Rate
Limit - Request
Response Direction - Upgrade
Version
Traits§
Functions§
- generate_
cert - Generates a TLS certificate that derives from libp2p
Keypair
with a salt. Note: Ifexpire
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 toCertificateParams::self_signed
using ring rng. This may change in the future