Refactor aura and generalize slot worker (#1632)

* Refactor aura and generalize slot worker

* Fix bound issues

* Change copyright to 2019

* Write deps minor version

* Don't pass inherent_data_providers

* Revert "Write deps minor version"

This reverts commit 6d886702a899bfbdbbc609c0536e8abab2bc012c.

* Fix merge issues
This commit is contained in:
Wei Tang
2019-02-04 11:32:21 +01:00
committed by Gav Wood
parent 4ea3ac1c4a
commit 1a3fa9eb68
6 changed files with 523 additions and 294 deletions
+19
View File
@@ -3531,6 +3531,7 @@ dependencies = [
"srml-support 0.1.0",
"substrate-client 0.1.0",
"substrate-consensus-aura-primitives 0.1.0",
"substrate-consensus-aura-slots 0.1.0",
"substrate-consensus-common 0.1.0",
"substrate-executor 0.1.0",
"substrate-inherents 0.1.0",
@@ -3555,6 +3556,24 @@ dependencies = [
"substrate-primitives 0.1.0",
]
[[package]]
name = "substrate-consensus-aura-slots"
version = "0.1.0"
dependencies = [
"error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
"futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-primitives 0.1.0",
"substrate-client 0.1.0",
"substrate-consensus-aura-primitives 0.1.0",
"substrate-consensus-common 0.1.0",
"substrate-inherents 0.1.0",
"substrate-primitives 0.1.0",
"tokio 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "substrate-consensus-common"
version = "0.1.0"