Generalize the Consensus Infrastructure (#883)

* Split out Consensus
* Supply ImportQueue through network-service
  - simplify ImportQueue.import_blocks
  - remove Deadlock on import_block
  - Adding Verifier-Trait
  - Implement import_queue provisioning in service; allow cli to import
* Allow to actually customize import queue
* Consensus Gossip: Cache Message hash per Topic
This commit is contained in:
Benjamin Kampmann
2018-10-16 13:40:33 +02:00
committed by GitHub
parent a24e61cb29
commit ac4bcf879f
61 changed files with 1937 additions and 3306 deletions
-2
View File
@@ -16,7 +16,6 @@ sr-io = { path = "../../core/sr-io", default-features = false }
sr-primitives = { path = "../../core/sr-primitives", default-features = false }
srml-support = { path = "../support", default-features = false }
srml-balances = { path = "../balances", default-features = false }
srml-consensus = { path = "../consensus", default-features = false }
srml-system = { path = "../system", default-features = false }
[features]
@@ -31,7 +30,6 @@ std = [
"sr-io/std",
"srml-support/std",
"sr-primitives/std",
"srml-consensus/std",
"srml-balances/std",
"srml-system/std",
]