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

More tests: SyncKeyGen #398

Open afck opened 5 years ago

afck commented 5 years ago

The SyncKeyGen tests currently don't include invalid messages. We should add tests with an adversary that sends incorrect messages, and cover different cases, e.g. with invalid Parts, partly invalid Parts, invalid or partly invalid Acks, Acks that don't match the Parts, etc.