Various small improvements to service construction. (#6738)

* Remove service components and add build_network, build_offchain_workers etc

* Improve transaction pool api

* Remove commented out line

* Add PartialComponents

* Add BuildNetworkParams, documentation

* Remove unused imports in tests

* Apply suggestions from code review

Co-authored-by: Nikolay Volf <nikvolf@gmail.com>

* Remove unused imports in node-bench

Co-authored-by: Nikolay Volf <nikvolf@gmail.com>
This commit is contained in:
Ashley
2020-07-28 15:21:33 +02:00
committed by GitHub
parent 97f400f0f0
commit 9220b646d2
17 changed files with 401 additions and 326 deletions
+1
View File
@@ -53,6 +53,7 @@ sp-session = { version = "2.0.0-rc5", path = "../../primitives/session" }
sp-state-machine = { version = "0.8.0-rc5", path = "../../primitives/state-machine" }
sp-application-crypto = { version = "2.0.0-rc5", path = "../../primitives/application-crypto" }
sp-consensus = { version = "0.8.0-rc5", path = "../../primitives/consensus/common" }
sp-inherents = { version = "2.0.0-rc5", path = "../../primitives/inherents" }
sc-network = { version = "0.8.0-rc5", path = "../network" }
sc-chain-spec = { version = "2.0.0-rc5", path = "../chain-spec" }
sc-light = { version = "2.0.0-rc5", path = "../light" }