Expand description
FireCloud Net - P2P networking layer using libp2p
Provides:
- mDNS local peer discovery
- Kademlia DHT for global discovery and file provider announcements
- GossipSub for pub/sub messaging
- Request/response for file transfer
- Peer health monitoring
Re-exports§
pub use messaging::MessageRequest;pub use messaging::MessageResponse;pub use messaging::MESSAGING_PROTOCOL;
Modules§
- messaging
- Direct peer-to-peer messaging protocol
- nat_
traversal - NAT Traversal Module
- relay_
manager - Relay connection management for NAT traversal
Structs§
- Fire
Cloud Behaviour - Combined behaviour for FireCloud networking
- Fire
Cloud Node - A FireCloud P2P node
- Health
Monitor - Health monitor for tracking all peers in the network
- KadQuery
Id - Unique identifier for an active query.
- Multiaddr
- Representation of a Multiaddr.
- Network
Health Summary - Summary of network health
- Node
Config - Node configuration
- Outbound
Request Id - The ID of an outbound request.
- PeerId
- Identifier of a peer of the network.
- Peer
Stats - Statistics for a single peer
- Response
Channel - A channel for sending a response to an inbound request.
Enums§
- Fire
Cloud Event - Events emitted by FireCloudBehaviour
- NetError
- Node
Event - Events emitted by the node
- Peer
Health - Health status of a peer
- Transfer
Request - Request types for file transfer
- Transfer
Response - Response types for file transfer
Constants§
- PROTOCOL_
NAME - Protocol identifier for FireCloud file transfer