poanetwork / hbbft

An implementation of the paper "Honey Badger of BFT Protocols" in Rust. This is a modular library of consensus.
Other
356 stars 96 forks source link

Fix BA message handling on epoch change. #394

Closed afck closed 5 years ago

afck commented 5 years ago

Binary agreement erroneously kept handling queued incoming messages for an epoch n, even if during the handling, the epoch was incremented to n + 1. This caused DuplicateAux faults in the tests, but it could potentially break consensus.

Closes #392.