Module libp2p_networking::network::node
source · Expand description
functionality of a libp2p network node
Re-exports§
pub use self::config::GossipConfig;
pub use self::config::NetworkNodeConfig;
pub use self::config::NetworkNodeConfigBuilder;
pub use self::config::NetworkNodeConfigBuilderError;
pub use self::config::RequestResponseConfig;
pub use self::config::DEFAULT_REPLICATION_FACTOR;
pub use self::handle::spawn_network_node;
pub use self::handle::NetworkNodeHandle;
pub use self::handle::NetworkNodeReceiver;
Modules§
- config 🔒configuration for the libp2p network (e.g. how it should be built)
- handle 🔒libp2p network handle allows for control over the libp2p network
Structs§
- Network definition
Constants§
- Wrapped num of connections
- Number of connections to a single peer before logging an error
- Maximum size of a message