Incorporate sc-peerset into sc-network (#14236)

This commit is contained in:
Dmitry Markin
2023-05-29 20:56:57 +03:00
committed by GitHub
parent b8bca85e9d
commit d4b2bf7394
40 changed files with 306 additions and 337 deletions
@@ -21,9 +21,8 @@ use crate::{
Network, Syncing, Validator,
};
use sc_network::{event::Event, types::ProtocolName};
use sc_network::{event::Event, types::ProtocolName, ReputationChange};
use sc_network_common::sync::SyncEvent;
use sc_peerset::ReputationChange;
use futures::{
channel::mpsc::{channel, Receiver, Sender},