An implementation of the paper "Honey Badger of BFT Protocols" in Rust. This is a modular library of consensus.
357
stars
96
forks
source link
Change the `Target` variants for less cloning and less duplicated code. #408
Closed
afck closed 5 years ago
With #405,
Target::All
is somewhat redundant, since it is identical toTarget::AllExcept(BTreeSet::new())
.Possibly we should also replace the
Node
variant with aNodes(BTreeSet<N>)
, to avoid unnecessarily cloning messages.And we should double-check whether
BTreeSet
is the right choice; oftenVec
is faster.