Skip to content
Snippets Groups Projects
Commit 2453e25f authored by klbrvik's avatar klbrvik Committed by GitHub
Browse files

expose transport, peer_info and discovery in sc-network (#14132)

* expose transport, peer_info and discovery in sc-network

* fix fmt

* add missing module docs
parent bd45542b
Branches
No related merge requests found
......@@ -243,17 +243,17 @@
//! More precise usage details are still being worked on and will likely change in the future.
mod behaviour;
mod discovery;
mod peer_info;
mod protocol;
mod service;
mod transport;
pub mod config;
pub mod discovery;
pub mod error;
pub mod event;
pub mod network_state;
pub mod peer_info;
pub mod request_responses;
pub mod transport;
pub mod types;
pub mod utils;
......
......@@ -16,6 +16,9 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
//! [`PeerInfoBehaviour`] is implementation of `NetworkBehaviour` that holds information about peers
//! in cache.
use crate::utils::interval;
use either::Either;
......
......@@ -16,6 +16,8 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
//! Transport that serves as a common ground for all connections.
use either::Either;
use libp2p::{
core::{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment