Move block proposing execution to dedicated blocking threadpool (#4202)

* Move block proposing execution to dedicated blocking threadpool

* typo: move comments around

* Fix tests
This commit is contained in:
Wei Tang
2019-11-26 20:00:00 +01:00
committed by GitHub
parent c7d9c58ce8
commit b362be3ff3
3 changed files with 72 additions and 34 deletions
@@ -17,6 +17,8 @@ inherents = { package = "substrate-inherents", path = "../../primitives/inherent
substrate-telemetry = { path = "../telemetry" }
transaction_pool = { package = "substrate-transaction-pool", path = "../transaction-pool" }
block-builder = { package = "substrate-block-builder", path = "../block-builder" }
tokio-executor = { version = "0.2.0-alpha.6", features = ["blocking"] }
[dev-dependencies]
test-client = { package = "substrate-test-runtime-client", path = "../../test/utils/runtime/client" }
parking_lot = "0.9"