Skip to content

Commit

Permalink
Display more information about the DAG status in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
timorleph committed Jan 10, 2025
1 parent 71f0314 commit f90959b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion consensus/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "aleph-bft"
version = "0.40.0"
version = "0.40.1"
edition = "2021"
authors = ["Cardinal Cryptography"]
categories = ["algorithms", "data-structures", "cryptography", "database"]
Expand Down
2 changes: 2 additions & 0 deletions consensus/src/runway/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ impl<'a, H: Hasher> Display for RunwayStatus<'a, H> {
if !self.missing_parents.is_empty() {
write!(f, "; missing parents - {:?}", self.missing_parents)?;
}
write!(f, ";reconstructed DAG: {}", self.store_status)?;
write!(f, ";additional information: {}", self.dag_status)?;
write!(f, ".")?;
Ok(())
}
Expand Down

0 comments on commit f90959b

Please sign in to comment.