Fantom-foundation / lachesis-rs

Lachesis BFT consensus for permission-less networks, in Rust
MIT License
34 stars 5 forks source link

Implement `Hash` trait for `EventHash` #7

Closed AgustinCB closed 6 years ago

AgustinCB commented 6 years ago

Right now I coded EventHash to work with BTree* structures because order is important in certain situations.

However, that means I used BTree* structures where Hash* structures would have been more efficient. If we implement the trait Hash in EventHash we can use both where it makes sense.

AgustinCB commented 6 years ago

I'll take this one.