mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 05:21:08 +00:00
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
This commit is contained in:
@@ -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::{
|
||||
|
||||
Reference in New Issue
Block a user