-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
256-bit custody atoms for better alignment with rest of the spec and greater efficiency #1705
Merged
Conversation
This file contains 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
dankrad
commented
Apr 30, 2020
dankrad
commented
Apr 30, 2020
dankrad
commented
Apr 30, 2020
dankrad
commented
Apr 30, 2020
This should be ready for review, though I will probably go through the old tests again to make sure I haven't missed anything. |
This was referenced May 13, 2020
djrtwo
force-pushed
the
dankrad-custody-256bit
branch
from
May 19, 2020 15:58
77fc50e
to
de03ebb
Compare
# Conflicts: # specs/phase1/beacon-chain.md
hwwhww
force-pushed
the
dankrad-custody-256bit
branch
from
June 15, 2020 07:30
bda206b
to
8697b30
Compare
hwwhww
reviewed
Jun 15, 2020
hwwhww
approved these changes
Jun 15, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work and great test coverage!
Good to merge soon as it's blocking other pending PRs.
protolambda
reviewed
Jun 15, 2020
0.01 bit proof of custody [depends on 256 bit custody atoms]
…etails with correct validator operation.
Co-authored-by: Hsiao-Wei Wang <hwwang156@gmail.com>
Co-authored-by: Hsiao-Wei Wang <hwwang156@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
We previously chose 48 byte custody atoms because of the sizes of field elements in BLS signatures. However, this misalignment is not pretty when compared to the rest of the spec, and will also cause significant overhead as 48 byte integers are more expensive to handle than 32 bytes.
In comparison, the switch to 32 bytes will only require one secret re-sharing (from one prime to another prime) every nine days, so it will add only very minor overhead for MPC validators.