Expand description
Network core functionality Network module
This module provides core networking functionality for the P2P Foundation. It handles peer connections, network events, and node lifecycle management.
Structs§
- DHTConfig
- DHT-specific configuration
- Node
Builder - Builder pattern for creating P2P nodes
- Node
Config - Configuration for a P2P node
- P2PNode
- Main P2P node structure
- Peer
Info - Information about a connected peer
- Security
Config - Security configuration
Enums§
- Connection
Status - Connection status for a peer
- Network
Event - Network events that can occur
- P2PEvent
- Network events that can occur
- Trust
Level - Trust level for peer verification