Skip to content

Commit

Permalink
A0-2884: Refactor alerter (#315)
Browse files Browse the repository at this point in the history
Refactor alerter so that it is split into `Service` which has only 1 `async` method `run` and synchronous `Handler` which handles the data which passes through the `Service`.
  • Loading branch information
woocash2 authored Aug 21, 2023
1 parent 0bbbdf5 commit 0ee89dc
Show file tree
Hide file tree
Showing 11 changed files with 1,052 additions and 954 deletions.
4 changes: 2 additions & 2 deletions 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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ More details are available [in the book][reference-link-implementation-details].
- Import AlephBFT in your crate
```toml
[dependencies]
aleph-bft = "^0.24"
aleph-bft = "^0.25"
```
- The main entry point is the `run_session` function, which returns a Future that runs the
consensus algorithm.
Expand Down
4 changes: 2 additions & 2 deletions consensus/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "aleph-bft"
version = "0.24.1"
version = "0.25.0"
edition = "2021"
authors = ["Cardinal Cryptography"]
categories = ["algorithms", "data-structures", "cryptography", "database"]
Expand All @@ -13,7 +13,7 @@ readme = "../README.md"
description = "AlephBFT is an asynchronous and Byzantine fault tolerant consensus protocol aimed at ordering arbitrary messages (transactions). It has been designed to continuously operate even in the harshest conditions: with no bounds on message-delivery delays and in the presence of malicious actors. This makes it an excellent fit for blockchain-related applications."

[dependencies]
aleph-bft-rmc = { path = "../rmc", version = "0.7" }
aleph-bft-rmc = { path = "../rmc", version = "0.8" }
aleph-bft-types = { path = "../types", version = "0.8" }
anyhow = "1.0"
async-trait = "0.1"
Expand Down
Loading

0 comments on commit 0ee89dc

Please sign in to comment.