Skip to content

Commit ccdda99

Browse files
authored
Display more information about the DAG status in logs (#519)
1 parent 1a35839 commit ccdda99

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

consensus/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "aleph-bft"
3-
version = "0.41.0"
3+
version = "0.41.1"
44
edition = "2021"
55
authors = ["Cardinal Cryptography"]
66
categories = ["algorithms", "data-structures", "cryptography", "database"]

consensus/src/runway/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ impl<'a, H: Hasher> Display for RunwayStatus<'a, H> {
187187
if !self.missing_parents.is_empty() {
188188
write!(f, "; missing parents - {:?}", self.missing_parents)?;
189189
}
190+
write!(f, ";reconstructed DAG: {}", self.store_status)?;
191+
write!(f, ";additional information: {}", self.dag_status)?;
190192
write!(f, ".")?;
191193
Ok(())
192194
}

0 commit comments

Comments
 (0)