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

This commit is contained in:
Dmitry Markin authored and GitHub committed 2023-05-29 20:56:57 +03:00
1 parent b8bca85e9d
commit d4b2bf7394
40 files changed
+306 -337

No files matched your search

@@ -65,7 +65,7 @@ pub mod config;
pub type Transactions<E> = Vec<E>;
mod rep {
use sc_peerset::ReputationChange as Rep;
use sc_network::ReputationChange as Rep;
/// Reputation change when a peer sends us any transaction.
///
/// This forces node to verify it, thus the negative value here. Once transaction is verified,