Skip to content

Commit

Permalink
A0-4212: Reconstruct synchronously (#431)
Browse files Browse the repository at this point in the history
* Reconstruct synchronously

* Whoops, forgot to remove the clippy workaround

Fortunately it seems I actually used all the code.

* Numbering in docs

* Transparent results and other review fixes
  • Loading branch information
timorleph authored Apr 9, 2024
1 parent 114bdd5 commit 82151d8
Show file tree
Hide file tree
Showing 16 changed files with 1,360 additions and 928 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.36.2"
version = "0.36.3"
edition = "2021"
authors = ["Cardinal Cryptography"]
categories = ["algorithms", "data-structures", "cryptography", "database"]
Expand Down
6 changes: 3 additions & 3 deletions consensus/src/alerts/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ impl<H: Hasher, D: Data, S: Signature> Alert<H, D, S> {
}
}

// Simplified forker check, should only be called for alerts that have already been checked to
// contain valid proofs.
fn forker(&self) -> NodeIndex {
/// Simplified forker check, should only be called for alerts that have already been checked to
/// contain valid proofs.
pub fn forker(&self) -> NodeIndex {
self.proof.0.as_signable().creator()
}

Expand Down
109 changes: 0 additions & 109 deletions consensus/src/consensus.rs

This file was deleted.

Loading

0 comments on commit 82151d8

Please sign in to comment.