Vladimir Komendantskiy
1dc5bb3154
Merge pull request #65 from poanetwork/afck-hash
...
Implement Hash for "public" cryptographic types.
2018-06-21 09:06:36 +01:00
Vladimir Komendantskiy
92381e485c
Merge pull request #64 from andogro/README_updates
...
Readme updates
2018-06-21 08:58:26 +01:00
Andrew Gross
6cb8197ad8
Resolved merge conflict
2018-06-20 14:22:57 -06:00
Andreas Fackler
a47123c4dd
Improve Hash impl for Ciphertext.
...
This formulation makes it harder to forget updating the `Hash`
implementation if the `Ciphertext` type changes.
2018-06-20 22:09:43 +02:00
Andreas Fackler
1f27fa6891
Implement Hash for "public" cryptographic types.
...
This adds a `Hash` implementation for public keys, commitments,
ciphertexts and signatures — types that might make sense to be included
in special transactions. The `DynamicHoneyBadger` implementation will
require some of them.
2018-06-20 22:09:43 +02:00
Andrew Gross
ace6e6e420
modified example simulation
2018-06-20 11:53:09 -06:00
Andrew Gross
830d48b95c
Updated README
2018-06-20 11:36:01 -06:00
Vladimir Komendantskiy
1d2d471d70
Merge pull request #67 from poanetwork/afck-serde
...
Rename keygen to poly, support serde by default.
2018-06-20 11:07:35 +01:00
Andreas Fackler
6484242afc
Simplify serde implementations, add Ciphertext.
2018-06-20 10:43:59 +02:00
Andreas Fackler
83f8d61402
Support serde by default.
...
This removes the `serialization-serde` feature, since serde is already
used internally and therefore a dependency anyway.
2018-06-20 10:21:52 +02:00
Andreas Fackler
c84c60d826
Rename crypto::keygen to crypto::poly.
2018-06-20 10:05:03 +02:00
Vladimir Komendantskiy
1436d85455
Merge pull request #63 from poanetwork/afck-hb-whose-batch
...
Return proposer info from HoneyBadger.
2018-06-19 09:53:52 +01:00
Andreas Fackler
9faf1d8701
Merge pull request #60 from poanetwork/afck-docs
...
Add some crate-level documentation.
2018-06-19 10:43:47 +02:00
Andrew Gross
aef7ceed0a
added rust and cargo installation instruction
2018-06-18 13:37:53 -06:00
Andrew Gross
307c94ca95
Header reorganization and spacing considerations
2018-06-18 13:34:21 -06:00
Andrew Gross
5855c4ffe7
updated links
2018-06-18 12:53:50 -06:00
Andrew Gross
bb18757d17
Updated README, added CONTRIBUTING.md file
2018-06-18 12:02:00 -06:00
Andreas Fackler
66f396e01c
Remove more NodeUid trait bounds.
...
Use a `BTreeMap` instead of `HashMap` in `NetworkInfo`. The number of
nodes can't grow very large anyway.
2018-06-18 16:37:07 +02:00
Andreas Fackler
3f707a8e12
Return proposer info from HoneyBadger.
...
Also, consistently name generic arguments, and remove some unused trait
bounds.
2018-06-18 16:19:54 +02:00
Andreas Fackler
3bf86453c3
Restructure crate-level docs, replace honest with correct.
2018-06-15 17:52:17 +02:00
Andreas Fackler
e392f4c3af
Add some crate-level documentation.
2018-06-14 17:44:43 +02:00
Andreas Fackler
2e7fd91a1b
Merge pull request #59 from poanetwork/vk-common-coin-by-DKG
...
Common coin
2018-06-14 16:04:01 +02:00
Vladimir Komendantskiy
3ed63a1507
formatting
2018-06-14 14:10:05 +01:00
Vladimir Komendantskiy
f2a03f8f04
corrected the agreement test proposer ID
2018-06-14 13:45:58 +01:00
Vladimir Komendantskiy
82b4250f0d
added the broadcast proposer ID in the common coin nonce
2018-06-14 13:36:48 +01:00
Vladimir Komendantskiy
994600bcf6
renamed a fn argument for readability
2018-06-14 12:43:18 +01:00
Vladimir Komendantskiy
3393052b4b
review comment coverage
2018-06-14 12:28:38 +01:00
Vladimir Komendantskiy
5008d11ada
Revert "the set of node indices of common coin shares is now computed only once"
...
This reverts commit e9808efc61
.
2018-06-14 10:05:05 +01:00
Vladimir Komendantskiy
e9808efc61
the set of node indices of common coin shares is now computed only once
2018-06-13 22:05:11 +01:00
Vladimir Komendantskiy
b82ac64148
note in the broadcast example about the use of keys
2018-06-13 18:24:35 +01:00
Vladimir Komendantskiy
87485c2eb1
optimised tests to execute faster - needed by pairing computations
2018-06-13 15:18:27 +01:00
Vladimir Komendantskiy
04b7365ed9
updated the examples with the keys
2018-06-13 15:18:27 +01:00
Vladimir Komendantskiy
4dbef3968d
fixed early update of Agreement epoch
2018-06-13 15:18:27 +01:00
Vladimir Komendantskiy
d5794cb5fe
extended the common coin nonce with a global UID and the top-level epoch
2018-06-13 15:18:27 +01:00
Vladimir Komendantskiy
e116c6c171
added tests for the common coin
2018-06-13 15:17:11 +01:00
Vladimir Komendantskiy
f4b6c90c8c
added a queue of incoming common coin signature shares
2018-06-13 15:17:11 +01:00
Vladimir Komendantskiy
94049e8636
fixed propagation of common coin messages to the top level
2018-06-13 15:17:11 +01:00
Vladimir Komendantskiy
40eeee90fc
protobuf serialization
2018-06-13 15:17:11 +01:00
Vladimir Komendantskiy
122f1fc6f1
updated the tests with key initialisation
2018-06-13 15:15:41 +01:00
Vladimir Komendantskiy
cf45a4e3cb
common coin implementation
2018-06-13 15:15:41 +01:00
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