Network sync refactoring (part 3) (#11347)

* Move `light.v1.proto` schema into new crate `sc-network-light`

* Move `sc_network::light_client_requests` and submodule to `sc_network_light::light_client_requests`

* Fix apparently outdated reference in documentation and visibility modifier

* Fix rustdoc check

* Update lock file
This commit is contained in:
Nazar Mokrynskyi
2022-05-14 10:17:53 +03:00
committed by GitHub
parent 685162cfd6
commit 8a45870878
16 changed files with 120 additions and 20 deletions
+20
View File
@@ -8509,6 +8509,7 @@ dependencies = [
"sc-client-api",
"sc-consensus",
"sc-network-common",
"sc-network-light",
"sc-network-sync",
"sc-peerset",
"sc-utils",
@@ -8564,6 +8565,25 @@ dependencies = [
"tracing",
]
[[package]]
name = "sc-network-light"
version = "0.10.0-dev"
dependencies = [
"futures",
"libp2p",
"log",
"parity-scale-codec",
"prost",
"prost-build",
"sc-client-api",
"sc-network-common",
"sc-peerset",
"sp-blockchain",
"sp-core",
"sp-runtime",
"thiserror",
]
[[package]]
name = "sc-network-sync"
version = "0.10.0-dev"