2019-09-18 17:05:24 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package ethereum.eth.v1alpha1;
|
|
|
|
|
|
|
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
|
|
|
import "proto/eth/v1alpha1/beacon_block.proto";
|
|
|
|
|
|
|
|
option go_package = "github.com/prysmaticlabs/prysm/proto/eth/v1alpha1;eth";
|
|
|
|
|
|
|
|
// 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;
|
|
|
|
|
|
|
|
// Proposer indices slashed.
|
2019-09-20 16:51:06 +00:00
|
|
|
repeated uint64 slashed = 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.
|
|
|
|
repeated VoluntaryExit voluntary_exits = 6;
|
|
|
|
|
|
|
|
// Proposer slashing objects corresponding 1-to-1 to the slashed proposer indices
|
|
|
|
// list in this same data structure.
|
|
|
|
repeated ProposerSlashing proposer_slashings = 7;
|
|
|
|
|
|
|
|
// Attester slashing objects corresponding 1-to-1 to the slashed attester indices
|
|
|
|
// list in this same data structure.
|
|
|
|
repeated AttesterSlashing attester_slashings = 8;
|
|
|
|
}
|
|
|
|
|
|
|
|
// ArchivedCommitteeInfo representing the minimal data required to reconstruct
|
|
|
|
// validator committee assignments for an epoch N.
|
|
|
|
message ArchivedCommitteeInfo {
|
|
|
|
// Seed represents the random seed used in shuffling validators.
|
|
|
|
bytes seed = 1 [(gogoproto.moretags) = "ssz-size:\"32\""];
|
|
|
|
|
2019-09-20 16:51:06 +00:00
|
|
|
// Start shard for the shuffling at epoch N.
|
|
|
|
uint64 start_shard = 2;
|
2019-09-18 17:05:24 +00:00
|
|
|
|
2019-09-20 16:51:06 +00:00
|
|
|
// Committee count is the size the committees during epoch N.
|
2019-09-18 17:05:24 +00:00
|
|
|
uint64 committee_count = 3;
|
2019-09-23 21:04:59 +00:00
|
|
|
|
|
|
|
// Proposer index assigned to propose a beacon block during epoch N.
|
|
|
|
uint64 proposer_index = 4;
|
2019-09-18 17:05:24 +00:00
|
|
|
}
|