Module layer

Module layer 

Source
Expand description

This module defines the NetworkLayer, which is the main entry point for interacting with the network.

It is responsible for creating and managing the libp2p Swarm, and for handling network events.

Re-exportsยง

pub use state::NetworkLayer;

Modulesยง

builder ๐Ÿ”’
This module contains the builder logic for the NetworkLayer.
providers ๐Ÿ”’
This module contains functions for interacting with the Kademlia DHT.
runtime ๐Ÿ”’
This module contains the runtime logic for the NetworkLayer.
state ๐Ÿ”’
This module defines the state of the NetworkLayer.