Vladimir Komendantskiy
10dbf705e4
using serde derive feature
2019-04-02 12:42:51 +02:00
Andreas Fackler
108ac574bb
Migrate to rand 0.6. ( #368 )
...
* Migrate to rand 0.6.
* Prefer SliceRandom where it makes sense.
2018-12-27 10:34:34 +01:00
Demi Marie Obenour
7fb172cda2
Switch to 2018 edition idioms ( #359 )
...
* Switch to 2018 edition idioms
* Fix build with Rust 2018.
* Remove unnecessary cloning, make `max_faulty` const.
* Remove unneeded `extern crate` statements.
2018-12-11 14:44:36 +01:00
Andreas Fackler
b2071fe2be
Extend the documentation, simplify errors.
...
This changes and adds several doc comments, adds the `missing_docs` lint
and simplifies some of the error types.
2018-11-27 12:25:50 +01:00
Andreas Fackler
ae37879239
Remove the random_value option.
2018-11-22 13:07:58 +01:00
Andreas Fackler
30cce9bed8
Add a random_value option to HB and DHB.
...
This includes a threshold signature in each batch that can be used as a
pseudorandom value.
Also moves `EncryptionSchedule` from `threshold_decrypt` to
`honey_badger`.
2018-11-12 14:16:21 +01:00
Andreas Fackler
d0b96f2dc8
Simplify the sender queue.
...
Remove the distinction between linearized and regular epochs.
Avoid iterating through the whole outgoing queue on epoch change.
2018-11-08 13:14:43 +01:00
Andrew Lyjak
9a8836cf15
Rename `ThresholdDecryption` to `ThresholdDecrypt`
2018-11-07 11:13:10 -05:00
Vladimir Komendantskiy
3deb5f1bce
refactored an error! by adding linearizable epochs and wrote a comment on eras
2018-11-05 11:11:00 +00:00
Vladimir Komendantskiy
ee46dd4b81
sender queue implementation
2018-11-05 11:11:00 +00:00
Andreas Fackler
df36258715
Instead of macro_use, use use.
2018-10-30 08:11:03 +01:00
Vladimir Komendantskiy
af05c44659
Revert "Spam protection part 1: remote epoch tracking in HoneyBadger ( #219 )"
...
This reverts commit b649dc6268
.
2018-10-10 11:31:50 +02:00
Vladimir Komendantskiy
b649dc6268
Spam protection part 1: remote epoch tracking in HoneyBadger ( #219 )
...
* spam protection part 1: remote epoch tracking in HoneyBadger
* moved handling of EpochStarted out of EpochState
* allowed EpochStarted from observers
* removed an unnecessary function call
* updated formatting to beta
* removed an unnecessary variable
2018-09-03 11:29:03 +01:00
Andreas Fackler
d93ea7b561
Rename CommonSubset to Subset.
2018-08-22 16:20:09 -07:00
Andreas Fackler
46a8728792
Split out Threshold Decryption from Honey Badger.
2018-08-06 10:50:30 -07:00
c0gent
697ba6f0a8
Add common supertraits and rename related type parameters.
...
* Add the `Contribution`, `NodeUidT`, and `Message` supertraits.
* Rename type parameters:
* `Tx` -> `T` or `C`
* `NodeUid` -> `N`
2018-08-02 14:52:12 -07:00
Andreas Fackler
5591f5ebd0
Split honey_badger into submodules.
2018-08-01 09:56:18 +02:00