Merge the protocol thread with the network thread (#2475)

* Remove the Incoming enum

* Use tokio in the protocol background thread

* Some internal protocol logic simplifications

* Merge the protocol thread with the network thread

* More the status_sinks logic to Service

* Remove FromNetworkMsg
This commit is contained in:
Pierre Krieger
2019-05-08 13:49:29 +02:00
committed by GitHub
parent 9fc1db3280
commit c3f20bf226
5 changed files with 188 additions and 200 deletions
+1
View File
@@ -31,6 +31,7 @@ peerset = { package = "substrate-peerset", path = "../../core/peerset" }
tokio = "0.1.11"
keyring = { package = "substrate-keyring", path = "../../core/keyring", optional = true }
test_client = { package = "substrate-test-client", path = "../../core/test-client", optional = true }
void = "1.0"
[dev-dependencies]
env_logger = { version = "0.6" }