Skip to content
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

Add AggregateAttestationAndProof #79

Merged
merged 1 commit into from
Dec 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
125 changes: 92 additions & 33 deletions eth/v1alpha1/attestation.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions eth/v1alpha1/attestation.proto
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,17 @@ message Attestation {
bytes signature = 3;
}

message AggregateAttestationAndProof {
// index is the aggregator's index
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use proper sentence format. Capitalize first letter and add punctuation

uint64 index = 1;

// selection_proof is the signature of the slot aggregator signed to
bytes selection_proof = 2;

// aggregate is the constructed aggregated attestation
Attestation aggregate = 3;
}

message AttestationData {
// Attestation data includes information on Casper the Friendly Finality Gadget's votes
// See: https://arxiv.org/pdf/1710.09437.pdf
Expand Down