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
@@ -0,0 +1,20 @@
[package]
name = "substrate-consensus-aura-slots"
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Generic slots-based utilities for consensus"
edition = "2018"
[dependencies]
parity-codec = "3.0"
client = { package = "substrate-client", path = "../../../client" }
primitives = { package = "substrate-primitives", path = "../../../primitives" }
runtime_primitives = { package = "sr-primitives", path = "../../../sr-primitives" }
aura_primitives = { package = "substrate-consensus-aura-primitives", path = "../primitives" }
consensus_common = { package = "substrate-consensus-common", path = "../../common" }
inherents = { package = "substrate-inherents", path = "../../../inherents" }
futures = "0.1.17"
tokio = "0.1.7"
parking_lot = "0.7.1"
error-chain = "0.12"
log = "0.4"