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: Threshold Sign #399

Open afck opened 5 years ago

afck commented 5 years ago

The current ThresholdSign tests have been adapted from the previous Coin tests, i.e. they are mainly concerned with the pseudorandom distribution of the signatures.

We should add proper tests for threshold signing in general, with different message reordering strategies (random, lowest ID first, …) and with adversaries that send invalid messages (no messages, signatures with the wrong key, signatures with the wrong payload, …).