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
+3 -3
View File
@@ -625,7 +625,7 @@ macro_rules! impl_outer_log {
}
impl $crate::codec::Decode for $name {
/// `generic::DigestItem` binray compatible decode.
/// `generic::DigestItem` binary compatible decode.
fn decode<I: $crate::codec::Input>(input: &mut I) -> Option<Self> {
let gen: $crate::generic::DigestItem<$($genarg),*> =
$crate::codec::Decode::decode(input)?;
@@ -634,7 +634,7 @@ macro_rules! impl_outer_log {
}
impl $crate::codec::Encode for $name {
/// `generic::DigestItem` binray compatible encode.
/// `generic::DigestItem` binary compatible encode.
fn encode(&self) -> Vec<u8> {
match self.dref() {
Some(dref) => dref.encode(),
@@ -665,7 +665,7 @@ macro_rules! impl_outer_log {
};
}
/// Simple blob to hold an extrinsic without commiting to its format and ensure it is serialized
/// Simple blob to hold an extrinsic without committing to its format and ensure it is serialized
/// correctly.
#[derive(PartialEq, Eq, Clone, Default, Encode, Decode)]
#[cfg_attr(feature = "std", derive(Debug))]