2019-09-18 17:05:24 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2019-11-27 05:08:18 +00:00
|
|
|
package ethereum.beacon.p2p.v1;
|
2019-09-18 17:05:24 +00:00
|
|
|
|
|
|
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
2019-11-27 05:08:18 +00:00
|
|
|
import "eth/v1alpha1/beacon_block.proto";
|
2019-09-18 17:05:24 +00:00
|
|
|
|
|
|
|
// ArchivedActiveSetChanges represents the changes to the active validator registry
|
|
|
|
// between epoch N and N-1. In particular, it keeps track of validator indices
|
|
|
|
// which were newly activated, exited, or slashed, along with those particular
|
|
|
|
// block operations.
|
|
|
|
message ArchivedActiveSetChanges {
|
|
|
|
// Activated validator indices.
|
|
|
|
repeated uint64 activated = 1;
|
|
|
|
|
|
|
|
// Exited validator indices.
|
|
|
|
repeated uint64 exited = 2;
|
|
|
|
|
2020-03-13 16:23:19 +00:00
|
|
|
// Slashed validator indices.
|
|
|
|
repeated uint64 slashed = 3;
|
|
|
|
|
|
|
|
// Ejected validator indices.
|
|
|
|
repeated uint64 ejected = 4;
|
2019-09-18 17:05:24 +00:00
|
|
|
|
|
|
|
// Voluntary exit objects corresponding 1-to-1 to the exited indices
|
|
|
|
// list in this same data structure.
|
2019-11-27 05:08:18 +00:00
|
|
|
repeated ethereum.eth.v1alpha1.VoluntaryExit voluntary_exits = 6;
|
2019-09-18 17:05:24 +00:00
|
|
|
|
|
|
|
// Proposer slashing objects corresponding 1-to-1 to the slashed proposer indices
|
|
|
|
// list in this same data structure.
|
2019-11-27 05:08:18 +00:00
|
|
|
repeated ethereum.eth.v1alpha1.ProposerSlashing proposer_slashings = 7;
|
2019-09-18 17:05:24 +00:00
|
|
|
|
|
|
|
// Attester slashing objects corresponding 1-to-1 to the slashed attester indices
|
|
|
|
// list in this same data structure.
|
2019-11-27 05:08:18 +00:00
|
|
|
repeated ethereum.eth.v1alpha1.AttesterSlashing attester_slashings = 8;
|
2019-09-18 17:05:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// ArchivedCommitteeInfo representing the minimal data required to reconstruct
|
|
|
|
// validator committee assignments for an epoch N.
|
|
|
|
message ArchivedCommitteeInfo {
|
2019-11-11 22:03:44 +00:00
|
|
|
// Proposer seed represents the random seed used in shuffling proposers.
|
|
|
|
bytes proposer_seed = 1 [(gogoproto.moretags) = "ssz-size:\"32\""];
|
2019-09-18 17:05:24 +00:00
|
|
|
|
2019-11-11 22:03:44 +00:00
|
|
|
// Attester seed represents the random seed used in shuffling attesters.
|
|
|
|
bytes attester_seed = 2 [(gogoproto.moretags) = "ssz-size:\"32\""];
|
2019-09-18 17:05:24 +00:00
|
|
|
}
|