Add show-block-production command

This commit is contained in:
Michael Vines
2019-12-18 11:38:54 -07:00
parent 05664d150b
commit ff171baa67
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