mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-19 08:14:15 +00:00
a1dc4ddc40
* update go pbs * protos * merge * pbs * implement first version * add slashing status endpoints and test * Merge branch 'master' of github.com:prysmaticlabs/prysm into get_slashings * add tests * gaz and goimports * gaz * Merge refs/heads/master into get_slashings * Merge refs/heads/master into get_slashings * Merge refs/heads/master into get_slashings * Merge refs/heads/master into get_slashings * Merge refs/heads/master into get_slashings * Merge refs/heads/master into get_slashings * Merge refs/heads/master into get_slashings * Merge refs/heads/master into get_slashings * Merge refs/heads/master into get_slashings * Merge refs/heads/master into get_slashings * Merge refs/heads/master into get_slashings * Merge refs/heads/master into get_slashings * Merge refs/heads/master into get_slashings * Merge refs/heads/master into get_slashings * Merge refs/heads/master into get_slashings * Merge refs/heads/master into get_slashings * Merge refs/heads/master into get_slashings * Merge refs/heads/master into get_slashings * Merge refs/heads/master into get_slashings * Merge refs/heads/master into get_slashings * Update proto/slashing/slashing.proto * Update proto/slashing/slashing.proto * Update proto/slashing/slashing.proto * Merge refs/heads/master into get_slashings
2217 lines
88 KiB
Go
Executable File
Generated
2217 lines
88 KiB
Go
Executable File
Generated
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: proto/beacon/rpc/v1/services.proto
|
|
|
|
package ethereum_beacon_rpc_v1
|
|
|
|
import (
|
|
context "context"
|
|
fmt "fmt"
|
|
math "math"
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
empty "github.com/golang/protobuf/ptypes/empty"
|
|
v1alpha1 "github.com/prysmaticlabs/ethereumapis/eth/v1alpha1"
|
|
grpc "google.golang.org/grpc"
|
|
codes "google.golang.org/grpc/codes"
|
|
status "google.golang.org/grpc/status"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type ValidatorRole int32
|
|
|
|
const (
|
|
ValidatorRole_UNKNOWN ValidatorRole = 0
|
|
ValidatorRole_ATTESTER ValidatorRole = 1
|
|
ValidatorRole_PROPOSER ValidatorRole = 2
|
|
ValidatorRole_AGGREGATOR ValidatorRole = 3
|
|
)
|
|
|
|
var ValidatorRole_name = map[int32]string{
|
|
0: "UNKNOWN",
|
|
1: "ATTESTER",
|
|
2: "PROPOSER",
|
|
3: "AGGREGATOR",
|
|
}
|
|
|
|
var ValidatorRole_value = map[string]int32{
|
|
"UNKNOWN": 0,
|
|
"ATTESTER": 1,
|
|
"PROPOSER": 2,
|
|
"AGGREGATOR": 3,
|
|
}
|
|
|
|
func (x ValidatorRole) String() string {
|
|
return proto.EnumName(ValidatorRole_name, int32(x))
|
|
}
|
|
|
|
func (ValidatorRole) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{0}
|
|
}
|
|
|
|
type ValidatorStatus int32
|
|
|
|
const (
|
|
ValidatorStatus_UNKNOWN_STATUS ValidatorStatus = 0
|
|
ValidatorStatus_DEPOSIT_RECEIVED ValidatorStatus = 1
|
|
ValidatorStatus_PENDING_ACTIVE ValidatorStatus = 2
|
|
ValidatorStatus_ACTIVE ValidatorStatus = 3
|
|
ValidatorStatus_INITIATED_EXIT ValidatorStatus = 4
|
|
ValidatorStatus_WITHDRAWABLE ValidatorStatus = 5
|
|
ValidatorStatus_EXITED ValidatorStatus = 6
|
|
ValidatorStatus_EXITED_SLASHED ValidatorStatus = 7
|
|
)
|
|
|
|
var ValidatorStatus_name = map[int32]string{
|
|
0: "UNKNOWN_STATUS",
|
|
1: "DEPOSIT_RECEIVED",
|
|
2: "PENDING_ACTIVE",
|
|
3: "ACTIVE",
|
|
4: "INITIATED_EXIT",
|
|
5: "WITHDRAWABLE",
|
|
6: "EXITED",
|
|
7: "EXITED_SLASHED",
|
|
}
|
|
|
|
var ValidatorStatus_value = map[string]int32{
|
|
"UNKNOWN_STATUS": 0,
|
|
"DEPOSIT_RECEIVED": 1,
|
|
"PENDING_ACTIVE": 2,
|
|
"ACTIVE": 3,
|
|
"INITIATED_EXIT": 4,
|
|
"WITHDRAWABLE": 5,
|
|
"EXITED": 6,
|
|
"EXITED_SLASHED": 7,
|
|
}
|
|
|
|
func (x ValidatorStatus) String() string {
|
|
return proto.EnumName(ValidatorStatus_name, int32(x))
|
|
}
|
|
|
|
func (ValidatorStatus) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{1}
|
|
}
|
|
|
|
type BlockRequest struct {
|
|
Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
|
|
RandaoReveal []byte `protobuf:"bytes,2,opt,name=randao_reveal,json=randaoReveal,proto3" json:"randao_reveal,omitempty"`
|
|
Graffiti []byte `protobuf:"bytes,3,opt,name=graffiti,proto3" json:"graffiti,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *BlockRequest) Reset() { *m = BlockRequest{} }
|
|
func (m *BlockRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*BlockRequest) ProtoMessage() {}
|
|
func (*BlockRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{0}
|
|
}
|
|
|
|
func (m *BlockRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_BlockRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *BlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_BlockRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *BlockRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BlockRequest.Merge(m, src)
|
|
}
|
|
func (m *BlockRequest) XXX_Size() int {
|
|
return xxx_messageInfo_BlockRequest.Size(m)
|
|
}
|
|
func (m *BlockRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_BlockRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_BlockRequest proto.InternalMessageInfo
|
|
|
|
func (m *BlockRequest) GetSlot() uint64 {
|
|
if m != nil {
|
|
return m.Slot
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *BlockRequest) GetRandaoReveal() []byte {
|
|
if m != nil {
|
|
return m.RandaoReveal
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *BlockRequest) GetGraffiti() []byte {
|
|
if m != nil {
|
|
return m.Graffiti
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ProposeResponse struct {
|
|
BlockRoot []byte `protobuf:"bytes,1,opt,name=block_root,json=blockRoot,proto3" json:"block_root,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ProposeResponse) Reset() { *m = ProposeResponse{} }
|
|
func (m *ProposeResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ProposeResponse) ProtoMessage() {}
|
|
func (*ProposeResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{1}
|
|
}
|
|
|
|
func (m *ProposeResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ProposeResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ProposeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ProposeResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ProposeResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ProposeResponse.Merge(m, src)
|
|
}
|
|
func (m *ProposeResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ProposeResponse.Size(m)
|
|
}
|
|
func (m *ProposeResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ProposeResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ProposeResponse proto.InternalMessageInfo
|
|
|
|
func (m *ProposeResponse) GetBlockRoot() []byte {
|
|
if m != nil {
|
|
return m.BlockRoot
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AttestationRequest struct {
|
|
PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
|
PocBit []byte `protobuf:"bytes,2,opt,name=poc_bit,json=pocBit,proto3" json:"poc_bit,omitempty"`
|
|
Slot uint64 `protobuf:"varint,3,opt,name=slot,proto3" json:"slot,omitempty"`
|
|
CommitteeIndex uint64 `protobuf:"varint,4,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AttestationRequest) Reset() { *m = AttestationRequest{} }
|
|
func (m *AttestationRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*AttestationRequest) ProtoMessage() {}
|
|
func (*AttestationRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{2}
|
|
}
|
|
|
|
func (m *AttestationRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AttestationRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *AttestationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AttestationRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AttestationRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AttestationRequest.Merge(m, src)
|
|
}
|
|
func (m *AttestationRequest) XXX_Size() int {
|
|
return xxx_messageInfo_AttestationRequest.Size(m)
|
|
}
|
|
func (m *AttestationRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AttestationRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AttestationRequest proto.InternalMessageInfo
|
|
|
|
func (m *AttestationRequest) GetPublicKey() []byte {
|
|
if m != nil {
|
|
return m.PublicKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *AttestationRequest) GetPocBit() []byte {
|
|
if m != nil {
|
|
return m.PocBit
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *AttestationRequest) GetSlot() uint64 {
|
|
if m != nil {
|
|
return m.Slot
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *AttestationRequest) GetCommitteeIndex() uint64 {
|
|
if m != nil {
|
|
return m.CommitteeIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AttestResponse struct {
|
|
Root []byte `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AttestResponse) Reset() { *m = AttestResponse{} }
|
|
func (m *AttestResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*AttestResponse) ProtoMessage() {}
|
|
func (*AttestResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{3}
|
|
}
|
|
|
|
func (m *AttestResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AttestResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *AttestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AttestResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AttestResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AttestResponse.Merge(m, src)
|
|
}
|
|
func (m *AttestResponse) XXX_Size() int {
|
|
return xxx_messageInfo_AttestResponse.Size(m)
|
|
}
|
|
func (m *AttestResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AttestResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AttestResponse proto.InternalMessageInfo
|
|
|
|
func (m *AttestResponse) GetRoot() []byte {
|
|
if m != nil {
|
|
return m.Root
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AggregationRequest struct {
|
|
Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
|
|
CommitteeIndex uint64 `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty"`
|
|
PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
|
SlotSignature []byte `protobuf:"bytes,4,opt,name=slot_signature,json=slotSignature,proto3" json:"slot_signature,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AggregationRequest) Reset() { *m = AggregationRequest{} }
|
|
func (m *AggregationRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*AggregationRequest) ProtoMessage() {}
|
|
func (*AggregationRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{4}
|
|
}
|
|
|
|
func (m *AggregationRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AggregationRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *AggregationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AggregationRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AggregationRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AggregationRequest.Merge(m, src)
|
|
}
|
|
func (m *AggregationRequest) XXX_Size() int {
|
|
return xxx_messageInfo_AggregationRequest.Size(m)
|
|
}
|
|
func (m *AggregationRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AggregationRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AggregationRequest proto.InternalMessageInfo
|
|
|
|
func (m *AggregationRequest) GetSlot() uint64 {
|
|
if m != nil {
|
|
return m.Slot
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *AggregationRequest) GetCommitteeIndex() uint64 {
|
|
if m != nil {
|
|
return m.CommitteeIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *AggregationRequest) GetPublicKey() []byte {
|
|
if m != nil {
|
|
return m.PublicKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *AggregationRequest) GetSlotSignature() []byte {
|
|
if m != nil {
|
|
return m.SlotSignature
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AggregationResponse struct {
|
|
Root []byte `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AggregationResponse) Reset() { *m = AggregationResponse{} }
|
|
func (m *AggregationResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*AggregationResponse) ProtoMessage() {}
|
|
func (*AggregationResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{5}
|
|
}
|
|
|
|
func (m *AggregationResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AggregationResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *AggregationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AggregationResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AggregationResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AggregationResponse.Merge(m, src)
|
|
}
|
|
func (m *AggregationResponse) XXX_Size() int {
|
|
return xxx_messageInfo_AggregationResponse.Size(m)
|
|
}
|
|
func (m *AggregationResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AggregationResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AggregationResponse proto.InternalMessageInfo
|
|
|
|
func (m *AggregationResponse) GetRoot() []byte {
|
|
if m != nil {
|
|
return m.Root
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ValidatorPerformanceRequest struct {
|
|
Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
|
|
PublicKeys [][]byte `protobuf:"bytes,2,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ValidatorPerformanceRequest) Reset() { *m = ValidatorPerformanceRequest{} }
|
|
func (m *ValidatorPerformanceRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ValidatorPerformanceRequest) ProtoMessage() {}
|
|
func (*ValidatorPerformanceRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{6}
|
|
}
|
|
|
|
func (m *ValidatorPerformanceRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ValidatorPerformanceRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ValidatorPerformanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ValidatorPerformanceRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ValidatorPerformanceRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ValidatorPerformanceRequest.Merge(m, src)
|
|
}
|
|
func (m *ValidatorPerformanceRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ValidatorPerformanceRequest.Size(m)
|
|
}
|
|
func (m *ValidatorPerformanceRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ValidatorPerformanceRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ValidatorPerformanceRequest proto.InternalMessageInfo
|
|
|
|
func (m *ValidatorPerformanceRequest) GetSlot() uint64 {
|
|
if m != nil {
|
|
return m.Slot
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ValidatorPerformanceRequest) GetPublicKeys() [][]byte {
|
|
if m != nil {
|
|
return m.PublicKeys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ValidatorPerformanceResponse struct {
|
|
Balances []uint64 `protobuf:"varint,1,rep,packed,name=balances,proto3" json:"balances,omitempty"`
|
|
TotalValidators uint64 `protobuf:"varint,2,opt,name=total_validators,json=totalValidators,proto3" json:"total_validators,omitempty"`
|
|
TotalActiveValidators uint64 `protobuf:"varint,3,opt,name=total_active_validators,json=totalActiveValidators,proto3" json:"total_active_validators,omitempty"`
|
|
MissingValidators [][]byte `protobuf:"bytes,4,rep,name=missing_validators,json=missingValidators,proto3" json:"missing_validators,omitempty"`
|
|
AverageActiveValidatorBalance float32 `protobuf:"fixed32,5,opt,name=average_active_validator_balance,json=averageActiveValidatorBalance,proto3" json:"average_active_validator_balance,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ValidatorPerformanceResponse) Reset() { *m = ValidatorPerformanceResponse{} }
|
|
func (m *ValidatorPerformanceResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ValidatorPerformanceResponse) ProtoMessage() {}
|
|
func (*ValidatorPerformanceResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{7}
|
|
}
|
|
|
|
func (m *ValidatorPerformanceResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ValidatorPerformanceResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ValidatorPerformanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ValidatorPerformanceResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ValidatorPerformanceResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ValidatorPerformanceResponse.Merge(m, src)
|
|
}
|
|
func (m *ValidatorPerformanceResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ValidatorPerformanceResponse.Size(m)
|
|
}
|
|
func (m *ValidatorPerformanceResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ValidatorPerformanceResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ValidatorPerformanceResponse proto.InternalMessageInfo
|
|
|
|
func (m *ValidatorPerformanceResponse) GetBalances() []uint64 {
|
|
if m != nil {
|
|
return m.Balances
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ValidatorPerformanceResponse) GetTotalValidators() uint64 {
|
|
if m != nil {
|
|
return m.TotalValidators
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ValidatorPerformanceResponse) GetTotalActiveValidators() uint64 {
|
|
if m != nil {
|
|
return m.TotalActiveValidators
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ValidatorPerformanceResponse) GetMissingValidators() [][]byte {
|
|
if m != nil {
|
|
return m.MissingValidators
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ValidatorPerformanceResponse) GetAverageActiveValidatorBalance() float32 {
|
|
if m != nil {
|
|
return m.AverageActiveValidatorBalance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ValidatorActivationRequest struct {
|
|
PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ValidatorActivationRequest) Reset() { *m = ValidatorActivationRequest{} }
|
|
func (m *ValidatorActivationRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ValidatorActivationRequest) ProtoMessage() {}
|
|
func (*ValidatorActivationRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{8}
|
|
}
|
|
|
|
func (m *ValidatorActivationRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ValidatorActivationRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ValidatorActivationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ValidatorActivationRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ValidatorActivationRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ValidatorActivationRequest.Merge(m, src)
|
|
}
|
|
func (m *ValidatorActivationRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ValidatorActivationRequest.Size(m)
|
|
}
|
|
func (m *ValidatorActivationRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ValidatorActivationRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ValidatorActivationRequest proto.InternalMessageInfo
|
|
|
|
func (m *ValidatorActivationRequest) GetPublicKeys() [][]byte {
|
|
if m != nil {
|
|
return m.PublicKeys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ValidatorActivationResponse struct {
|
|
ActivatedPublicKeys [][]byte `protobuf:"bytes,1,rep,name=activated_public_keys,json=activatedPublicKeys,proto3" json:"activated_public_keys,omitempty"` // Deprecated: Do not use.
|
|
Statuses []*ValidatorActivationResponse_Status `protobuf:"bytes,2,rep,name=statuses,proto3" json:"statuses,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ValidatorActivationResponse) Reset() { *m = ValidatorActivationResponse{} }
|
|
func (m *ValidatorActivationResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ValidatorActivationResponse) ProtoMessage() {}
|
|
func (*ValidatorActivationResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{9}
|
|
}
|
|
|
|
func (m *ValidatorActivationResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ValidatorActivationResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ValidatorActivationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ValidatorActivationResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ValidatorActivationResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ValidatorActivationResponse.Merge(m, src)
|
|
}
|
|
func (m *ValidatorActivationResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ValidatorActivationResponse.Size(m)
|
|
}
|
|
func (m *ValidatorActivationResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ValidatorActivationResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ValidatorActivationResponse proto.InternalMessageInfo
|
|
|
|
// Deprecated: Do not use.
|
|
func (m *ValidatorActivationResponse) GetActivatedPublicKeys() [][]byte {
|
|
if m != nil {
|
|
return m.ActivatedPublicKeys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ValidatorActivationResponse) GetStatuses() []*ValidatorActivationResponse_Status {
|
|
if m != nil {
|
|
return m.Statuses
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ValidatorActivationResponse_Status struct {
|
|
PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
|
Status *ValidatorStatusResponse `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ValidatorActivationResponse_Status) Reset() { *m = ValidatorActivationResponse_Status{} }
|
|
func (m *ValidatorActivationResponse_Status) String() string { return proto.CompactTextString(m) }
|
|
func (*ValidatorActivationResponse_Status) ProtoMessage() {}
|
|
func (*ValidatorActivationResponse_Status) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{9, 0}
|
|
}
|
|
|
|
func (m *ValidatorActivationResponse_Status) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ValidatorActivationResponse_Status.Unmarshal(m, b)
|
|
}
|
|
func (m *ValidatorActivationResponse_Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ValidatorActivationResponse_Status.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ValidatorActivationResponse_Status) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ValidatorActivationResponse_Status.Merge(m, src)
|
|
}
|
|
func (m *ValidatorActivationResponse_Status) XXX_Size() int {
|
|
return xxx_messageInfo_ValidatorActivationResponse_Status.Size(m)
|
|
}
|
|
func (m *ValidatorActivationResponse_Status) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ValidatorActivationResponse_Status.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ValidatorActivationResponse_Status proto.InternalMessageInfo
|
|
|
|
func (m *ValidatorActivationResponse_Status) GetPublicKey() []byte {
|
|
if m != nil {
|
|
return m.PublicKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ValidatorActivationResponse_Status) GetStatus() *ValidatorStatusResponse {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ExitedValidatorsRequest struct {
|
|
PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ExitedValidatorsRequest) Reset() { *m = ExitedValidatorsRequest{} }
|
|
func (m *ExitedValidatorsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ExitedValidatorsRequest) ProtoMessage() {}
|
|
func (*ExitedValidatorsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{10}
|
|
}
|
|
|
|
func (m *ExitedValidatorsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ExitedValidatorsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ExitedValidatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ExitedValidatorsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ExitedValidatorsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ExitedValidatorsRequest.Merge(m, src)
|
|
}
|
|
func (m *ExitedValidatorsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ExitedValidatorsRequest.Size(m)
|
|
}
|
|
func (m *ExitedValidatorsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ExitedValidatorsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ExitedValidatorsRequest proto.InternalMessageInfo
|
|
|
|
func (m *ExitedValidatorsRequest) GetPublicKeys() [][]byte {
|
|
if m != nil {
|
|
return m.PublicKeys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ExitedValidatorsResponse struct {
|
|
PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ExitedValidatorsResponse) Reset() { *m = ExitedValidatorsResponse{} }
|
|
func (m *ExitedValidatorsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ExitedValidatorsResponse) ProtoMessage() {}
|
|
func (*ExitedValidatorsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{11}
|
|
}
|
|
|
|
func (m *ExitedValidatorsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ExitedValidatorsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ExitedValidatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ExitedValidatorsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ExitedValidatorsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ExitedValidatorsResponse.Merge(m, src)
|
|
}
|
|
func (m *ExitedValidatorsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ExitedValidatorsResponse.Size(m)
|
|
}
|
|
func (m *ExitedValidatorsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ExitedValidatorsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ExitedValidatorsResponse proto.InternalMessageInfo
|
|
|
|
func (m *ExitedValidatorsResponse) GetPublicKeys() [][]byte {
|
|
if m != nil {
|
|
return m.PublicKeys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ChainStartResponse struct {
|
|
Started bool `protobuf:"varint,1,opt,name=started,proto3" json:"started,omitempty"`
|
|
GenesisTime uint64 `protobuf:"varint,2,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ChainStartResponse) Reset() { *m = ChainStartResponse{} }
|
|
func (m *ChainStartResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ChainStartResponse) ProtoMessage() {}
|
|
func (*ChainStartResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{12}
|
|
}
|
|
|
|
func (m *ChainStartResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ChainStartResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ChainStartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ChainStartResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ChainStartResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ChainStartResponse.Merge(m, src)
|
|
}
|
|
func (m *ChainStartResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ChainStartResponse.Size(m)
|
|
}
|
|
func (m *ChainStartResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ChainStartResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ChainStartResponse proto.InternalMessageInfo
|
|
|
|
func (m *ChainStartResponse) GetStarted() bool {
|
|
if m != nil {
|
|
return m.Started
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *ChainStartResponse) GetGenesisTime() uint64 {
|
|
if m != nil {
|
|
return m.GenesisTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ValidatorIndexRequest struct {
|
|
PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ValidatorIndexRequest) Reset() { *m = ValidatorIndexRequest{} }
|
|
func (m *ValidatorIndexRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ValidatorIndexRequest) ProtoMessage() {}
|
|
func (*ValidatorIndexRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{13}
|
|
}
|
|
|
|
func (m *ValidatorIndexRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ValidatorIndexRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ValidatorIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ValidatorIndexRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ValidatorIndexRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ValidatorIndexRequest.Merge(m, src)
|
|
}
|
|
func (m *ValidatorIndexRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ValidatorIndexRequest.Size(m)
|
|
}
|
|
func (m *ValidatorIndexRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ValidatorIndexRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ValidatorIndexRequest proto.InternalMessageInfo
|
|
|
|
func (m *ValidatorIndexRequest) GetPublicKey() []byte {
|
|
if m != nil {
|
|
return m.PublicKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ValidatorIndexResponse struct {
|
|
Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ValidatorIndexResponse) Reset() { *m = ValidatorIndexResponse{} }
|
|
func (m *ValidatorIndexResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ValidatorIndexResponse) ProtoMessage() {}
|
|
func (*ValidatorIndexResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{14}
|
|
}
|
|
|
|
func (m *ValidatorIndexResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ValidatorIndexResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ValidatorIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ValidatorIndexResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ValidatorIndexResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ValidatorIndexResponse.Merge(m, src)
|
|
}
|
|
func (m *ValidatorIndexResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ValidatorIndexResponse.Size(m)
|
|
}
|
|
func (m *ValidatorIndexResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ValidatorIndexResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ValidatorIndexResponse proto.InternalMessageInfo
|
|
|
|
func (m *ValidatorIndexResponse) GetIndex() uint64 {
|
|
if m != nil {
|
|
return m.Index
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AssignmentRequest struct {
|
|
EpochStart uint64 `protobuf:"varint,1,opt,name=epoch_start,json=epochStart,proto3" json:"epoch_start,omitempty"`
|
|
PublicKeys [][]byte `protobuf:"bytes,2,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AssignmentRequest) Reset() { *m = AssignmentRequest{} }
|
|
func (m *AssignmentRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*AssignmentRequest) ProtoMessage() {}
|
|
func (*AssignmentRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{15}
|
|
}
|
|
|
|
func (m *AssignmentRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AssignmentRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *AssignmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AssignmentRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AssignmentRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AssignmentRequest.Merge(m, src)
|
|
}
|
|
func (m *AssignmentRequest) XXX_Size() int {
|
|
return xxx_messageInfo_AssignmentRequest.Size(m)
|
|
}
|
|
func (m *AssignmentRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AssignmentRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AssignmentRequest proto.InternalMessageInfo
|
|
|
|
func (m *AssignmentRequest) GetEpochStart() uint64 {
|
|
if m != nil {
|
|
return m.EpochStart
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *AssignmentRequest) GetPublicKeys() [][]byte {
|
|
if m != nil {
|
|
return m.PublicKeys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AssignmentResponse struct {
|
|
ValidatorAssignment []*AssignmentResponse_ValidatorAssignment `protobuf:"bytes,1,rep,name=validator_assignment,json=validatorAssignment,proto3" json:"validator_assignment,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AssignmentResponse) Reset() { *m = AssignmentResponse{} }
|
|
func (m *AssignmentResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*AssignmentResponse) ProtoMessage() {}
|
|
func (*AssignmentResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{16}
|
|
}
|
|
|
|
func (m *AssignmentResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AssignmentResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *AssignmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AssignmentResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AssignmentResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AssignmentResponse.Merge(m, src)
|
|
}
|
|
func (m *AssignmentResponse) XXX_Size() int {
|
|
return xxx_messageInfo_AssignmentResponse.Size(m)
|
|
}
|
|
func (m *AssignmentResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AssignmentResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AssignmentResponse proto.InternalMessageInfo
|
|
|
|
func (m *AssignmentResponse) GetValidatorAssignment() []*AssignmentResponse_ValidatorAssignment {
|
|
if m != nil {
|
|
return m.ValidatorAssignment
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AssignmentResponse_ValidatorAssignment struct {
|
|
Committee []uint64 `protobuf:"varint,1,rep,packed,name=committee,proto3" json:"committee,omitempty"`
|
|
CommitteeIndex uint64 `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty"`
|
|
AttesterSlot uint64 `protobuf:"varint,3,opt,name=attester_slot,json=attesterSlot,proto3" json:"attester_slot,omitempty"`
|
|
ProposerSlot uint64 `protobuf:"varint,4,opt,name=proposer_slot,json=proposerSlot,proto3" json:"proposer_slot,omitempty"`
|
|
PublicKey []byte `protobuf:"bytes,5,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
|
Status ValidatorStatus `protobuf:"varint,6,opt,name=status,proto3,enum=ethereum.beacon.rpc.v1.ValidatorStatus" json:"status,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AssignmentResponse_ValidatorAssignment) Reset() {
|
|
*m = AssignmentResponse_ValidatorAssignment{}
|
|
}
|
|
func (m *AssignmentResponse_ValidatorAssignment) String() string { return proto.CompactTextString(m) }
|
|
func (*AssignmentResponse_ValidatorAssignment) ProtoMessage() {}
|
|
func (*AssignmentResponse_ValidatorAssignment) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{16, 0}
|
|
}
|
|
|
|
func (m *AssignmentResponse_ValidatorAssignment) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AssignmentResponse_ValidatorAssignment.Unmarshal(m, b)
|
|
}
|
|
func (m *AssignmentResponse_ValidatorAssignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AssignmentResponse_ValidatorAssignment.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AssignmentResponse_ValidatorAssignment) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AssignmentResponse_ValidatorAssignment.Merge(m, src)
|
|
}
|
|
func (m *AssignmentResponse_ValidatorAssignment) XXX_Size() int {
|
|
return xxx_messageInfo_AssignmentResponse_ValidatorAssignment.Size(m)
|
|
}
|
|
func (m *AssignmentResponse_ValidatorAssignment) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AssignmentResponse_ValidatorAssignment.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AssignmentResponse_ValidatorAssignment proto.InternalMessageInfo
|
|
|
|
func (m *AssignmentResponse_ValidatorAssignment) GetCommittee() []uint64 {
|
|
if m != nil {
|
|
return m.Committee
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *AssignmentResponse_ValidatorAssignment) GetCommitteeIndex() uint64 {
|
|
if m != nil {
|
|
return m.CommitteeIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *AssignmentResponse_ValidatorAssignment) GetAttesterSlot() uint64 {
|
|
if m != nil {
|
|
return m.AttesterSlot
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *AssignmentResponse_ValidatorAssignment) GetProposerSlot() uint64 {
|
|
if m != nil {
|
|
return m.ProposerSlot
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *AssignmentResponse_ValidatorAssignment) GetPublicKey() []byte {
|
|
if m != nil {
|
|
return m.PublicKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *AssignmentResponse_ValidatorAssignment) GetStatus() ValidatorStatus {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return ValidatorStatus_UNKNOWN_STATUS
|
|
}
|
|
|
|
type ValidatorStatusResponse struct {
|
|
Status ValidatorStatus `protobuf:"varint,1,opt,name=status,proto3,enum=ethereum.beacon.rpc.v1.ValidatorStatus" json:"status,omitempty"`
|
|
Eth1DepositBlockNumber uint64 `protobuf:"varint,2,opt,name=eth1_deposit_block_number,json=eth1DepositBlockNumber,proto3" json:"eth1_deposit_block_number,omitempty"`
|
|
DepositInclusionSlot uint64 `protobuf:"varint,3,opt,name=deposit_inclusion_slot,json=depositInclusionSlot,proto3" json:"deposit_inclusion_slot,omitempty"`
|
|
ActivationEpoch uint64 `protobuf:"varint,4,opt,name=activation_epoch,json=activationEpoch,proto3" json:"activation_epoch,omitempty"`
|
|
PositionInActivationQueue uint64 `protobuf:"varint,5,opt,name=position_in_activation_queue,json=positionInActivationQueue,proto3" json:"position_in_activation_queue,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ValidatorStatusResponse) Reset() { *m = ValidatorStatusResponse{} }
|
|
func (m *ValidatorStatusResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ValidatorStatusResponse) ProtoMessage() {}
|
|
func (*ValidatorStatusResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{17}
|
|
}
|
|
|
|
func (m *ValidatorStatusResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ValidatorStatusResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ValidatorStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ValidatorStatusResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ValidatorStatusResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ValidatorStatusResponse.Merge(m, src)
|
|
}
|
|
func (m *ValidatorStatusResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ValidatorStatusResponse.Size(m)
|
|
}
|
|
func (m *ValidatorStatusResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ValidatorStatusResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ValidatorStatusResponse proto.InternalMessageInfo
|
|
|
|
func (m *ValidatorStatusResponse) GetStatus() ValidatorStatus {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return ValidatorStatus_UNKNOWN_STATUS
|
|
}
|
|
|
|
func (m *ValidatorStatusResponse) GetEth1DepositBlockNumber() uint64 {
|
|
if m != nil {
|
|
return m.Eth1DepositBlockNumber
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ValidatorStatusResponse) GetDepositInclusionSlot() uint64 {
|
|
if m != nil {
|
|
return m.DepositInclusionSlot
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ValidatorStatusResponse) GetActivationEpoch() uint64 {
|
|
if m != nil {
|
|
return m.ActivationEpoch
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ValidatorStatusResponse) GetPositionInActivationQueue() uint64 {
|
|
if m != nil {
|
|
return m.PositionInActivationQueue
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DomainRequest struct {
|
|
Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
|
|
Domain []byte `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DomainRequest) Reset() { *m = DomainRequest{} }
|
|
func (m *DomainRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*DomainRequest) ProtoMessage() {}
|
|
func (*DomainRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{18}
|
|
}
|
|
|
|
func (m *DomainRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DomainRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *DomainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DomainRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DomainRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DomainRequest.Merge(m, src)
|
|
}
|
|
func (m *DomainRequest) XXX_Size() int {
|
|
return xxx_messageInfo_DomainRequest.Size(m)
|
|
}
|
|
func (m *DomainRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DomainRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DomainRequest proto.InternalMessageInfo
|
|
|
|
func (m *DomainRequest) GetEpoch() uint64 {
|
|
if m != nil {
|
|
return m.Epoch
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DomainRequest) GetDomain() []byte {
|
|
if m != nil {
|
|
return m.Domain
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DomainResponse struct {
|
|
SignatureDomain uint64 `protobuf:"varint,1,opt,name=signature_domain,json=signatureDomain,proto3" json:"signature_domain,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DomainResponse) Reset() { *m = DomainResponse{} }
|
|
func (m *DomainResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*DomainResponse) ProtoMessage() {}
|
|
func (*DomainResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{19}
|
|
}
|
|
|
|
func (m *DomainResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DomainResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *DomainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DomainResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DomainResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DomainResponse.Merge(m, src)
|
|
}
|
|
func (m *DomainResponse) XXX_Size() int {
|
|
return xxx_messageInfo_DomainResponse.Size(m)
|
|
}
|
|
func (m *DomainResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DomainResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DomainResponse proto.InternalMessageInfo
|
|
|
|
func (m *DomainResponse) GetSignatureDomain() uint64 {
|
|
if m != nil {
|
|
return m.SignatureDomain
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type BlockTreeResponse struct {
|
|
Tree []*BlockTreeResponse_TreeNode `protobuf:"bytes,1,rep,name=tree,proto3" json:"tree,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *BlockTreeResponse) Reset() { *m = BlockTreeResponse{} }
|
|
func (m *BlockTreeResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*BlockTreeResponse) ProtoMessage() {}
|
|
func (*BlockTreeResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{20}
|
|
}
|
|
|
|
func (m *BlockTreeResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_BlockTreeResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *BlockTreeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_BlockTreeResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *BlockTreeResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BlockTreeResponse.Merge(m, src)
|
|
}
|
|
func (m *BlockTreeResponse) XXX_Size() int {
|
|
return xxx_messageInfo_BlockTreeResponse.Size(m)
|
|
}
|
|
func (m *BlockTreeResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_BlockTreeResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_BlockTreeResponse proto.InternalMessageInfo
|
|
|
|
func (m *BlockTreeResponse) GetTree() []*BlockTreeResponse_TreeNode {
|
|
if m != nil {
|
|
return m.Tree
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BlockTreeResponse_TreeNode struct {
|
|
Block *v1alpha1.BeaconBlock `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
|
|
BlockRoot []byte `protobuf:"bytes,2,opt,name=block_root,json=blockRoot,proto3" json:"block_root,omitempty"`
|
|
ParticipatedVotes uint64 `protobuf:"varint,3,opt,name=participated_votes,json=participatedVotes,proto3" json:"participated_votes,omitempty"`
|
|
TotalVotes uint64 `protobuf:"varint,4,opt,name=total_votes,json=totalVotes,proto3" json:"total_votes,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *BlockTreeResponse_TreeNode) Reset() { *m = BlockTreeResponse_TreeNode{} }
|
|
func (m *BlockTreeResponse_TreeNode) String() string { return proto.CompactTextString(m) }
|
|
func (*BlockTreeResponse_TreeNode) ProtoMessage() {}
|
|
func (*BlockTreeResponse_TreeNode) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{20, 0}
|
|
}
|
|
|
|
func (m *BlockTreeResponse_TreeNode) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_BlockTreeResponse_TreeNode.Unmarshal(m, b)
|
|
}
|
|
func (m *BlockTreeResponse_TreeNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_BlockTreeResponse_TreeNode.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *BlockTreeResponse_TreeNode) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BlockTreeResponse_TreeNode.Merge(m, src)
|
|
}
|
|
func (m *BlockTreeResponse_TreeNode) XXX_Size() int {
|
|
return xxx_messageInfo_BlockTreeResponse_TreeNode.Size(m)
|
|
}
|
|
func (m *BlockTreeResponse_TreeNode) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_BlockTreeResponse_TreeNode.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_BlockTreeResponse_TreeNode proto.InternalMessageInfo
|
|
|
|
func (m *BlockTreeResponse_TreeNode) GetBlock() *v1alpha1.BeaconBlock {
|
|
if m != nil {
|
|
return m.Block
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *BlockTreeResponse_TreeNode) GetBlockRoot() []byte {
|
|
if m != nil {
|
|
return m.BlockRoot
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *BlockTreeResponse_TreeNode) GetParticipatedVotes() uint64 {
|
|
if m != nil {
|
|
return m.ParticipatedVotes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *BlockTreeResponse_TreeNode) GetTotalVotes() uint64 {
|
|
if m != nil {
|
|
return m.TotalVotes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type TreeBlockSlotRequest struct {
|
|
SlotFrom uint64 `protobuf:"varint,1,opt,name=slot_from,json=slotFrom,proto3" json:"slot_from,omitempty"`
|
|
SlotTo uint64 `protobuf:"varint,2,opt,name=slot_to,json=slotTo,proto3" json:"slot_to,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *TreeBlockSlotRequest) Reset() { *m = TreeBlockSlotRequest{} }
|
|
func (m *TreeBlockSlotRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*TreeBlockSlotRequest) ProtoMessage() {}
|
|
func (*TreeBlockSlotRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9eb4e94b85965285, []int{21}
|
|
}
|
|
|
|
func (m *TreeBlockSlotRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_TreeBlockSlotRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *TreeBlockSlotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_TreeBlockSlotRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *TreeBlockSlotRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_TreeBlockSlotRequest.Merge(m, src)
|
|
}
|
|
func (m *TreeBlockSlotRequest) XXX_Size() int {
|
|
return xxx_messageInfo_TreeBlockSlotRequest.Size(m)
|
|
}
|
|
func (m *TreeBlockSlotRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_TreeBlockSlotRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_TreeBlockSlotRequest proto.InternalMessageInfo
|
|
|
|
func (m *TreeBlockSlotRequest) GetSlotFrom() uint64 {
|
|
if m != nil {
|
|
return m.SlotFrom
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *TreeBlockSlotRequest) GetSlotTo() uint64 {
|
|
if m != nil {
|
|
return m.SlotTo
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterEnum("ethereum.beacon.rpc.v1.ValidatorRole", ValidatorRole_name, ValidatorRole_value)
|
|
proto.RegisterEnum("ethereum.beacon.rpc.v1.ValidatorStatus", ValidatorStatus_name, ValidatorStatus_value)
|
|
proto.RegisterType((*BlockRequest)(nil), "ethereum.beacon.rpc.v1.BlockRequest")
|
|
proto.RegisterType((*ProposeResponse)(nil), "ethereum.beacon.rpc.v1.ProposeResponse")
|
|
proto.RegisterType((*AttestationRequest)(nil), "ethereum.beacon.rpc.v1.AttestationRequest")
|
|
proto.RegisterType((*AttestResponse)(nil), "ethereum.beacon.rpc.v1.AttestResponse")
|
|
proto.RegisterType((*AggregationRequest)(nil), "ethereum.beacon.rpc.v1.AggregationRequest")
|
|
proto.RegisterType((*AggregationResponse)(nil), "ethereum.beacon.rpc.v1.AggregationResponse")
|
|
proto.RegisterType((*ValidatorPerformanceRequest)(nil), "ethereum.beacon.rpc.v1.ValidatorPerformanceRequest")
|
|
proto.RegisterType((*ValidatorPerformanceResponse)(nil), "ethereum.beacon.rpc.v1.ValidatorPerformanceResponse")
|
|
proto.RegisterType((*ValidatorActivationRequest)(nil), "ethereum.beacon.rpc.v1.ValidatorActivationRequest")
|
|
proto.RegisterType((*ValidatorActivationResponse)(nil), "ethereum.beacon.rpc.v1.ValidatorActivationResponse")
|
|
proto.RegisterType((*ValidatorActivationResponse_Status)(nil), "ethereum.beacon.rpc.v1.ValidatorActivationResponse.Status")
|
|
proto.RegisterType((*ExitedValidatorsRequest)(nil), "ethereum.beacon.rpc.v1.ExitedValidatorsRequest")
|
|
proto.RegisterType((*ExitedValidatorsResponse)(nil), "ethereum.beacon.rpc.v1.ExitedValidatorsResponse")
|
|
proto.RegisterType((*ChainStartResponse)(nil), "ethereum.beacon.rpc.v1.ChainStartResponse")
|
|
proto.RegisterType((*ValidatorIndexRequest)(nil), "ethereum.beacon.rpc.v1.ValidatorIndexRequest")
|
|
proto.RegisterType((*ValidatorIndexResponse)(nil), "ethereum.beacon.rpc.v1.ValidatorIndexResponse")
|
|
proto.RegisterType((*AssignmentRequest)(nil), "ethereum.beacon.rpc.v1.AssignmentRequest")
|
|
proto.RegisterType((*AssignmentResponse)(nil), "ethereum.beacon.rpc.v1.AssignmentResponse")
|
|
proto.RegisterType((*AssignmentResponse_ValidatorAssignment)(nil), "ethereum.beacon.rpc.v1.AssignmentResponse.ValidatorAssignment")
|
|
proto.RegisterType((*ValidatorStatusResponse)(nil), "ethereum.beacon.rpc.v1.ValidatorStatusResponse")
|
|
proto.RegisterType((*DomainRequest)(nil), "ethereum.beacon.rpc.v1.DomainRequest")
|
|
proto.RegisterType((*DomainResponse)(nil), "ethereum.beacon.rpc.v1.DomainResponse")
|
|
proto.RegisterType((*BlockTreeResponse)(nil), "ethereum.beacon.rpc.v1.BlockTreeResponse")
|
|
proto.RegisterType((*BlockTreeResponse_TreeNode)(nil), "ethereum.beacon.rpc.v1.BlockTreeResponse.TreeNode")
|
|
proto.RegisterType((*TreeBlockSlotRequest)(nil), "ethereum.beacon.rpc.v1.TreeBlockSlotRequest")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("proto/beacon/rpc/v1/services.proto", fileDescriptor_9eb4e94b85965285) }
|
|
|
|
var fileDescriptor_9eb4e94b85965285 = []byte{
|
|
// 1672 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x58, 0x4f, 0x6f, 0xe3, 0xc6,
|
|
0x15, 0x0f, 0x25, 0x59, 0xd6, 0x3e, 0xc9, 0x32, 0x3d, 0xf6, 0xda, 0x8a, 0x76, 0xb7, 0x71, 0x99,
|
|
0xa4, 0xb1, 0x5d, 0x44, 0xb2, 0x95, 0x60, 0xd1, 0x26, 0x48, 0x03, 0xd9, 0xe2, 0xda, 0x82, 0x17,
|
|
0xb2, 0x42, 0x69, 0xed, 0x14, 0x39, 0x10, 0x23, 0x6a, 0x2c, 0x11, 0x91, 0x38, 0x34, 0x39, 0x12,
|
|
0xe2, 0x4b, 0x81, 0x5e, 0x5a, 0xf4, 0xd6, 0x1e, 0x8a, 0x1e, 0x8b, 0x7e, 0x84, 0xa2, 0x87, 0x7e,
|
|
0x85, 0x7e, 0x88, 0x7e, 0x98, 0x80, 0x33, 0x43, 0x8a, 0xfa, 0x67, 0xcb, 0x7b, 0xe3, 0xbc, 0xf7,
|
|
0x7e, 0xef, 0xef, 0xcc, 0x9b, 0x37, 0x04, 0xcd, 0xf5, 0x28, 0xa3, 0xe5, 0x0e, 0xc1, 0x16, 0x75,
|
|
0xca, 0x9e, 0x6b, 0x95, 0xc7, 0x27, 0x65, 0x9f, 0x78, 0x63, 0xdb, 0x22, 0x7e, 0x89, 0x33, 0xd1,
|
|
0x2e, 0x61, 0x7d, 0xe2, 0x91, 0xd1, 0xb0, 0x24, 0xc4, 0x4a, 0x9e, 0x6b, 0x95, 0xc6, 0x27, 0xc5,
|
|
0x17, 0x3d, 0x4a, 0x7b, 0x03, 0x52, 0xe6, 0x52, 0x9d, 0xd1, 0x6d, 0x99, 0x0c, 0x5d, 0x76, 0x2f,
|
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 0x68, 0x69, 0x20, 0x4b, 0x5e, 0x12, 0xc5, 0xe3, 0xd5, 0x01, 0xd2,
|
|
0xec, 0xef, 0xa3, 0xcd, 0x3c, 0x79, 0x24, 0xa0, 0xdd, 0x92, 0xf8, 0xcb, 0x53, 0x0a, 0xff, 0xf2,
|
|
0x94, 0xf4, 0xa1, 0xcb, 0xee, 0x97, 0x97, 0x71, 0xfe, 0x81, 0x71, 0xac, 0xa0, 0x4b, 0xd8, 0x38,
|
|
0xc3, 0x0e, 0x75, 0x6c, 0x0b, 0x0f, 0x2e, 0x08, 0xee, 0x2e, 0x55, 0xbb, 0x4a, 0x37, 0xbb, 0x84,
|
|
0xac, 0xec, 0x41, 0x41, 0x28, 0xf1, 0x36, 0x39, 0x05, 0xb9, 0xa6, 0x83, 0x91, 0xc3, 0xb0, 0x77,
|
|
0x1f, 0x48, 0x15, 0x97, 0x18, 0xec, 0xa4, 0xf9, 0xfa, 0x8b, 0x9f, 0x03, 0x00, 0x00, 0xff, 0xff,
|
|
0x69, 0x2d, 0xc1, 0x24, 0x09, 0x13, 0x00, 0x00,
|
|
}
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
var _ grpc.ClientConn
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
const _ = grpc.SupportPackageIsVersion4
|
|
|
|
// AttesterServiceClient is the client API for AttesterService service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type AttesterServiceClient interface {
|
|
RequestAttestation(ctx context.Context, in *AttestationRequest, opts ...grpc.CallOption) (*v1alpha1.AttestationData, error)
|
|
SubmitAttestation(ctx context.Context, in *v1alpha1.Attestation, opts ...grpc.CallOption) (*AttestResponse, error)
|
|
}
|
|
|
|
type attesterServiceClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewAttesterServiceClient(cc *grpc.ClientConn) AttesterServiceClient {
|
|
return &attesterServiceClient{cc}
|
|
}
|
|
|
|
func (c *attesterServiceClient) RequestAttestation(ctx context.Context, in *AttestationRequest, opts ...grpc.CallOption) (*v1alpha1.AttestationData, error) {
|
|
out := new(v1alpha1.AttestationData)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.AttesterService/RequestAttestation", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *attesterServiceClient) SubmitAttestation(ctx context.Context, in *v1alpha1.Attestation, opts ...grpc.CallOption) (*AttestResponse, error) {
|
|
out := new(AttestResponse)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.AttesterService/SubmitAttestation", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// AttesterServiceServer is the server API for AttesterService service.
|
|
type AttesterServiceServer interface {
|
|
RequestAttestation(context.Context, *AttestationRequest) (*v1alpha1.AttestationData, error)
|
|
SubmitAttestation(context.Context, *v1alpha1.Attestation) (*AttestResponse, error)
|
|
}
|
|
|
|
// UnimplementedAttesterServiceServer can be embedded to have forward compatible implementations.
|
|
type UnimplementedAttesterServiceServer struct {
|
|
}
|
|
|
|
func (*UnimplementedAttesterServiceServer) RequestAttestation(ctx context.Context, req *AttestationRequest) (*v1alpha1.AttestationData, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method RequestAttestation not implemented")
|
|
}
|
|
func (*UnimplementedAttesterServiceServer) SubmitAttestation(ctx context.Context, req *v1alpha1.Attestation) (*AttestResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method SubmitAttestation not implemented")
|
|
}
|
|
|
|
func RegisterAttesterServiceServer(s *grpc.Server, srv AttesterServiceServer) {
|
|
s.RegisterService(&_AttesterService_serviceDesc, srv)
|
|
}
|
|
|
|
func _AttesterService_RequestAttestation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AttestationRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AttesterServiceServer).RequestAttestation(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.AttesterService/RequestAttestation",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AttesterServiceServer).RequestAttestation(ctx, req.(*AttestationRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AttesterService_SubmitAttestation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(v1alpha1.Attestation)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AttesterServiceServer).SubmitAttestation(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.AttesterService/SubmitAttestation",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AttesterServiceServer).SubmitAttestation(ctx, req.(*v1alpha1.Attestation))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _AttesterService_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "ethereum.beacon.rpc.v1.AttesterService",
|
|
HandlerType: (*AttesterServiceServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "RequestAttestation",
|
|
Handler: _AttesterService_RequestAttestation_Handler,
|
|
},
|
|
{
|
|
MethodName: "SubmitAttestation",
|
|
Handler: _AttesterService_SubmitAttestation_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "proto/beacon/rpc/v1/services.proto",
|
|
}
|
|
|
|
// ProposerServiceClient is the client API for ProposerService service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type ProposerServiceClient interface {
|
|
RequestBlock(ctx context.Context, in *BlockRequest, opts ...grpc.CallOption) (*v1alpha1.BeaconBlock, error)
|
|
ProposeBlock(ctx context.Context, in *v1alpha1.BeaconBlock, opts ...grpc.CallOption) (*ProposeResponse, error)
|
|
}
|
|
|
|
type proposerServiceClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewProposerServiceClient(cc *grpc.ClientConn) ProposerServiceClient {
|
|
return &proposerServiceClient{cc}
|
|
}
|
|
|
|
func (c *proposerServiceClient) RequestBlock(ctx context.Context, in *BlockRequest, opts ...grpc.CallOption) (*v1alpha1.BeaconBlock, error) {
|
|
out := new(v1alpha1.BeaconBlock)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.ProposerService/RequestBlock", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *proposerServiceClient) ProposeBlock(ctx context.Context, in *v1alpha1.BeaconBlock, opts ...grpc.CallOption) (*ProposeResponse, error) {
|
|
out := new(ProposeResponse)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.ProposerService/ProposeBlock", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// ProposerServiceServer is the server API for ProposerService service.
|
|
type ProposerServiceServer interface {
|
|
RequestBlock(context.Context, *BlockRequest) (*v1alpha1.BeaconBlock, error)
|
|
ProposeBlock(context.Context, *v1alpha1.BeaconBlock) (*ProposeResponse, error)
|
|
}
|
|
|
|
// UnimplementedProposerServiceServer can be embedded to have forward compatible implementations.
|
|
type UnimplementedProposerServiceServer struct {
|
|
}
|
|
|
|
func (*UnimplementedProposerServiceServer) RequestBlock(ctx context.Context, req *BlockRequest) (*v1alpha1.BeaconBlock, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method RequestBlock not implemented")
|
|
}
|
|
func (*UnimplementedProposerServiceServer) ProposeBlock(ctx context.Context, req *v1alpha1.BeaconBlock) (*ProposeResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ProposeBlock not implemented")
|
|
}
|
|
|
|
func RegisterProposerServiceServer(s *grpc.Server, srv ProposerServiceServer) {
|
|
s.RegisterService(&_ProposerService_serviceDesc, srv)
|
|
}
|
|
|
|
func _ProposerService_RequestBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(BlockRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ProposerServiceServer).RequestBlock(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.ProposerService/RequestBlock",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ProposerServiceServer).RequestBlock(ctx, req.(*BlockRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ProposerService_ProposeBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(v1alpha1.BeaconBlock)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ProposerServiceServer).ProposeBlock(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.ProposerService/ProposeBlock",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ProposerServiceServer).ProposeBlock(ctx, req.(*v1alpha1.BeaconBlock))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _ProposerService_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "ethereum.beacon.rpc.v1.ProposerService",
|
|
HandlerType: (*ProposerServiceServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "RequestBlock",
|
|
Handler: _ProposerService_RequestBlock_Handler,
|
|
},
|
|
{
|
|
MethodName: "ProposeBlock",
|
|
Handler: _ProposerService_ProposeBlock_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "proto/beacon/rpc/v1/services.proto",
|
|
}
|
|
|
|
// AggregatorServiceClient is the client API for AggregatorService service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type AggregatorServiceClient interface {
|
|
SubmitAggregateAndProof(ctx context.Context, in *AggregationRequest, opts ...grpc.CallOption) (*AggregationResponse, error)
|
|
}
|
|
|
|
type aggregatorServiceClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewAggregatorServiceClient(cc *grpc.ClientConn) AggregatorServiceClient {
|
|
return &aggregatorServiceClient{cc}
|
|
}
|
|
|
|
func (c *aggregatorServiceClient) SubmitAggregateAndProof(ctx context.Context, in *AggregationRequest, opts ...grpc.CallOption) (*AggregationResponse, error) {
|
|
out := new(AggregationResponse)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.AggregatorService/SubmitAggregateAndProof", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// AggregatorServiceServer is the server API for AggregatorService service.
|
|
type AggregatorServiceServer interface {
|
|
SubmitAggregateAndProof(context.Context, *AggregationRequest) (*AggregationResponse, error)
|
|
}
|
|
|
|
// UnimplementedAggregatorServiceServer can be embedded to have forward compatible implementations.
|
|
type UnimplementedAggregatorServiceServer struct {
|
|
}
|
|
|
|
func (*UnimplementedAggregatorServiceServer) SubmitAggregateAndProof(ctx context.Context, req *AggregationRequest) (*AggregationResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method SubmitAggregateAndProof not implemented")
|
|
}
|
|
|
|
func RegisterAggregatorServiceServer(s *grpc.Server, srv AggregatorServiceServer) {
|
|
s.RegisterService(&_AggregatorService_serviceDesc, srv)
|
|
}
|
|
|
|
func _AggregatorService_SubmitAggregateAndProof_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AggregationRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AggregatorServiceServer).SubmitAggregateAndProof(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.AggregatorService/SubmitAggregateAndProof",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AggregatorServiceServer).SubmitAggregateAndProof(ctx, req.(*AggregationRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _AggregatorService_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "ethereum.beacon.rpc.v1.AggregatorService",
|
|
HandlerType: (*AggregatorServiceServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "SubmitAggregateAndProof",
|
|
Handler: _AggregatorService_SubmitAggregateAndProof_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "proto/beacon/rpc/v1/services.proto",
|
|
}
|
|
|
|
// ValidatorServiceClient is the client API for ValidatorService service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type ValidatorServiceClient interface {
|
|
DomainData(ctx context.Context, in *DomainRequest, opts ...grpc.CallOption) (*DomainResponse, error)
|
|
WaitForActivation(ctx context.Context, in *ValidatorActivationRequest, opts ...grpc.CallOption) (ValidatorService_WaitForActivationClient, error)
|
|
ValidatorIndex(ctx context.Context, in *ValidatorIndexRequest, opts ...grpc.CallOption) (*ValidatorIndexResponse, error)
|
|
CommitteeAssignment(ctx context.Context, in *AssignmentRequest, opts ...grpc.CallOption) (*AssignmentResponse, error)
|
|
ValidatorStatus(ctx context.Context, in *ValidatorIndexRequest, opts ...grpc.CallOption) (*ValidatorStatusResponse, error)
|
|
ValidatorPerformance(ctx context.Context, in *ValidatorPerformanceRequest, opts ...grpc.CallOption) (*ValidatorPerformanceResponse, error)
|
|
ExitedValidators(ctx context.Context, in *ExitedValidatorsRequest, opts ...grpc.CallOption) (*ExitedValidatorsResponse, error)
|
|
WaitForChainStart(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (ValidatorService_WaitForChainStartClient, error)
|
|
CanonicalHead(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*v1alpha1.BeaconBlock, error)
|
|
ProposeExit(ctx context.Context, in *v1alpha1.VoluntaryExit, opts ...grpc.CallOption) (*empty.Empty, error)
|
|
}
|
|
|
|
type validatorServiceClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewValidatorServiceClient(cc *grpc.ClientConn) ValidatorServiceClient {
|
|
return &validatorServiceClient{cc}
|
|
}
|
|
|
|
func (c *validatorServiceClient) DomainData(ctx context.Context, in *DomainRequest, opts ...grpc.CallOption) (*DomainResponse, error) {
|
|
out := new(DomainResponse)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.ValidatorService/DomainData", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *validatorServiceClient) WaitForActivation(ctx context.Context, in *ValidatorActivationRequest, opts ...grpc.CallOption) (ValidatorService_WaitForActivationClient, error) {
|
|
stream, err := c.cc.NewStream(ctx, &_ValidatorService_serviceDesc.Streams[0], "/ethereum.beacon.rpc.v1.ValidatorService/WaitForActivation", opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
x := &validatorServiceWaitForActivationClient{stream}
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
return nil, err
|
|
}
|
|
return x, nil
|
|
}
|
|
|
|
type ValidatorService_WaitForActivationClient interface {
|
|
Recv() (*ValidatorActivationResponse, error)
|
|
grpc.ClientStream
|
|
}
|
|
|
|
type validatorServiceWaitForActivationClient struct {
|
|
grpc.ClientStream
|
|
}
|
|
|
|
func (x *validatorServiceWaitForActivationClient) Recv() (*ValidatorActivationResponse, error) {
|
|
m := new(ValidatorActivationResponse)
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
return nil, err
|
|
}
|
|
return m, nil
|
|
}
|
|
|
|
func (c *validatorServiceClient) ValidatorIndex(ctx context.Context, in *ValidatorIndexRequest, opts ...grpc.CallOption) (*ValidatorIndexResponse, error) {
|
|
out := new(ValidatorIndexResponse)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.ValidatorService/ValidatorIndex", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *validatorServiceClient) CommitteeAssignment(ctx context.Context, in *AssignmentRequest, opts ...grpc.CallOption) (*AssignmentResponse, error) {
|
|
out := new(AssignmentResponse)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.ValidatorService/CommitteeAssignment", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *validatorServiceClient) ValidatorStatus(ctx context.Context, in *ValidatorIndexRequest, opts ...grpc.CallOption) (*ValidatorStatusResponse, error) {
|
|
out := new(ValidatorStatusResponse)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.ValidatorService/ValidatorStatus", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *validatorServiceClient) ValidatorPerformance(ctx context.Context, in *ValidatorPerformanceRequest, opts ...grpc.CallOption) (*ValidatorPerformanceResponse, error) {
|
|
out := new(ValidatorPerformanceResponse)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.ValidatorService/ValidatorPerformance", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *validatorServiceClient) ExitedValidators(ctx context.Context, in *ExitedValidatorsRequest, opts ...grpc.CallOption) (*ExitedValidatorsResponse, error) {
|
|
out := new(ExitedValidatorsResponse)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.ValidatorService/ExitedValidators", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *validatorServiceClient) WaitForChainStart(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (ValidatorService_WaitForChainStartClient, error) {
|
|
stream, err := c.cc.NewStream(ctx, &_ValidatorService_serviceDesc.Streams[1], "/ethereum.beacon.rpc.v1.ValidatorService/WaitForChainStart", opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
x := &validatorServiceWaitForChainStartClient{stream}
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
return nil, err
|
|
}
|
|
return x, nil
|
|
}
|
|
|
|
type ValidatorService_WaitForChainStartClient interface {
|
|
Recv() (*ChainStartResponse, error)
|
|
grpc.ClientStream
|
|
}
|
|
|
|
type validatorServiceWaitForChainStartClient struct {
|
|
grpc.ClientStream
|
|
}
|
|
|
|
func (x *validatorServiceWaitForChainStartClient) Recv() (*ChainStartResponse, error) {
|
|
m := new(ChainStartResponse)
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
return nil, err
|
|
}
|
|
return m, nil
|
|
}
|
|
|
|
func (c *validatorServiceClient) CanonicalHead(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*v1alpha1.BeaconBlock, error) {
|
|
out := new(v1alpha1.BeaconBlock)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.ValidatorService/CanonicalHead", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *validatorServiceClient) ProposeExit(ctx context.Context, in *v1alpha1.VoluntaryExit, opts ...grpc.CallOption) (*empty.Empty, error) {
|
|
out := new(empty.Empty)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.ValidatorService/ProposeExit", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// ValidatorServiceServer is the server API for ValidatorService service.
|
|
type ValidatorServiceServer interface {
|
|
DomainData(context.Context, *DomainRequest) (*DomainResponse, error)
|
|
WaitForActivation(*ValidatorActivationRequest, ValidatorService_WaitForActivationServer) error
|
|
ValidatorIndex(context.Context, *ValidatorIndexRequest) (*ValidatorIndexResponse, error)
|
|
CommitteeAssignment(context.Context, *AssignmentRequest) (*AssignmentResponse, error)
|
|
ValidatorStatus(context.Context, *ValidatorIndexRequest) (*ValidatorStatusResponse, error)
|
|
ValidatorPerformance(context.Context, *ValidatorPerformanceRequest) (*ValidatorPerformanceResponse, error)
|
|
ExitedValidators(context.Context, *ExitedValidatorsRequest) (*ExitedValidatorsResponse, error)
|
|
WaitForChainStart(*empty.Empty, ValidatorService_WaitForChainStartServer) error
|
|
CanonicalHead(context.Context, *empty.Empty) (*v1alpha1.BeaconBlock, error)
|
|
ProposeExit(context.Context, *v1alpha1.VoluntaryExit) (*empty.Empty, error)
|
|
}
|
|
|
|
// UnimplementedValidatorServiceServer can be embedded to have forward compatible implementations.
|
|
type UnimplementedValidatorServiceServer struct {
|
|
}
|
|
|
|
func (*UnimplementedValidatorServiceServer) DomainData(ctx context.Context, req *DomainRequest) (*DomainResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DomainData not implemented")
|
|
}
|
|
func (*UnimplementedValidatorServiceServer) WaitForActivation(req *ValidatorActivationRequest, srv ValidatorService_WaitForActivationServer) error {
|
|
return status.Errorf(codes.Unimplemented, "method WaitForActivation not implemented")
|
|
}
|
|
func (*UnimplementedValidatorServiceServer) ValidatorIndex(ctx context.Context, req *ValidatorIndexRequest) (*ValidatorIndexResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ValidatorIndex not implemented")
|
|
}
|
|
func (*UnimplementedValidatorServiceServer) CommitteeAssignment(ctx context.Context, req *AssignmentRequest) (*AssignmentResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CommitteeAssignment not implemented")
|
|
}
|
|
func (*UnimplementedValidatorServiceServer) ValidatorStatus(ctx context.Context, req *ValidatorIndexRequest) (*ValidatorStatusResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ValidatorStatus not implemented")
|
|
}
|
|
func (*UnimplementedValidatorServiceServer) ValidatorPerformance(ctx context.Context, req *ValidatorPerformanceRequest) (*ValidatorPerformanceResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ValidatorPerformance not implemented")
|
|
}
|
|
func (*UnimplementedValidatorServiceServer) ExitedValidators(ctx context.Context, req *ExitedValidatorsRequest) (*ExitedValidatorsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ExitedValidators not implemented")
|
|
}
|
|
func (*UnimplementedValidatorServiceServer) WaitForChainStart(req *empty.Empty, srv ValidatorService_WaitForChainStartServer) error {
|
|
return status.Errorf(codes.Unimplemented, "method WaitForChainStart not implemented")
|
|
}
|
|
func (*UnimplementedValidatorServiceServer) CanonicalHead(ctx context.Context, req *empty.Empty) (*v1alpha1.BeaconBlock, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CanonicalHead not implemented")
|
|
}
|
|
func (*UnimplementedValidatorServiceServer) ProposeExit(ctx context.Context, req *v1alpha1.VoluntaryExit) (*empty.Empty, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ProposeExit not implemented")
|
|
}
|
|
|
|
func RegisterValidatorServiceServer(s *grpc.Server, srv ValidatorServiceServer) {
|
|
s.RegisterService(&_ValidatorService_serviceDesc, srv)
|
|
}
|
|
|
|
func _ValidatorService_DomainData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DomainRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ValidatorServiceServer).DomainData(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.ValidatorService/DomainData",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ValidatorServiceServer).DomainData(ctx, req.(*DomainRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ValidatorService_WaitForActivation_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
m := new(ValidatorActivationRequest)
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
return err
|
|
}
|
|
return srv.(ValidatorServiceServer).WaitForActivation(m, &validatorServiceWaitForActivationServer{stream})
|
|
}
|
|
|
|
type ValidatorService_WaitForActivationServer interface {
|
|
Send(*ValidatorActivationResponse) error
|
|
grpc.ServerStream
|
|
}
|
|
|
|
type validatorServiceWaitForActivationServer struct {
|
|
grpc.ServerStream
|
|
}
|
|
|
|
func (x *validatorServiceWaitForActivationServer) Send(m *ValidatorActivationResponse) error {
|
|
return x.ServerStream.SendMsg(m)
|
|
}
|
|
|
|
func _ValidatorService_ValidatorIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ValidatorIndexRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ValidatorServiceServer).ValidatorIndex(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.ValidatorService/ValidatorIndex",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ValidatorServiceServer).ValidatorIndex(ctx, req.(*ValidatorIndexRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ValidatorService_CommitteeAssignment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AssignmentRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ValidatorServiceServer).CommitteeAssignment(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.ValidatorService/CommitteeAssignment",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ValidatorServiceServer).CommitteeAssignment(ctx, req.(*AssignmentRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ValidatorService_ValidatorStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ValidatorIndexRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ValidatorServiceServer).ValidatorStatus(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.ValidatorService/ValidatorStatus",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ValidatorServiceServer).ValidatorStatus(ctx, req.(*ValidatorIndexRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ValidatorService_ValidatorPerformance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ValidatorPerformanceRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ValidatorServiceServer).ValidatorPerformance(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.ValidatorService/ValidatorPerformance",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ValidatorServiceServer).ValidatorPerformance(ctx, req.(*ValidatorPerformanceRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ValidatorService_ExitedValidators_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ExitedValidatorsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ValidatorServiceServer).ExitedValidators(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.ValidatorService/ExitedValidators",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ValidatorServiceServer).ExitedValidators(ctx, req.(*ExitedValidatorsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ValidatorService_WaitForChainStart_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
m := new(empty.Empty)
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
return err
|
|
}
|
|
return srv.(ValidatorServiceServer).WaitForChainStart(m, &validatorServiceWaitForChainStartServer{stream})
|
|
}
|
|
|
|
type ValidatorService_WaitForChainStartServer interface {
|
|
Send(*ChainStartResponse) error
|
|
grpc.ServerStream
|
|
}
|
|
|
|
type validatorServiceWaitForChainStartServer struct {
|
|
grpc.ServerStream
|
|
}
|
|
|
|
func (x *validatorServiceWaitForChainStartServer) Send(m *ChainStartResponse) error {
|
|
return x.ServerStream.SendMsg(m)
|
|
}
|
|
|
|
func _ValidatorService_CanonicalHead_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(empty.Empty)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ValidatorServiceServer).CanonicalHead(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.ValidatorService/CanonicalHead",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ValidatorServiceServer).CanonicalHead(ctx, req.(*empty.Empty))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ValidatorService_ProposeExit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(v1alpha1.VoluntaryExit)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ValidatorServiceServer).ProposeExit(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.ValidatorService/ProposeExit",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ValidatorServiceServer).ProposeExit(ctx, req.(*v1alpha1.VoluntaryExit))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _ValidatorService_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "ethereum.beacon.rpc.v1.ValidatorService",
|
|
HandlerType: (*ValidatorServiceServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "DomainData",
|
|
Handler: _ValidatorService_DomainData_Handler,
|
|
},
|
|
{
|
|
MethodName: "ValidatorIndex",
|
|
Handler: _ValidatorService_ValidatorIndex_Handler,
|
|
},
|
|
{
|
|
MethodName: "CommitteeAssignment",
|
|
Handler: _ValidatorService_CommitteeAssignment_Handler,
|
|
},
|
|
{
|
|
MethodName: "ValidatorStatus",
|
|
Handler: _ValidatorService_ValidatorStatus_Handler,
|
|
},
|
|
{
|
|
MethodName: "ValidatorPerformance",
|
|
Handler: _ValidatorService_ValidatorPerformance_Handler,
|
|
},
|
|
{
|
|
MethodName: "ExitedValidators",
|
|
Handler: _ValidatorService_ExitedValidators_Handler,
|
|
},
|
|
{
|
|
MethodName: "CanonicalHead",
|
|
Handler: _ValidatorService_CanonicalHead_Handler,
|
|
},
|
|
{
|
|
MethodName: "ProposeExit",
|
|
Handler: _ValidatorService_ProposeExit_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{
|
|
{
|
|
StreamName: "WaitForActivation",
|
|
Handler: _ValidatorService_WaitForActivation_Handler,
|
|
ServerStreams: true,
|
|
},
|
|
{
|
|
StreamName: "WaitForChainStart",
|
|
Handler: _ValidatorService_WaitForChainStart_Handler,
|
|
ServerStreams: true,
|
|
},
|
|
},
|
|
Metadata: "proto/beacon/rpc/v1/services.proto",
|
|
}
|