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

Don't drop re-added peers from sender queue. #391

Closed afck closed 5 years ago

afck commented 5 years ago

If a previously removed peer gets added back as a validator, SenderQueue now removes that peer from last_epochs, so it doesn't drop it later.

(Also minor cleanups in the net_dynamic_hb test module.)

Closes #390.