This repository was archived by the owner on Feb 27, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 72
Integrate aggregate signature + bit-vector QC validation trait + public hotshot-primitive repo + change signature scheme #1293
Merged
dailinsubjam
merged 39 commits into
run_view_refactor_sig_agg
from
sishan/signature_aggregation_with_hsp
Jul 25, 2023
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
7625472
with public hotshot_primitive
dailinsubjam 134862c
change signature scheme from BLSSignatureScheme to BLSOverBN254CurveS…
dailinsubjam 8b5f092
Added KeyPair and a new robust version of jf-primitives
dailinsubjam 0d1abfd
fixing small bugs when running all tests
dailinsubjam 0cd0244
Implement Commitment<T> for all the kinds of VoteData
dailinsubjam 61b6180
replace .as_bytes() with .commit().as_ref()
dailinsubjam e25d08f
Change the type of [u8] to [u8, 32] so that sign() can take in generi…
dailinsubjam d3cae68
Change the input type from [u8] to generic array
dailinsubjam 8418e33
add notes for message in static_committee.rs
dailinsubjam 286b39b
Merge pull request #1326 from EspressoSystems/sishan/implement_commit…
dailinsubjam 590a08e
make validate() directly return bool for short term
dailinsubjam f7727c7
Add entry with stake public key and stake_amount for QC Aseembling
dailinsubjam fb25b1a
assembling of QC signature aggregation added
dailinsubjam 543e95f
notes for assembling
dailinsubjam deace86
assembling mostly done (besides few bitvec-bytes transfer)
dailinsubjam 91a6eb1
Update validate() before doing append()
dailinsubjam 094e299
Add bitvec serialization
shenkeyao 26311b2
Merge pull request #1377 from EspressoSystems/keyao/try-bit-vec
dailinsubjam 923a4fe
add QCParams to qc
dailinsubjam 198c275
Merge branch 'sishan/signature_aggregation_with_hsp' of github.com:Es…
dailinsubjam 57e09d6
Add sig serialization helper
shenkeyao 9a24c5a
Merge pull request #1378 from EspressoSystems/keyao/try-bit-vec
dailinsubjam 5328c05
Merge branch 'sishan/signature_aggregation_with_hsp' of github.com:Es…
dailinsubjam 276fac2
solve conflicts
dailinsubjam a436c39
validation not work
dailinsubjam bd65ec7
Validation on aggregated signature works
dailinsubjam 73b0810
last commit also include separating DA vote and Yes vote in QC
dailinsubjam ca06668
param_pp and bit_vector is global now, so that only one signature and…
dailinsubjam c3e48bb
clean up
dailinsubjam 4c5eebd
clean up on cargo dependency
dailinsubjam 08e907a
more clean up and renaming QCYesNoVote to AssembledSignature since it…
dailinsubjam 4b52521
more clean up and comments updated
dailinsubjam 344f9e6
more clean up and ready to merge into run view refactor
dailinsubjam 5b125bd
comments refined
dailinsubjam ad951e4
delete dead code and deal with potential panic situation
dailinsubjam d416b3f
blank line after last line for cargo.toml
dailinsubjam b2ccb15
delete dead code
dailinsubjam b1e2e7e
change the dependency of hotshot-primitives and jellyfish to the newe…
dailinsubjam de5e948
pin to jellyfish's and hotshot-primitives' hotshot-compat branch rath…
dailinsubjam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -133,10 +133,8 @@ hotshot-orchestrator = { version = "0.1.1", path = "orchestrator", default-featu | |
| hotshot-types = { path = "./types", version = "0.1.0", default-features = false } | ||
| hotshot-utils = { path = "./utils" } | ||
| itertools = "0.10" | ||
| hotshot-primitives = { git = "ssh://[email protected]/EspressoSystems/hotshot-primitives.git", branch = 'update_jellyfish_0.4.0_pre.0' } | ||
| jf-primitives = { git = "https://github.com/EspressoSystems/jellyfish", rev = "36dceb6", features = [ | ||
| "std", | ||
| ] } | ||
| hotshot-primitives = { git = "https://github.com/EspressoSystems/hotshot-primitives", branch = 'hotshot-compat'} # rev = "4aee90c" for 'hotshot-compat' | ||
| jf-primitives = { git = "https://github.com/EspressoSystems/jellyfish", branch = 'hotshot-compat'} # rev = "470a833" for branch = 'hotshot-compat' | ||
| libp2p-swarm-derive = { version = "=0.32.0" } | ||
| libp2p-networking = { path = "./libp2p-networking", version = "0.1.0", default-features = false } | ||
| libp2p-identity = "0.1.2" | ||
|
|
@@ -188,6 +186,9 @@ tokio = { version = "1", optional = true, features = [ | |
| "tracing", | ||
| ] } | ||
| tracing = "0.1.37" | ||
| ethereum-types = { version = "0.14.1", features = ["impl-serde"] } | ||
| bitvec = { version = "1.0.1", default-features = false, features = ["alloc", "atomic", "serde"] } | ||
| typenum = { version = "1.16.0" } | ||
|
|
||
| [dev-dependencies] | ||
| async-std = { version = "1.12.0", features = ["attributes"] } | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.