Add show-block-production command (#7562)

automerge
This commit is contained in:
mergify[bot]
2019-12-18 23:39:38 -08:00
committed by Grimes
parent 771e1e3a71
commit 9677b602e7
4 changed files with 166 additions and 4 deletions

View File

@@ -19,6 +19,12 @@ impl CommitmentConfig {
}
}
pub fn max() -> Self {
Self {
commitment: CommitmentLevel::Max,
}
}
pub fn ok(&self) -> Option<Self> {
if self == &Self::default() {
None