Skip to content

Commit

Permalink
Added AggregateAttestationAndProof (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
terencechain authored Dec 11, 2019
1 parent 75e46ab commit 5ade052
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 33 deletions.
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
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

0 comments on commit 5ade052

Please sign in to comment.