Get rid of NetworkService in ChainSync (#2143)

Move peer banning from `ChainSync` to `SyncingEngine`.
This commit is contained in:
Dmitry Markin
2023-11-06 12:42:48 +02:00
committed by GitHub
parent f6ee4781f6
commit 7b06e634fe
4 changed files with 196 additions and 277 deletions
+2
View File
@@ -28,6 +28,7 @@ substrate-wasm-builder = { path = "../../../utils/wasm-builder", optional = true
[features]
default = [ "std" ]
std = [
"frame-support/std",
"frame/std",
"pallet-balances/std",
"pallet-sudo/std",
@@ -36,5 +37,6 @@ std = [
"pallet-transaction-payment/std",
"parity-scale-codec/std",
"scale-info/std",
"sp-genesis-builder/std",
"substrate-wasm-builder",
]