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
Node - Network definition
Constants§
- ESTABLISHED_
LIMIT - Wrapped num of connections
- ESTABLISHED_
LIMIT_ UNWR - Number of connections to a single peer before logging an error
- MAX_
GOSSIP_ MSG_ SIZE - Maximum size of a message