Add commitment Root variant, and add fleshed out --commitment arg to Cli (#9806)
automerge
This commit is contained in:
@ -25,6 +25,12 @@ impl CommitmentConfig {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn root() -> Self {
|
||||
Self {
|
||||
commitment: CommitmentLevel::Root,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn ok(self) -> Option<Self> {
|
||||
if self == Self::default() {
|
||||
None
|
||||
@ -39,4 +45,5 @@ impl CommitmentConfig {
|
||||
pub enum CommitmentLevel {
|
||||
Max,
|
||||
Recent,
|
||||
Root,
|
||||
}
|
||||
|
Reference in New Issue
Block a user