Change network::sync::extra_requests to not send. (#2890)

* Change network::sync::extra_requests to not send.

Instead it only maintains the invariants and leaves the actual I/O part
to the parent module (i.e. `sync`).

* Update Cargo.lock.
This commit is contained in:
Toralf Wittner
2019-06-18 10:35:28 +02:00
committed by Arkadiy Paronyan
parent 7eb2ff760a
commit dc41558b6e
5 changed files with 417 additions and 374 deletions
+2
View File
@@ -46,6 +46,8 @@ zeroize = "0.6.0"
[dev-dependencies]
env_logger = { version = "0.6" }
keyring = { package = "substrate-keyring", path = "../../core/keyring" }
quickcheck = "0.8.5"
rand = "0.6.5"
test-client = { package = "substrate-test-runtime-client", path = "../../core/test-runtime/client" }
test_runtime = { package = "substrate-test-runtime", path = "../../core/test-runtime" }
consensus = { package = "substrate-consensus-common", path = "../../core/consensus/common", features = ["test-helpers"] }