mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 10:41:09 +00:00
Incorporate sc-peerset into sc-network (#14236)
This commit is contained in:
@@ -23,7 +23,6 @@ pin-project = "1.0.12"
|
||||
prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.10.0-dev", path = "../../../utils/prometheus" }
|
||||
sc-network-common = { version = "0.10.0-dev", path = "../common" }
|
||||
sc-network = { version = "0.10.0-dev", path = "../" }
|
||||
sc-peerset = { version = "4.0.0-dev", path = "../../peerset" }
|
||||
sp-runtime = { version = "8.0.0", path = "../../../primitives/runtime" }
|
||||
sp-consensus = { version = "0.10.0-dev", path = "../../../primitives/consensus/common" }
|
||||
sp-statement-store = { version = "4.0.0-dev", path = "../../../primitives/statement-store" }
|
||||
|
||||
@@ -62,7 +62,7 @@ pub type Statements = Vec<Statement>;
|
||||
pub type StatementImportFuture = oneshot::Receiver<SubmitResult>;
|
||||
|
||||
mod rep {
|
||||
use sc_peerset::ReputationChange as Rep;
|
||||
use sc_network::ReputationChange as Rep;
|
||||
/// Reputation change when a peer sends us any statement.
|
||||
///
|
||||
/// This forces node to verify it, thus the negative value here. Once statement is verified,
|
||||
|
||||
Reference in New Issue
Block a user