prysm-pulse/proto/beacon/p2p/v1/archive.proto
terence tsao 62c25eaedb
Revert archival deprecations (#5464)
* Revert "Fix `ListValidatorBalances` for v0.11 (#5458)"

This reverts commit 3763a8ce5d.
* Revert "Deprecate archival service (#5445)"

This reverts commit 4fbcedf541.
* Revert "Delete archival DB methods (#5459)"

This reverts commit 8a3ea1e936.
* Revert "Modify `ListBeaconCommittees ` to use new state service  (#5411)"

This reverts commit 497fa6ed50.
* Revert "Modify `GetValidatorParticipation` to use new state service (#5409)"

This reverts commit 046a00aa87.
* Revert "Modify `GetValidatorActiveSetChanges` to use new state service  (#5408)"

This reverts commit 5eb6485e14.
* Revert "Modify `ListValidatorAssignments` to use new state service (#5365)"

This reverts commit 5a1a768135.
2020-04-16 23:26:10 +00:00

47 lines
1.7 KiB
Protocol Buffer

syntax = "proto3";
package ethereum.beacon.p2p.v1;
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
import "eth/v1alpha1/beacon_block.proto";
// 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;
// Slashed validator indices.
repeated uint64 slashed = 3;
// Ejected validator indices.
repeated uint64 ejected = 4;
// Voluntary exit objects corresponding 1-to-1 to the exited indices
// list in this same data structure.
repeated ethereum.eth.v1alpha1.VoluntaryExit voluntary_exits = 6;
// Proposer slashing objects corresponding 1-to-1 to the slashed proposer indices
// list in this same data structure.
repeated ethereum.eth.v1alpha1.ProposerSlashing proposer_slashings = 7;
// Attester slashing objects corresponding 1-to-1 to the slashed attester indices
// list in this same data structure.
repeated ethereum.eth.v1alpha1.AttesterSlashing attester_slashings = 8;
}
// ArchivedCommitteeInfo representing the minimal data required to reconstruct
// validator committee assignments for an epoch N.
message ArchivedCommitteeInfo {
// Proposer seed represents the random seed used in shuffling proposers.
bytes proposer_seed = 1 [(gogoproto.moretags) = "ssz-size:\"32\""];
// Attester seed represents the random seed used in shuffling attesters.
bytes attester_seed = 2 [(gogoproto.moretags) = "ssz-size:\"32\""];
}