57 Commits

Author SHA1 Message Date
mjalalzai
89c4960ead Building QC or Timeout QC 2023-10-15 23:12:26 -07:00
mjalalzai
7c9992942b update view using timeout QC 2023-10-15 16:50:24 -07:00
mjalalzai
c5e531b161 Building timeout QC 2023-10-15 16:45:00 -07:00
mjalalzai
213b2c079e Overlay 2023-10-15 12:58:11 -07:00
mjalalzai
245c4cd73d Receive timeout QC 2023-10-15 12:33:44 -07:00
mjalalzai
6686613663 propose_block 2023-10-08 22:16:55 -07:00
mjalalzai
5a3c9d5f4e propose_block 2023-10-08 22:16:41 -07:00
mjalalzai
f1a4e04a47 propose_block 2023-10-08 22:13:55 -07:00
mjalalzai
edcd45b437 propose_block 2023-10-04 20:38:14 -07:00
mjalalzai
a34b2ed14e propose_block 2023-10-04 20:37:17 -07:00
mjalalzai
19d80200dc propose_block 2023-10-04 20:35:58 -07:00
mjalalzai
4b42bf21a1 propose_block 2023-10-04 20:34:59 -07:00
mjalalzai
3361e2a667 propose_block 2023-10-04 20:34:05 -07:00
mjalalzai
78c83c01a7 forward_new_view 2023-10-04 19:16:55 -07:00
mjalalzai
e76fe84283 forward_vote 2023-10-04 19:08:55 -07:00
mjalalzai
5c9cc38601 forward_vote 2023-10-04 19:08:42 -07:00
mjalalzai
9000b6fdb6 forward_vote 2023-10-04 18:59:43 -07:00
mjalalzai
abb0f545d0 build_qc 2023-10-04 18:15:00 -07:00
mjalalzai
ceea890abf Verifying committee member 2023-10-04 15:11:03 -07:00
mjalalzai
1a0d66a2bc Verifying committee member 2023-09-28 17:18:12 -07:00
mjalalzai
aeb83ce2e8 update fixing Event and add Approve Block 2023-09-28 14:31:54 -07:00
mjalalzai
8a337e5963 update timeout_qc 2023-09-28 14:13:26 -07:00
mjalalzai
d0027ba63a update timeout_qc 2023-09-27 21:01:48 -07:00
mjalalzai
b0ab18cf5c update high_qc 2023-09-27 20:45:05 -07:00
mjalalzai
a9dae057ed update high_qc 2023-09-27 16:47:08 -07:00
mjalalzai
0ce5f2dc40 update high_qc 2023-09-27 16:22:45 -07:00
mjalalzai
99fcf2989a TypeAlias 2023-09-24 17:29:05 -07:00
mjalalzai
a5b7c54ccd Safe block 2023-09-21 19:43:37 -07:00
mjalalzai
d00eae4c2c Safe block 2023-09-21 19:34:06 -07:00
mjalalzai
8d0a1e4701 Carnot 2023-09-21 17:59:25 -07:00
mjalalzai
dd29051497 Carnot 2023-09-20 14:19:41 -07:00
mjalalzai
baa33e62e4 Data classes 2023-09-17 15:36:13 -07:00
mjalalzai
73a421cc73 Data classes 2023-09-17 11:42:17 -07:00
mjalalzai
84e85c7edf Data classes 2023-09-17 11:22:10 -07:00
mjalalzai
f5d27cd5ca Data classes 2023-09-17 10:40:44 -07:00
mjalalzai
4e9946b548 Data classes 2023-09-17 10:20:46 -07:00
mjalalzai
824e9a8e07 Data classes 2023-09-17 09:53:49 -07:00
Daniel Sanchez
f635996d10
Tree overlay (#34)
* Start implementing TreeOverlay

* Implement tree overlay

* Add basic tests

* Fixes

* Fill leaves with extra nodes one by one

* Handle missing optional value

* Parenting fixes

* Parenting tests

* Remove unnecesary number of committes

* Fill from root committee

* Adapt tests to root filling

* Root parent is None

* Typo: committee_idx

* Fix leader supermajority threshold

* Fix type signature on building committee data

* Use plain carnot tree for carnot tree tests

* Add tree implementation explanation

* Fmt

* Use blake2b

* Fix idx signature on membership committees

* Check on committee child existence
2023-07-04 12:10:48 +02:00
Alexander Mozeika
4320e3aaa3
Merge pull request #35 from logos-co/committee-sizes-AM
Added description  and reviewed  comm. sizes  algorithm
2023-06-27 18:29:22 +01:00
Alexander Mozeika
380af083ea
Merge branch 'master' into committee-sizes-AM 2023-06-27 18:28:29 +01:00
Daniel Sanchez
9b87f8e733
Committee sizes computation (#33)
* Added optimal number of committees and sizes function

* Remove main

* Extract common scope code snippet

* Fmt
2023-06-27 17:39:31 +02:00
Alexander Mozeika
90ab66a4dc
Added algorithm description 2023-06-27 15:14:15 +01:00
Alexander Mozeika
8e05937715
Edited comments 2023-06-27 14:10:35 +01:00
danielsanchezq
143c009e8e Fmt 2023-06-27 14:10:39 +02:00
danielsanchezq
18c8407edb Extract common scope code snippet 2023-06-27 13:12:06 +02:00
danielsanchezq
7528506b21 Remove main 2023-06-23 11:05:15 +02:00
danielsanchezq
3d0aa49b9e Added optimal number of committees and sizes function 2023-06-23 10:36:33 +02:00
Youngjoon Lee
a4d07256d6
test: make the committed_blocks test more strict (#31) 2023-06-07 17:04:30 +09:00
Daniel Sanchez
630dd3ac5c
EntropyOverlay refactor (#30)
* Refactor FlatOverlay

* Refactor EntropyOverlay and usages
2023-05-30 21:15:56 +02:00
Giacomo Pasini
34617dc911
Random Beacon revision (#29)
* Random Beacon revision

This is a proposed revision of the random beacon specification.
First of all it fixes a few little mistakes in the signing
process:
* Use BasicSchemeMPL instead of PoPSchemeMPL since we don't use
  Proof of Possession.
* Hashing the values prior to the call to BasicSchemeMPL.sing()
  is not necessary. This step has been removed.

In addition, all data inside the random beacon state that
anyone willing to verify must know anyway has been removed.
In the current version this includes the 'context' and the public
key of the signer. The verifier has to independently check that
those values have been correctly obtained anyway, so there's no
need to include them in the state that is passed around.

Lastly, the beacon context view has been changed from using a
string encoding to a little endian variable-length encoding and
is now tied to qc.view instead of current_view of the processing
node.

* actually use the version const
2023-05-25 10:26:35 +02:00