Add grandpa telemetry (+ other minor improvements) (#1997)

* Support skipping the interactive purge prompt

Skip it via `cargo run -- purge-chain -y`.

* Fix typos

* Add Grandpa telemetry

* Address comments

* Revert unnecessary version bump

* Version bump to make CI run

* Remove unnecessary cast

* Do not bump version
This commit is contained in:
Michael Müller
2019-03-15 15:04:01 +01:00
committed by Bastian Köcher
parent 35a67b31e5
commit c52c528ee8
31 changed files with 139 additions and 45 deletions
@@ -315,7 +315,7 @@ impl<B: BlockT> ConsensusGossip<B> {
use std::collections::hash_map::Entry;
let engine_id = message.engine_id;
//validate the message
// validate the message
let (topic, status) = match self.validators.get(&engine_id)
.map(|v| v.validate(&message.data))
{