Vladimir Komendantskiy
b6587a21e8
get_coin interface to Common Coin
2018-06-13 15:09:12 +01:00
Vladimir Komendantskiy
17dc9df78e
Common Coin module template; added keys in NetworkInfo
2018-06-13 15:09:12 +01:00
Vladimir Komendantskiy
818697ad46
Merge pull request #58 from poanetwork/afck-keygen
...
Implement polynomials for distributed key generation. (#47 )
2018-06-13 15:07:07 +01:00
Andreas Fackler
6cc2302e61
Implement polynomials for distributed key generation.
2018-06-11 16:45:08 +02:00
Vladimir Komendantskiy
d1362ed500
Merge pull request #56 from poanetwork/vk-term-agreement
...
Added Term messages in Agreement and enabled early termination
2018-06-08 09:06:46 +01:00
Vladimir Komendantskiy
dc4475ba82
for each node, never count both Aux and Term messages
2018-06-07 20:29:51 +01:00
Vladimir Komendantskiy
138eaafe79
Merge pull request #53 from poanetwork/afck-simulation
...
Add bandwidth and CPU to the simulation.
2018-06-07 20:17:03 +01:00
Vladimir Komendantskiy
35d5ad106a
added Term messages in Agreement and enabled early termination
2018-06-07 20:06:44 +01:00
Andreas Fackler
015381c88c
Print messages and total message size per node in simulation.
2018-05-31 17:22:30 +02:00
Andreas Fackler
cf9521c565
Don't return an error on deserialization failure.
2018-05-31 16:32:54 +02:00
Andreas Fackler
b090dfaf22
Specify CPU speed in simulation, not the inverse.
2018-05-31 15:47:32 +02:00
Andreas Fackler
57533e17c2
Simplify example exit condition.
2018-05-31 14:49:16 +02:00
Andreas Fackler
fc599232aa
Add logging to simulation example.
2018-05-31 14:28:10 +02:00
Andreas Fackler
f970272d3e
Add bandwidth and CPU to the simulation.
2018-05-31 14:28:10 +02:00
Vladimir Komendantskiy
5e38582828
Merge pull request #52 from poanetwork/afck-errors
...
Make Broadcast handle large payloads, change some errors.
2018-05-31 09:35:37 +01:00
Andreas Fackler
1fd7155e31
Remove unused CommonSubset error variants.
2018-05-31 09:37:00 +02:00
Andreas Fackler
9859002e1b
Don't panic on shards of unequal size.
2018-05-31 09:12:15 +02:00
Andreas Fackler
bb61d0c5ab
Ignore messages in Agreement after termination.
2018-05-30 17:33:24 +02:00
Andreas Fackler
f700ae82d0
Remove unused code from CommonSubset.
2018-05-30 15:50:16 +02:00
Andreas Fackler
c91fa13213
Make Broadcast handle large payloads.
2018-05-30 15:40:15 +02:00
Andreas Fackler
2bd1269366
Merge pull request #46 from poanetwork/afck-threshold-sig
...
Implement threshold signatures and encryption.
2018-05-30 15:20:43 +02:00
Andreas Fackler
a0a8582f0b
Expand crypto tests.
2018-05-30 14:15:54 +02:00
Andreas Fackler
661bae6438
Implement threshold encryption.
2018-05-30 13:50:09 +02:00
Andreas Fackler
45a7c07106
Implement simple encryption.
2018-05-30 11:42:17 +02:00
Andreas Fackler
0017a2a7c0
Make public keys and signatures serializable.
2018-05-30 10:08:43 +02:00
Andreas Fackler
56ab6a5037
Simplify hash_g2.
2018-05-29 21:59:21 +02:00
Andreas Fackler
527b1c8c17
Use SHA256 and byteorder in hash_g2.
2018-05-29 17:59:50 +02:00
Andreas Fackler
d999792234
Implement threshold signatures.
2018-05-29 17:06:02 +02:00
Andreas Fackler
94d52ebbbb
Merge pull request #49 from poanetwork/vk-node-id-and-network-size
...
Shared node ID and network size info among subalgorithms
2018-05-29 16:39:53 +02:00
Vladimir Komendantskiy
ede1c7d157
moved the own ID membership test to the NetworkInfo constructor
2018-05-29 14:58:17 +01:00
Vladimir Komendantskiy
98f5304d4c
top-level interface now requires providing a NetworkInfo parameter
2018-05-29 14:53:01 +01:00
Vladimir Komendantskiy
938d2f5c16
added a note about the use of NetworkInfo in tests
2018-05-29 14:53:01 +01:00
Vladimir Komendantskiy
d09f3e26b4
introduced common shared network information
2018-05-29 14:53:01 +01:00
Vladimir Komendantskiy
332d5fbbe3
Merge pull request #50 from poanetwork/afck-simulation
...
Add message counting to the simulation.
2018-05-29 14:28:39 +01:00
Andreas Fackler
4b143828dd
Add message counting to the simulation.
2018-05-29 15:11:32 +02:00
Andreas Fackler
9de4713de3
Merge pull request #44 from poanetwork/vk-conf-round
...
Added a CONF round
2018-05-28 13:07:26 +02:00
Vladimir Komendantskiy
2aac22f083
comment updates
2018-05-28 11:54:37 +01:00
Vladimir Komendantskiy
82643fb442
formatting
2018-05-24 19:48:10 +01:00
Vladimir Komendantskiy
67c7bf4f8b
updated protobuf serialisation
2018-05-24 19:11:56 +01:00
Vladimir Komendantskiy
111ed03a47
review comments taken into account
2018-05-24 18:52:58 +01:00
Vladimir Komendantskiy
43a47e1f46
lints checked
2018-05-23 23:19:48 +01:00
Vladimir Komendantskiy
72d5cecbb9
Fixed non-termination in the suggested Cobalt fix.
...
The non-termination was due to the direct use of `bin_values` when invoking the
common coin. The fix amounts to making the CONF round depend only on the subset
of `bin_values` sent in the CONF message.
2018-05-23 23:00:19 +01:00
Vladimir Komendantskiy
751bb57ace
CONF round added to Agreement
2018-05-23 18:38:33 +01:00
Andreas Fackler
7ad37f9029
Merge pull request #36 from poanetwork/afck-rust-update
...
Update Rust, re-enable rustfmt.
2018-05-21 11:43:45 +02:00
Andreas Fackler
9a0622f3f2
Update Rust, re-enable rustfmt.
2018-05-21 11:26:42 +02:00
Vladimir Komendantskiy
4e00894853
Merge pull request #35 from poanetwork/add-error-chain-crate
...
Added error-chain error handling.
2018-05-21 08:25:37 +01:00
Peter van Nostrand
1930ea8b7d
Fixed a typo commst.rs.
2018-05-20 19:52:18 -04:00
Peter van Nostrand
465f17d9a5
Bumped reed-solomon-erasure crate version, fixed Protobuf error in example.
2018-05-20 19:39:47 -04:00
Peter van Nostrand
19b982284b
Added error-chain error handling.
2018-05-20 07:51:33 -04:00
Andreas Fackler
d223668561
Merge pull request #34 from poanetwork/afck-agreement
...
Extend tests and fix CommonSubset.
2018-05-19 17:51:02 +02:00