Add show-block-production command
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user