mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-19 08:14:15 +00:00
06bfda24d5
This reverts commit 15f8b6a10d
.
5779 lines
152 KiB
Go
Executable File
Generated
5779 lines
152 KiB
Go
Executable File
Generated
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: proto/beacon/rpc/v1/services.proto
|
|
|
|
package ethereum_beacon_rpc_v1
|
|
|
|
import proto "github.com/gogo/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
import types "github.com/gogo/protobuf/types"
|
|
import v1 "github.com/prysmaticlabs/prysm/proto/beacon/p2p/v1"
|
|
|
|
import (
|
|
context "golang.org/x/net/context"
|
|
grpc "google.golang.org/grpc"
|
|
)
|
|
|
|
import io "io"
|
|
|
|
// 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.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
type ValidatorRole int32
|
|
|
|
const (
|
|
ValidatorRole_UNKNOWN ValidatorRole = 0
|
|
ValidatorRole_ATTESTER ValidatorRole = 1
|
|
ValidatorRole_PROPOSER ValidatorRole = 2
|
|
ValidatorRole_BOTH ValidatorRole = 3
|
|
)
|
|
|
|
var ValidatorRole_name = map[int32]string{
|
|
0: "UNKNOWN",
|
|
1: "ATTESTER",
|
|
2: "PROPOSER",
|
|
3: "BOTH",
|
|
}
|
|
var ValidatorRole_value = map[string]int32{
|
|
"UNKNOWN": 0,
|
|
"ATTESTER": 1,
|
|
"PROPOSER": 2,
|
|
"BOTH": 3,
|
|
}
|
|
|
|
func (x ValidatorRole) String() string {
|
|
return proto.EnumName(ValidatorRole_name, int32(x))
|
|
}
|
|
func (ValidatorRole) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_services_f14462783c5161ce, []int{0}
|
|
}
|
|
|
|
type CommitteeRequest struct {
|
|
Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
|
|
ValidatorIndex uint64 `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CommitteeRequest) Reset() { *m = CommitteeRequest{} }
|
|
func (m *CommitteeRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*CommitteeRequest) ProtoMessage() {}
|
|
func (*CommitteeRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_services_f14462783c5161ce, []int{0}
|
|
}
|
|
func (m *CommitteeRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *CommitteeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_CommitteeRequest.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *CommitteeRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CommitteeRequest.Merge(dst, src)
|
|
}
|
|
func (m *CommitteeRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *CommitteeRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CommitteeRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CommitteeRequest proto.InternalMessageInfo
|
|
|
|
func (m *CommitteeRequest) GetSlot() uint64 {
|
|
if m != nil {
|
|
return m.Slot
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CommitteeRequest) GetValidatorIndex() uint64 {
|
|
if m != nil {
|
|
return m.ValidatorIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CommitteeResponse struct {
|
|
Committee []uint64 `protobuf:"varint,1,rep,packed,name=committee,proto3" json:"committee,omitempty"`
|
|
Shard uint64 `protobuf:"varint,2,opt,name=shard,proto3" json:"shard,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CommitteeResponse) Reset() { *m = CommitteeResponse{} }
|
|
func (m *CommitteeResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*CommitteeResponse) ProtoMessage() {}
|
|
func (*CommitteeResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_services_f14462783c5161ce, []int{1}
|
|
}
|
|
func (m *CommitteeResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *CommitteeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_CommitteeResponse.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *CommitteeResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CommitteeResponse.Merge(dst, src)
|
|
}
|
|
func (m *CommitteeResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *CommitteeResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CommitteeResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CommitteeResponse proto.InternalMessageInfo
|
|
|
|
func (m *CommitteeResponse) GetCommittee() []uint64 {
|
|
if m != nil {
|
|
return m.Committee
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CommitteeResponse) GetShard() uint64 {
|
|
if m != nil {
|
|
return m.Shard
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AttestationInfoRequest struct {
|
|
Shard uint64 `protobuf:"varint,1,opt,name=shard,proto3" json:"shard,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AttestationInfoRequest) Reset() { *m = AttestationInfoRequest{} }
|
|
func (m *AttestationInfoRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*AttestationInfoRequest) ProtoMessage() {}
|
|
func (*AttestationInfoRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_services_f14462783c5161ce, []int{2}
|
|
}
|
|
func (m *AttestationInfoRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *AttestationInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_AttestationInfoRequest.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *AttestationInfoRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AttestationInfoRequest.Merge(dst, src)
|
|
}
|
|
func (m *AttestationInfoRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *AttestationInfoRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AttestationInfoRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AttestationInfoRequest proto.InternalMessageInfo
|
|
|
|
func (m *AttestationInfoRequest) GetShard() uint64 {
|
|
if m != nil {
|
|
return m.Shard
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AttestationInfoResponse struct {
|
|
BeaconBlockRootHash32 []byte `protobuf:"bytes,1,opt,name=beacon_block_root_hash32,json=beaconBlockRootHash32,proto3" json:"beacon_block_root_hash32,omitempty"`
|
|
EpochBoundaryRootHash32 []byte `protobuf:"bytes,2,opt,name=epoch_boundary_root_hash32,json=epochBoundaryRootHash32,proto3" json:"epoch_boundary_root_hash32,omitempty"`
|
|
JustifiedEpoch uint64 `protobuf:"varint,3,opt,name=justified_epoch,json=justifiedEpoch,proto3" json:"justified_epoch,omitempty"`
|
|
JustifiedBlockRootHash32 []byte `protobuf:"bytes,4,opt,name=justified_block_root_hash32,json=justifiedBlockRootHash32,proto3" json:"justified_block_root_hash32,omitempty"`
|
|
LatestCrosslink *v1.Crosslink `protobuf:"bytes,5,opt,name=latest_crosslink,json=latestCrosslink,proto3" json:"latest_crosslink,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AttestationInfoResponse) Reset() { *m = AttestationInfoResponse{} }
|
|
func (m *AttestationInfoResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*AttestationInfoResponse) ProtoMessage() {}
|
|
func (*AttestationInfoResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_services_f14462783c5161ce, []int{3}
|
|
}
|
|
func (m *AttestationInfoResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *AttestationInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_AttestationInfoResponse.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *AttestationInfoResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AttestationInfoResponse.Merge(dst, src)
|
|
}
|
|
func (m *AttestationInfoResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *AttestationInfoResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AttestationInfoResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AttestationInfoResponse proto.InternalMessageInfo
|
|
|
|
func (m *AttestationInfoResponse) GetBeaconBlockRootHash32() []byte {
|
|
if m != nil {
|
|
return m.BeaconBlockRootHash32
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *AttestationInfoResponse) GetEpochBoundaryRootHash32() []byte {
|
|
if m != nil {
|
|
return m.EpochBoundaryRootHash32
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *AttestationInfoResponse) GetJustifiedEpoch() uint64 {
|
|
if m != nil {
|
|
return m.JustifiedEpoch
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *AttestationInfoResponse) GetJustifiedBlockRootHash32() []byte {
|
|
if m != nil {
|
|
return m.JustifiedBlockRootHash32
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *AttestationInfoResponse) GetLatestCrosslink() *v1.Crosslink {
|
|
if m != nil {
|
|
return m.LatestCrosslink
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PendingAttestationsResponse struct {
|
|
PendingAttestations []*v1.Attestation `protobuf:"bytes,1,rep,name=pending_attestations,json=pendingAttestations,proto3" json:"pending_attestations,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *PendingAttestationsResponse) Reset() { *m = PendingAttestationsResponse{} }
|
|
func (m *PendingAttestationsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*PendingAttestationsResponse) ProtoMessage() {}
|
|
func (*PendingAttestationsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_services_f14462783c5161ce, []int{4}
|
|
}
|
|
func (m *PendingAttestationsResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *PendingAttestationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_PendingAttestationsResponse.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *PendingAttestationsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PendingAttestationsResponse.Merge(dst, src)
|
|
}
|
|
func (m *PendingAttestationsResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *PendingAttestationsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PendingAttestationsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PendingAttestationsResponse proto.InternalMessageInfo
|
|
|
|
func (m *PendingAttestationsResponse) GetPendingAttestations() []*v1.Attestation {
|
|
if m != nil {
|
|
return m.PendingAttestations
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CrosslinkCommitteeRequest struct {
|
|
Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CrosslinkCommitteeRequest) Reset() { *m = CrosslinkCommitteeRequest{} }
|
|
func (m *CrosslinkCommitteeRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*CrosslinkCommitteeRequest) ProtoMessage() {}
|
|
func (*CrosslinkCommitteeRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_services_f14462783c5161ce, []int{5}
|
|
}
|
|
func (m *CrosslinkCommitteeRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *CrosslinkCommitteeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_CrosslinkCommitteeRequest.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *CrosslinkCommitteeRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CrosslinkCommitteeRequest.Merge(dst, src)
|
|
}
|
|
func (m *CrosslinkCommitteeRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *CrosslinkCommitteeRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CrosslinkCommitteeRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CrosslinkCommitteeRequest proto.InternalMessageInfo
|
|
|
|
func (m *CrosslinkCommitteeRequest) GetSlot() uint64 {
|
|
if m != nil {
|
|
return m.Slot
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CrosslinkCommitteeResponse struct {
|
|
Committee []uint64 `protobuf:"varint,1,rep,packed,name=committee,proto3" json:"committee,omitempty"`
|
|
Shard uint64 `protobuf:"varint,2,opt,name=shard,proto3" json:"shard,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CrosslinkCommitteeResponse) Reset() { *m = CrosslinkCommitteeResponse{} }
|
|
func (m *CrosslinkCommitteeResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*CrosslinkCommitteeResponse) ProtoMessage() {}
|
|
func (*CrosslinkCommitteeResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_services_f14462783c5161ce, []int{6}
|
|
}
|
|
func (m *CrosslinkCommitteeResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *CrosslinkCommitteeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_CrosslinkCommitteeResponse.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *CrosslinkCommitteeResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CrosslinkCommitteeResponse.Merge(dst, src)
|
|
}
|
|
func (m *CrosslinkCommitteeResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *CrosslinkCommitteeResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CrosslinkCommitteeResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CrosslinkCommitteeResponse proto.InternalMessageInfo
|
|
|
|
func (m *CrosslinkCommitteeResponse) GetCommittee() []uint64 {
|
|
if m != nil {
|
|
return m.Committee
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CrosslinkCommitteeResponse) GetShard() uint64 {
|
|
if m != nil {
|
|
return m.Shard
|
|
}
|
|
return 0
|
|
}
|
|
|
|
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_services_f14462783c5161ce, []int{7}
|
|
}
|
|
func (m *ChainStartResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ChainStartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ChainStartResponse.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ChainStartResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ChainStartResponse.Merge(dst, src)
|
|
}
|
|
func (m *ChainStartResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
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 ProposeRequest struct {
|
|
ParentHash []byte `protobuf:"bytes,1,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"`
|
|
SlotNumber uint64 `protobuf:"varint,2,opt,name=slot_number,json=slotNumber,proto3" json:"slot_number,omitempty"`
|
|
RandaoReveal []byte `protobuf:"bytes,3,opt,name=randao_reveal,json=randaoReveal,proto3" json:"randao_reveal,omitempty"`
|
|
AttestationBitmask []byte `protobuf:"bytes,4,opt,name=attestation_bitmask,json=attestationBitmask,proto3" json:"attestation_bitmask,omitempty"`
|
|
AttestationAggregateSig []uint64 `protobuf:"varint,5,rep,packed,name=attestation_aggregate_sig,json=attestationAggregateSig,proto3" json:"attestation_aggregate_sig,omitempty"`
|
|
Timestamp *types.Timestamp `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ProposeRequest) Reset() { *m = ProposeRequest{} }
|
|
func (m *ProposeRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ProposeRequest) ProtoMessage() {}
|
|
func (*ProposeRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_services_f14462783c5161ce, []int{8}
|
|
}
|
|
func (m *ProposeRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ProposeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ProposeRequest.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ProposeRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ProposeRequest.Merge(dst, src)
|
|
}
|
|
func (m *ProposeRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ProposeRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ProposeRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ProposeRequest proto.InternalMessageInfo
|
|
|
|
func (m *ProposeRequest) GetParentHash() []byte {
|
|
if m != nil {
|
|
return m.ParentHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ProposeRequest) GetSlotNumber() uint64 {
|
|
if m != nil {
|
|
return m.SlotNumber
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ProposeRequest) GetRandaoReveal() []byte {
|
|
if m != nil {
|
|
return m.RandaoReveal
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ProposeRequest) GetAttestationBitmask() []byte {
|
|
if m != nil {
|
|
return m.AttestationBitmask
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ProposeRequest) GetAttestationAggregateSig() []uint64 {
|
|
if m != nil {
|
|
return m.AttestationAggregateSig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ProposeRequest) GetTimestamp() *types.Timestamp {
|
|
if m != nil {
|
|
return m.Timestamp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ProposeResponse struct {
|
|
BlockHash []byte `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,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_services_f14462783c5161ce, []int{9}
|
|
}
|
|
func (m *ProposeResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ProposeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ProposeResponse.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ProposeResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ProposeResponse.Merge(dst, src)
|
|
}
|
|
func (m *ProposeResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ProposeResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ProposeResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ProposeResponse proto.InternalMessageInfo
|
|
|
|
func (m *ProposeResponse) GetBlockHash() []byte {
|
|
if m != nil {
|
|
return m.BlockHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ProposerIndexRequest struct {
|
|
SlotNumber uint64 `protobuf:"varint,1,opt,name=slot_number,json=slotNumber,proto3" json:"slot_number,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ProposerIndexRequest) Reset() { *m = ProposerIndexRequest{} }
|
|
func (m *ProposerIndexRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ProposerIndexRequest) ProtoMessage() {}
|
|
func (*ProposerIndexRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_services_f14462783c5161ce, []int{10}
|
|
}
|
|
func (m *ProposerIndexRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ProposerIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ProposerIndexRequest.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ProposerIndexRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ProposerIndexRequest.Merge(dst, src)
|
|
}
|
|
func (m *ProposerIndexRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ProposerIndexRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ProposerIndexRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ProposerIndexRequest proto.InternalMessageInfo
|
|
|
|
func (m *ProposerIndexRequest) GetSlotNumber() uint64 {
|
|
if m != nil {
|
|
return m.SlotNumber
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ProposerIndexResponse 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 *ProposerIndexResponse) Reset() { *m = ProposerIndexResponse{} }
|
|
func (m *ProposerIndexResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ProposerIndexResponse) ProtoMessage() {}
|
|
func (*ProposerIndexResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_services_f14462783c5161ce, []int{11}
|
|
}
|
|
func (m *ProposerIndexResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ProposerIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ProposerIndexResponse.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ProposerIndexResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ProposerIndexResponse.Merge(dst, src)
|
|
}
|
|
func (m *ProposerIndexResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ProposerIndexResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ProposerIndexResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ProposerIndexResponse proto.InternalMessageInfo
|
|
|
|
func (m *ProposerIndexResponse) GetIndex() uint64 {
|
|
if m != nil {
|
|
return m.Index
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type StateRootResponse struct {
|
|
StateRoot []byte `protobuf:"bytes,1,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *StateRootResponse) Reset() { *m = StateRootResponse{} }
|
|
func (m *StateRootResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*StateRootResponse) ProtoMessage() {}
|
|
func (*StateRootResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_services_f14462783c5161ce, []int{12}
|
|
}
|
|
func (m *StateRootResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *StateRootResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_StateRootResponse.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *StateRootResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_StateRootResponse.Merge(dst, src)
|
|
}
|
|
func (m *StateRootResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *StateRootResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_StateRootResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_StateRootResponse proto.InternalMessageInfo
|
|
|
|
func (m *StateRootResponse) GetStateRoot() []byte {
|
|
if m != nil {
|
|
return m.StateRoot
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AttestResponse struct {
|
|
AttestationHash []byte `protobuf:"bytes,1,opt,name=attestation_hash,json=attestationHash,proto3" json:"attestation_hash,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_services_f14462783c5161ce, []int{13}
|
|
}
|
|
func (m *AttestResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *AttestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_AttestResponse.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *AttestResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AttestResponse.Merge(dst, src)
|
|
}
|
|
func (m *AttestResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *AttestResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AttestResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AttestResponse proto.InternalMessageInfo
|
|
|
|
func (m *AttestResponse) GetAttestationHash() []byte {
|
|
if m != nil {
|
|
return m.AttestationHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Assignment struct {
|
|
PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
|
Shard uint64 `protobuf:"varint,2,opt,name=shard,proto3" json:"shard,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"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Assignment) Reset() { *m = Assignment{} }
|
|
func (m *Assignment) String() string { return proto.CompactTextString(m) }
|
|
func (*Assignment) ProtoMessage() {}
|
|
func (*Assignment) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_services_f14462783c5161ce, []int{14}
|
|
}
|
|
func (m *Assignment) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *Assignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_Assignment.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *Assignment) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Assignment.Merge(dst, src)
|
|
}
|
|
func (m *Assignment) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *Assignment) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Assignment.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Assignment proto.InternalMessageInfo
|
|
|
|
func (m *Assignment) GetPublicKey() []byte {
|
|
if m != nil {
|
|
return m.PublicKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Assignment) GetShard() uint64 {
|
|
if m != nil {
|
|
return m.Shard
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Assignment) GetAttesterSlot() uint64 {
|
|
if m != nil {
|
|
return m.AttesterSlot
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Assignment) GetProposerSlot() uint64 {
|
|
if m != nil {
|
|
return m.ProposerSlot
|
|
}
|
|
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_services_f14462783c5161ce, []int{15}
|
|
}
|
|
func (m *ValidatorIndexRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ValidatorIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ValidatorIndexRequest.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ValidatorIndexRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ValidatorIndexRequest.Merge(dst, src)
|
|
}
|
|
func (m *ValidatorIndexRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
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_services_f14462783c5161ce, []int{16}
|
|
}
|
|
func (m *ValidatorIndexResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ValidatorIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ValidatorIndexResponse.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ValidatorIndexResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ValidatorIndexResponse.Merge(dst, src)
|
|
}
|
|
func (m *ValidatorIndexResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
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 ValidatorEpochAssignmentsRequest struct {
|
|
EpochStart uint64 `protobuf:"varint,1,opt,name=epoch_start,json=epochStart,proto3" json:"epoch_start,omitempty"`
|
|
PublicKey []byte `protobuf:"bytes,2,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 *ValidatorEpochAssignmentsRequest) Reset() { *m = ValidatorEpochAssignmentsRequest{} }
|
|
func (m *ValidatorEpochAssignmentsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ValidatorEpochAssignmentsRequest) ProtoMessage() {}
|
|
func (*ValidatorEpochAssignmentsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_services_f14462783c5161ce, []int{17}
|
|
}
|
|
func (m *ValidatorEpochAssignmentsRequest) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ValidatorEpochAssignmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ValidatorEpochAssignmentsRequest.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ValidatorEpochAssignmentsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ValidatorEpochAssignmentsRequest.Merge(dst, src)
|
|
}
|
|
func (m *ValidatorEpochAssignmentsRequest) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ValidatorEpochAssignmentsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ValidatorEpochAssignmentsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ValidatorEpochAssignmentsRequest proto.InternalMessageInfo
|
|
|
|
func (m *ValidatorEpochAssignmentsRequest) GetEpochStart() uint64 {
|
|
if m != nil {
|
|
return m.EpochStart
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ValidatorEpochAssignmentsRequest) GetPublicKey() []byte {
|
|
if m != nil {
|
|
return m.PublicKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ValidatorEpochAssignmentsResponse struct {
|
|
Assignment *Assignment `protobuf:"bytes,2,opt,name=assignment,proto3" json:"assignment,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ValidatorEpochAssignmentsResponse) Reset() { *m = ValidatorEpochAssignmentsResponse{} }
|
|
func (m *ValidatorEpochAssignmentsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ValidatorEpochAssignmentsResponse) ProtoMessage() {}
|
|
func (*ValidatorEpochAssignmentsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_services_f14462783c5161ce, []int{18}
|
|
}
|
|
func (m *ValidatorEpochAssignmentsResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *ValidatorEpochAssignmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_ValidatorEpochAssignmentsResponse.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *ValidatorEpochAssignmentsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ValidatorEpochAssignmentsResponse.Merge(dst, src)
|
|
}
|
|
func (m *ValidatorEpochAssignmentsResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *ValidatorEpochAssignmentsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ValidatorEpochAssignmentsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ValidatorEpochAssignmentsResponse proto.InternalMessageInfo
|
|
|
|
func (m *ValidatorEpochAssignmentsResponse) GetAssignment() *Assignment {
|
|
if m != nil {
|
|
return m.Assignment
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PendingDepositsResponse struct {
|
|
PendingDeposits []*v1.Deposit `protobuf:"bytes,1,rep,name=pending_deposits,json=pendingDeposits,proto3" json:"pending_deposits,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *PendingDepositsResponse) Reset() { *m = PendingDepositsResponse{} }
|
|
func (m *PendingDepositsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*PendingDepositsResponse) ProtoMessage() {}
|
|
func (*PendingDepositsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_services_f14462783c5161ce, []int{19}
|
|
}
|
|
func (m *PendingDepositsResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *PendingDepositsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_PendingDepositsResponse.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *PendingDepositsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PendingDepositsResponse.Merge(dst, src)
|
|
}
|
|
func (m *PendingDepositsResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *PendingDepositsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PendingDepositsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PendingDepositsResponse proto.InternalMessageInfo
|
|
|
|
func (m *PendingDepositsResponse) GetPendingDeposits() []*v1.Deposit {
|
|
if m != nil {
|
|
return m.PendingDeposits
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CommitteeAssignmentResponse struct {
|
|
Committee []uint64 `protobuf:"varint,1,rep,packed,name=committee,proto3" json:"committee,omitempty"`
|
|
Shard uint64 `protobuf:"varint,2,opt,name=shard,proto3" json:"shard,omitempty"`
|
|
Slot uint64 `protobuf:"varint,3,opt,name=slot,proto3" json:"slot,omitempty"`
|
|
IsProposer bool `protobuf:"varint,4,opt,name=is_proposer,json=isProposer,proto3" json:"is_proposer,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CommitteeAssignmentResponse) Reset() { *m = CommitteeAssignmentResponse{} }
|
|
func (m *CommitteeAssignmentResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*CommitteeAssignmentResponse) ProtoMessage() {}
|
|
func (*CommitteeAssignmentResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_services_f14462783c5161ce, []int{20}
|
|
}
|
|
func (m *CommitteeAssignmentResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *CommitteeAssignmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_CommitteeAssignmentResponse.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *CommitteeAssignmentResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CommitteeAssignmentResponse.Merge(dst, src)
|
|
}
|
|
func (m *CommitteeAssignmentResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *CommitteeAssignmentResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CommitteeAssignmentResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CommitteeAssignmentResponse proto.InternalMessageInfo
|
|
|
|
func (m *CommitteeAssignmentResponse) GetCommittee() []uint64 {
|
|
if m != nil {
|
|
return m.Committee
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CommitteeAssignmentResponse) GetShard() uint64 {
|
|
if m != nil {
|
|
return m.Shard
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CommitteeAssignmentResponse) GetSlot() uint64 {
|
|
if m != nil {
|
|
return m.Slot
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CommitteeAssignmentResponse) GetIsProposer() bool {
|
|
if m != nil {
|
|
return m.IsProposer
|
|
}
|
|
return false
|
|
}
|
|
|
|
type Eth1DataResponse struct {
|
|
Eth1Data *v1.Eth1Data `protobuf:"bytes,1,opt,name=eth1_data,json=eth1Data,proto3" json:"eth1_data,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Eth1DataResponse) Reset() { *m = Eth1DataResponse{} }
|
|
func (m *Eth1DataResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*Eth1DataResponse) ProtoMessage() {}
|
|
func (*Eth1DataResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_services_f14462783c5161ce, []int{21}
|
|
}
|
|
func (m *Eth1DataResponse) XXX_Unmarshal(b []byte) error {
|
|
return m.Unmarshal(b)
|
|
}
|
|
func (m *Eth1DataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
if deterministic {
|
|
return xxx_messageInfo_Eth1DataResponse.Marshal(b, m, deterministic)
|
|
} else {
|
|
b = b[:cap(b)]
|
|
n, err := m.MarshalTo(b)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return b[:n], nil
|
|
}
|
|
}
|
|
func (dst *Eth1DataResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Eth1DataResponse.Merge(dst, src)
|
|
}
|
|
func (m *Eth1DataResponse) XXX_Size() int {
|
|
return m.Size()
|
|
}
|
|
func (m *Eth1DataResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Eth1DataResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Eth1DataResponse proto.InternalMessageInfo
|
|
|
|
func (m *Eth1DataResponse) GetEth1Data() *v1.Eth1Data {
|
|
if m != nil {
|
|
return m.Eth1Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*CommitteeRequest)(nil), "ethereum.beacon.rpc.v1.CommitteeRequest")
|
|
proto.RegisterType((*CommitteeResponse)(nil), "ethereum.beacon.rpc.v1.CommitteeResponse")
|
|
proto.RegisterType((*AttestationInfoRequest)(nil), "ethereum.beacon.rpc.v1.AttestationInfoRequest")
|
|
proto.RegisterType((*AttestationInfoResponse)(nil), "ethereum.beacon.rpc.v1.AttestationInfoResponse")
|
|
proto.RegisterType((*PendingAttestationsResponse)(nil), "ethereum.beacon.rpc.v1.PendingAttestationsResponse")
|
|
proto.RegisterType((*CrosslinkCommitteeRequest)(nil), "ethereum.beacon.rpc.v1.CrosslinkCommitteeRequest")
|
|
proto.RegisterType((*CrosslinkCommitteeResponse)(nil), "ethereum.beacon.rpc.v1.CrosslinkCommitteeResponse")
|
|
proto.RegisterType((*ChainStartResponse)(nil), "ethereum.beacon.rpc.v1.ChainStartResponse")
|
|
proto.RegisterType((*ProposeRequest)(nil), "ethereum.beacon.rpc.v1.ProposeRequest")
|
|
proto.RegisterType((*ProposeResponse)(nil), "ethereum.beacon.rpc.v1.ProposeResponse")
|
|
proto.RegisterType((*ProposerIndexRequest)(nil), "ethereum.beacon.rpc.v1.ProposerIndexRequest")
|
|
proto.RegisterType((*ProposerIndexResponse)(nil), "ethereum.beacon.rpc.v1.ProposerIndexResponse")
|
|
proto.RegisterType((*StateRootResponse)(nil), "ethereum.beacon.rpc.v1.StateRootResponse")
|
|
proto.RegisterType((*AttestResponse)(nil), "ethereum.beacon.rpc.v1.AttestResponse")
|
|
proto.RegisterType((*Assignment)(nil), "ethereum.beacon.rpc.v1.Assignment")
|
|
proto.RegisterType((*ValidatorIndexRequest)(nil), "ethereum.beacon.rpc.v1.ValidatorIndexRequest")
|
|
proto.RegisterType((*ValidatorIndexResponse)(nil), "ethereum.beacon.rpc.v1.ValidatorIndexResponse")
|
|
proto.RegisterType((*ValidatorEpochAssignmentsRequest)(nil), "ethereum.beacon.rpc.v1.ValidatorEpochAssignmentsRequest")
|
|
proto.RegisterType((*ValidatorEpochAssignmentsResponse)(nil), "ethereum.beacon.rpc.v1.ValidatorEpochAssignmentsResponse")
|
|
proto.RegisterType((*PendingDepositsResponse)(nil), "ethereum.beacon.rpc.v1.PendingDepositsResponse")
|
|
proto.RegisterType((*CommitteeAssignmentResponse)(nil), "ethereum.beacon.rpc.v1.CommitteeAssignmentResponse")
|
|
proto.RegisterType((*Eth1DataResponse)(nil), "ethereum.beacon.rpc.v1.Eth1DataResponse")
|
|
proto.RegisterEnum("ethereum.beacon.rpc.v1.ValidatorRole", ValidatorRole_name, ValidatorRole_value)
|
|
}
|
|
|
|
// 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
|
|
|
|
// BeaconServiceClient is the client API for BeaconService service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type BeaconServiceClient interface {
|
|
WaitForChainStart(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (BeaconService_WaitForChainStartClient, error)
|
|
CanonicalHead(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*v1.BeaconBlock, error)
|
|
LatestAttestation(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (BeaconService_LatestAttestationClient, error)
|
|
PendingDeposits(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*PendingDepositsResponse, error)
|
|
Eth1Data(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*Eth1DataResponse, error)
|
|
ForkData(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*v1.Fork, error)
|
|
}
|
|
|
|
type beaconServiceClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewBeaconServiceClient(cc *grpc.ClientConn) BeaconServiceClient {
|
|
return &beaconServiceClient{cc}
|
|
}
|
|
|
|
func (c *beaconServiceClient) WaitForChainStart(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (BeaconService_WaitForChainStartClient, error) {
|
|
stream, err := c.cc.NewStream(ctx, &_BeaconService_serviceDesc.Streams[0], "/ethereum.beacon.rpc.v1.BeaconService/WaitForChainStart", opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
x := &beaconServiceWaitForChainStartClient{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 BeaconService_WaitForChainStartClient interface {
|
|
Recv() (*ChainStartResponse, error)
|
|
grpc.ClientStream
|
|
}
|
|
|
|
type beaconServiceWaitForChainStartClient struct {
|
|
grpc.ClientStream
|
|
}
|
|
|
|
func (x *beaconServiceWaitForChainStartClient) Recv() (*ChainStartResponse, error) {
|
|
m := new(ChainStartResponse)
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
return nil, err
|
|
}
|
|
return m, nil
|
|
}
|
|
|
|
func (c *beaconServiceClient) CanonicalHead(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*v1.BeaconBlock, error) {
|
|
out := new(v1.BeaconBlock)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.BeaconService/CanonicalHead", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *beaconServiceClient) LatestAttestation(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (BeaconService_LatestAttestationClient, error) {
|
|
stream, err := c.cc.NewStream(ctx, &_BeaconService_serviceDesc.Streams[1], "/ethereum.beacon.rpc.v1.BeaconService/LatestAttestation", opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
x := &beaconServiceLatestAttestationClient{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 BeaconService_LatestAttestationClient interface {
|
|
Recv() (*v1.Attestation, error)
|
|
grpc.ClientStream
|
|
}
|
|
|
|
type beaconServiceLatestAttestationClient struct {
|
|
grpc.ClientStream
|
|
}
|
|
|
|
func (x *beaconServiceLatestAttestationClient) Recv() (*v1.Attestation, error) {
|
|
m := new(v1.Attestation)
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
return nil, err
|
|
}
|
|
return m, nil
|
|
}
|
|
|
|
func (c *beaconServiceClient) PendingDeposits(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*PendingDepositsResponse, error) {
|
|
out := new(PendingDepositsResponse)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.BeaconService/PendingDeposits", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *beaconServiceClient) Eth1Data(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*Eth1DataResponse, error) {
|
|
out := new(Eth1DataResponse)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.BeaconService/Eth1Data", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *beaconServiceClient) ForkData(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*v1.Fork, error) {
|
|
out := new(v1.Fork)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.BeaconService/ForkData", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// BeaconServiceServer is the server API for BeaconService service.
|
|
type BeaconServiceServer interface {
|
|
WaitForChainStart(*types.Empty, BeaconService_WaitForChainStartServer) error
|
|
CanonicalHead(context.Context, *types.Empty) (*v1.BeaconBlock, error)
|
|
LatestAttestation(*types.Empty, BeaconService_LatestAttestationServer) error
|
|
PendingDeposits(context.Context, *types.Empty) (*PendingDepositsResponse, error)
|
|
Eth1Data(context.Context, *types.Empty) (*Eth1DataResponse, error)
|
|
ForkData(context.Context, *types.Empty) (*v1.Fork, error)
|
|
}
|
|
|
|
func RegisterBeaconServiceServer(s *grpc.Server, srv BeaconServiceServer) {
|
|
s.RegisterService(&_BeaconService_serviceDesc, srv)
|
|
}
|
|
|
|
func _BeaconService_WaitForChainStart_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
m := new(types.Empty)
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
return err
|
|
}
|
|
return srv.(BeaconServiceServer).WaitForChainStart(m, &beaconServiceWaitForChainStartServer{stream})
|
|
}
|
|
|
|
type BeaconService_WaitForChainStartServer interface {
|
|
Send(*ChainStartResponse) error
|
|
grpc.ServerStream
|
|
}
|
|
|
|
type beaconServiceWaitForChainStartServer struct {
|
|
grpc.ServerStream
|
|
}
|
|
|
|
func (x *beaconServiceWaitForChainStartServer) Send(m *ChainStartResponse) error {
|
|
return x.ServerStream.SendMsg(m)
|
|
}
|
|
|
|
func _BeaconService_CanonicalHead_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(types.Empty)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(BeaconServiceServer).CanonicalHead(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.BeaconService/CanonicalHead",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(BeaconServiceServer).CanonicalHead(ctx, req.(*types.Empty))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _BeaconService_LatestAttestation_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
m := new(types.Empty)
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
return err
|
|
}
|
|
return srv.(BeaconServiceServer).LatestAttestation(m, &beaconServiceLatestAttestationServer{stream})
|
|
}
|
|
|
|
type BeaconService_LatestAttestationServer interface {
|
|
Send(*v1.Attestation) error
|
|
grpc.ServerStream
|
|
}
|
|
|
|
type beaconServiceLatestAttestationServer struct {
|
|
grpc.ServerStream
|
|
}
|
|
|
|
func (x *beaconServiceLatestAttestationServer) Send(m *v1.Attestation) error {
|
|
return x.ServerStream.SendMsg(m)
|
|
}
|
|
|
|
func _BeaconService_PendingDeposits_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(types.Empty)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(BeaconServiceServer).PendingDeposits(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.BeaconService/PendingDeposits",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(BeaconServiceServer).PendingDeposits(ctx, req.(*types.Empty))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _BeaconService_Eth1Data_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(types.Empty)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(BeaconServiceServer).Eth1Data(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.BeaconService/Eth1Data",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(BeaconServiceServer).Eth1Data(ctx, req.(*types.Empty))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _BeaconService_ForkData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(types.Empty)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(BeaconServiceServer).ForkData(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.BeaconService/ForkData",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(BeaconServiceServer).ForkData(ctx, req.(*types.Empty))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _BeaconService_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "ethereum.beacon.rpc.v1.BeaconService",
|
|
HandlerType: (*BeaconServiceServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "CanonicalHead",
|
|
Handler: _BeaconService_CanonicalHead_Handler,
|
|
},
|
|
{
|
|
MethodName: "PendingDeposits",
|
|
Handler: _BeaconService_PendingDeposits_Handler,
|
|
},
|
|
{
|
|
MethodName: "Eth1Data",
|
|
Handler: _BeaconService_Eth1Data_Handler,
|
|
},
|
|
{
|
|
MethodName: "ForkData",
|
|
Handler: _BeaconService_ForkData_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{
|
|
{
|
|
StreamName: "WaitForChainStart",
|
|
Handler: _BeaconService_WaitForChainStart_Handler,
|
|
ServerStreams: true,
|
|
},
|
|
{
|
|
StreamName: "LatestAttestation",
|
|
Handler: _BeaconService_LatestAttestation_Handler,
|
|
ServerStreams: true,
|
|
},
|
|
},
|
|
Metadata: "proto/beacon/rpc/v1/services.proto",
|
|
}
|
|
|
|
// 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 {
|
|
AttestHead(ctx context.Context, in *v1.Attestation, opts ...grpc.CallOption) (*AttestResponse, error)
|
|
AttestationInfoAtSlot(ctx context.Context, in *AttestationInfoRequest, opts ...grpc.CallOption) (*AttestationInfoResponse, error)
|
|
}
|
|
|
|
type attesterServiceClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewAttesterServiceClient(cc *grpc.ClientConn) AttesterServiceClient {
|
|
return &attesterServiceClient{cc}
|
|
}
|
|
|
|
func (c *attesterServiceClient) AttestHead(ctx context.Context, in *v1.Attestation, opts ...grpc.CallOption) (*AttestResponse, error) {
|
|
out := new(AttestResponse)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.AttesterService/AttestHead", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *attesterServiceClient) AttestationInfoAtSlot(ctx context.Context, in *AttestationInfoRequest, opts ...grpc.CallOption) (*AttestationInfoResponse, error) {
|
|
out := new(AttestationInfoResponse)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.AttesterService/AttestationInfoAtSlot", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// AttesterServiceServer is the server API for AttesterService service.
|
|
type AttesterServiceServer interface {
|
|
AttestHead(context.Context, *v1.Attestation) (*AttestResponse, error)
|
|
AttestationInfoAtSlot(context.Context, *AttestationInfoRequest) (*AttestationInfoResponse, error)
|
|
}
|
|
|
|
func RegisterAttesterServiceServer(s *grpc.Server, srv AttesterServiceServer) {
|
|
s.RegisterService(&_AttesterService_serviceDesc, srv)
|
|
}
|
|
|
|
func _AttesterService_AttestHead_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(v1.Attestation)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AttesterServiceServer).AttestHead(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.AttesterService/AttestHead",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AttesterServiceServer).AttestHead(ctx, req.(*v1.Attestation))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AttesterService_AttestationInfoAtSlot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AttestationInfoRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AttesterServiceServer).AttestationInfoAtSlot(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.AttesterService/AttestationInfoAtSlot",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AttesterServiceServer).AttestationInfoAtSlot(ctx, req.(*AttestationInfoRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _AttesterService_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "ethereum.beacon.rpc.v1.AttesterService",
|
|
HandlerType: (*AttesterServiceServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "AttestHead",
|
|
Handler: _AttesterService_AttestHead_Handler,
|
|
},
|
|
{
|
|
MethodName: "AttestationInfoAtSlot",
|
|
Handler: _AttesterService_AttestationInfoAtSlot_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 {
|
|
ProposerIndex(ctx context.Context, in *ProposerIndexRequest, opts ...grpc.CallOption) (*ProposerIndexResponse, error)
|
|
PendingAttestations(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*PendingAttestationsResponse, error)
|
|
ProposeBlock(ctx context.Context, in *v1.BeaconBlock, opts ...grpc.CallOption) (*ProposeResponse, error)
|
|
ComputeStateRoot(ctx context.Context, in *v1.BeaconBlock, opts ...grpc.CallOption) (*StateRootResponse, error)
|
|
}
|
|
|
|
type proposerServiceClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewProposerServiceClient(cc *grpc.ClientConn) ProposerServiceClient {
|
|
return &proposerServiceClient{cc}
|
|
}
|
|
|
|
func (c *proposerServiceClient) ProposerIndex(ctx context.Context, in *ProposerIndexRequest, opts ...grpc.CallOption) (*ProposerIndexResponse, error) {
|
|
out := new(ProposerIndexResponse)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.ProposerService/ProposerIndex", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *proposerServiceClient) PendingAttestations(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*PendingAttestationsResponse, error) {
|
|
out := new(PendingAttestationsResponse)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.ProposerService/PendingAttestations", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *proposerServiceClient) ProposeBlock(ctx context.Context, in *v1.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
|
|
}
|
|
|
|
func (c *proposerServiceClient) ComputeStateRoot(ctx context.Context, in *v1.BeaconBlock, opts ...grpc.CallOption) (*StateRootResponse, error) {
|
|
out := new(StateRootResponse)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.ProposerService/ComputeStateRoot", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// ProposerServiceServer is the server API for ProposerService service.
|
|
type ProposerServiceServer interface {
|
|
ProposerIndex(context.Context, *ProposerIndexRequest) (*ProposerIndexResponse, error)
|
|
PendingAttestations(context.Context, *types.Empty) (*PendingAttestationsResponse, error)
|
|
ProposeBlock(context.Context, *v1.BeaconBlock) (*ProposeResponse, error)
|
|
ComputeStateRoot(context.Context, *v1.BeaconBlock) (*StateRootResponse, error)
|
|
}
|
|
|
|
func RegisterProposerServiceServer(s *grpc.Server, srv ProposerServiceServer) {
|
|
s.RegisterService(&_ProposerService_serviceDesc, srv)
|
|
}
|
|
|
|
func _ProposerService_ProposerIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ProposerIndexRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ProposerServiceServer).ProposerIndex(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.ProposerService/ProposerIndex",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ProposerServiceServer).ProposerIndex(ctx, req.(*ProposerIndexRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ProposerService_PendingAttestations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(types.Empty)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ProposerServiceServer).PendingAttestations(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.ProposerService/PendingAttestations",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ProposerServiceServer).PendingAttestations(ctx, req.(*types.Empty))
|
|
}
|
|
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(v1.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.(*v1.BeaconBlock))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ProposerService_ComputeStateRoot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(v1.BeaconBlock)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ProposerServiceServer).ComputeStateRoot(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.ProposerService/ComputeStateRoot",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ProposerServiceServer).ComputeStateRoot(ctx, req.(*v1.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: "ProposerIndex",
|
|
Handler: _ProposerService_ProposerIndex_Handler,
|
|
},
|
|
{
|
|
MethodName: "PendingAttestations",
|
|
Handler: _ProposerService_PendingAttestations_Handler,
|
|
},
|
|
{
|
|
MethodName: "ProposeBlock",
|
|
Handler: _ProposerService_ProposeBlock_Handler,
|
|
},
|
|
{
|
|
MethodName: "ComputeStateRoot",
|
|
Handler: _ProposerService_ComputeStateRoot_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 {
|
|
ValidatorIndex(ctx context.Context, in *ValidatorIndexRequest, opts ...grpc.CallOption) (*ValidatorIndexResponse, error)
|
|
ValidatorEpochAssignments(ctx context.Context, in *ValidatorEpochAssignmentsRequest, opts ...grpc.CallOption) (*ValidatorEpochAssignmentsResponse, error)
|
|
ValidatorCommitteeAtSlot(ctx context.Context, in *CommitteeRequest, opts ...grpc.CallOption) (*CommitteeResponse, error)
|
|
NextEpochCommitteeAssignment(ctx context.Context, in *ValidatorIndexRequest, opts ...grpc.CallOption) (*CommitteeAssignmentResponse, error)
|
|
}
|
|
|
|
type validatorServiceClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewValidatorServiceClient(cc *grpc.ClientConn) ValidatorServiceClient {
|
|
return &validatorServiceClient{cc}
|
|
}
|
|
|
|
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) ValidatorEpochAssignments(ctx context.Context, in *ValidatorEpochAssignmentsRequest, opts ...grpc.CallOption) (*ValidatorEpochAssignmentsResponse, error) {
|
|
out := new(ValidatorEpochAssignmentsResponse)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.ValidatorService/ValidatorEpochAssignments", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *validatorServiceClient) ValidatorCommitteeAtSlot(ctx context.Context, in *CommitteeRequest, opts ...grpc.CallOption) (*CommitteeResponse, error) {
|
|
out := new(CommitteeResponse)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.ValidatorService/ValidatorCommitteeAtSlot", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *validatorServiceClient) NextEpochCommitteeAssignment(ctx context.Context, in *ValidatorIndexRequest, opts ...grpc.CallOption) (*CommitteeAssignmentResponse, error) {
|
|
out := new(CommitteeAssignmentResponse)
|
|
err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.ValidatorService/NextEpochCommitteeAssignment", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// ValidatorServiceServer is the server API for ValidatorService service.
|
|
type ValidatorServiceServer interface {
|
|
ValidatorIndex(context.Context, *ValidatorIndexRequest) (*ValidatorIndexResponse, error)
|
|
ValidatorEpochAssignments(context.Context, *ValidatorEpochAssignmentsRequest) (*ValidatorEpochAssignmentsResponse, error)
|
|
ValidatorCommitteeAtSlot(context.Context, *CommitteeRequest) (*CommitteeResponse, error)
|
|
NextEpochCommitteeAssignment(context.Context, *ValidatorIndexRequest) (*CommitteeAssignmentResponse, error)
|
|
}
|
|
|
|
func RegisterValidatorServiceServer(s *grpc.Server, srv ValidatorServiceServer) {
|
|
s.RegisterService(&_ValidatorService_serviceDesc, srv)
|
|
}
|
|
|
|
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_ValidatorEpochAssignments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ValidatorEpochAssignmentsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ValidatorServiceServer).ValidatorEpochAssignments(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.ValidatorService/ValidatorEpochAssignments",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ValidatorServiceServer).ValidatorEpochAssignments(ctx, req.(*ValidatorEpochAssignmentsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ValidatorService_ValidatorCommitteeAtSlot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CommitteeRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ValidatorServiceServer).ValidatorCommitteeAtSlot(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.ValidatorService/ValidatorCommitteeAtSlot",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ValidatorServiceServer).ValidatorCommitteeAtSlot(ctx, req.(*CommitteeRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ValidatorService_NextEpochCommitteeAssignment_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).NextEpochCommitteeAssignment(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/ethereum.beacon.rpc.v1.ValidatorService/NextEpochCommitteeAssignment",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ValidatorServiceServer).NextEpochCommitteeAssignment(ctx, req.(*ValidatorIndexRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _ValidatorService_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "ethereum.beacon.rpc.v1.ValidatorService",
|
|
HandlerType: (*ValidatorServiceServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "ValidatorIndex",
|
|
Handler: _ValidatorService_ValidatorIndex_Handler,
|
|
},
|
|
{
|
|
MethodName: "ValidatorEpochAssignments",
|
|
Handler: _ValidatorService_ValidatorEpochAssignments_Handler,
|
|
},
|
|
{
|
|
MethodName: "ValidatorCommitteeAtSlot",
|
|
Handler: _ValidatorService_ValidatorCommitteeAtSlot_Handler,
|
|
},
|
|
{
|
|
MethodName: "NextEpochCommitteeAssignment",
|
|
Handler: _ValidatorService_NextEpochCommitteeAssignment_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "proto/beacon/rpc/v1/services.proto",
|
|
}
|
|
|
|
func (m *CommitteeRequest) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *CommitteeRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Slot != 0 {
|
|
dAtA[i] = 0x8
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(m.Slot))
|
|
}
|
|
if m.ValidatorIndex != 0 {
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(m.ValidatorIndex))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *CommitteeResponse) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *CommitteeResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Committee) > 0 {
|
|
dAtA2 := make([]byte, len(m.Committee)*10)
|
|
var j1 int
|
|
for _, num := range m.Committee {
|
|
for num >= 1<<7 {
|
|
dAtA2[j1] = uint8(uint64(num)&0x7f | 0x80)
|
|
num >>= 7
|
|
j1++
|
|
}
|
|
dAtA2[j1] = uint8(num)
|
|
j1++
|
|
}
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(j1))
|
|
i += copy(dAtA[i:], dAtA2[:j1])
|
|
}
|
|
if m.Shard != 0 {
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(m.Shard))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *AttestationInfoRequest) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *AttestationInfoRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Shard != 0 {
|
|
dAtA[i] = 0x8
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(m.Shard))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *AttestationInfoResponse) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *AttestationInfoResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.BeaconBlockRootHash32) > 0 {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(len(m.BeaconBlockRootHash32)))
|
|
i += copy(dAtA[i:], m.BeaconBlockRootHash32)
|
|
}
|
|
if len(m.EpochBoundaryRootHash32) > 0 {
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(len(m.EpochBoundaryRootHash32)))
|
|
i += copy(dAtA[i:], m.EpochBoundaryRootHash32)
|
|
}
|
|
if m.JustifiedEpoch != 0 {
|
|
dAtA[i] = 0x18
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(m.JustifiedEpoch))
|
|
}
|
|
if len(m.JustifiedBlockRootHash32) > 0 {
|
|
dAtA[i] = 0x22
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(len(m.JustifiedBlockRootHash32)))
|
|
i += copy(dAtA[i:], m.JustifiedBlockRootHash32)
|
|
}
|
|
if m.LatestCrosslink != nil {
|
|
dAtA[i] = 0x2a
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(m.LatestCrosslink.Size()))
|
|
n3, err := m.LatestCrosslink.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n3
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *PendingAttestationsResponse) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *PendingAttestationsResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.PendingAttestations) > 0 {
|
|
for _, msg := range m.PendingAttestations {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(msg.Size()))
|
|
n, err := msg.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n
|
|
}
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *CrosslinkCommitteeRequest) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *CrosslinkCommitteeRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Slot != 0 {
|
|
dAtA[i] = 0x8
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(m.Slot))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *CrosslinkCommitteeResponse) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *CrosslinkCommitteeResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Committee) > 0 {
|
|
dAtA5 := make([]byte, len(m.Committee)*10)
|
|
var j4 int
|
|
for _, num := range m.Committee {
|
|
for num >= 1<<7 {
|
|
dAtA5[j4] = uint8(uint64(num)&0x7f | 0x80)
|
|
num >>= 7
|
|
j4++
|
|
}
|
|
dAtA5[j4] = uint8(num)
|
|
j4++
|
|
}
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(j4))
|
|
i += copy(dAtA[i:], dAtA5[:j4])
|
|
}
|
|
if m.Shard != 0 {
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(m.Shard))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ChainStartResponse) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ChainStartResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Started {
|
|
dAtA[i] = 0x8
|
|
i++
|
|
if m.Started {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i++
|
|
}
|
|
if m.GenesisTime != 0 {
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(m.GenesisTime))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ProposeRequest) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ProposeRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.ParentHash) > 0 {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(len(m.ParentHash)))
|
|
i += copy(dAtA[i:], m.ParentHash)
|
|
}
|
|
if m.SlotNumber != 0 {
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(m.SlotNumber))
|
|
}
|
|
if len(m.RandaoReveal) > 0 {
|
|
dAtA[i] = 0x1a
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(len(m.RandaoReveal)))
|
|
i += copy(dAtA[i:], m.RandaoReveal)
|
|
}
|
|
if len(m.AttestationBitmask) > 0 {
|
|
dAtA[i] = 0x22
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(len(m.AttestationBitmask)))
|
|
i += copy(dAtA[i:], m.AttestationBitmask)
|
|
}
|
|
if len(m.AttestationAggregateSig) > 0 {
|
|
dAtA7 := make([]byte, len(m.AttestationAggregateSig)*10)
|
|
var j6 int
|
|
for _, num := range m.AttestationAggregateSig {
|
|
for num >= 1<<7 {
|
|
dAtA7[j6] = uint8(uint64(num)&0x7f | 0x80)
|
|
num >>= 7
|
|
j6++
|
|
}
|
|
dAtA7[j6] = uint8(num)
|
|
j6++
|
|
}
|
|
dAtA[i] = 0x2a
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(j6))
|
|
i += copy(dAtA[i:], dAtA7[:j6])
|
|
}
|
|
if m.Timestamp != nil {
|
|
dAtA[i] = 0x32
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(m.Timestamp.Size()))
|
|
n8, err := m.Timestamp.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n8
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ProposeResponse) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ProposeResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.BlockHash) > 0 {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(len(m.BlockHash)))
|
|
i += copy(dAtA[i:], m.BlockHash)
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ProposerIndexRequest) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ProposerIndexRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.SlotNumber != 0 {
|
|
dAtA[i] = 0x8
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(m.SlotNumber))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ProposerIndexResponse) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ProposerIndexResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Index != 0 {
|
|
dAtA[i] = 0x8
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(m.Index))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *StateRootResponse) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *StateRootResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.StateRoot) > 0 {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(len(m.StateRoot)))
|
|
i += copy(dAtA[i:], m.StateRoot)
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *AttestResponse) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *AttestResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.AttestationHash) > 0 {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(len(m.AttestationHash)))
|
|
i += copy(dAtA[i:], m.AttestationHash)
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *Assignment) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *Assignment) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.PublicKey) > 0 {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(len(m.PublicKey)))
|
|
i += copy(dAtA[i:], m.PublicKey)
|
|
}
|
|
if m.Shard != 0 {
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(m.Shard))
|
|
}
|
|
if m.AttesterSlot != 0 {
|
|
dAtA[i] = 0x18
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(m.AttesterSlot))
|
|
}
|
|
if m.ProposerSlot != 0 {
|
|
dAtA[i] = 0x20
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(m.ProposerSlot))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ValidatorIndexRequest) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ValidatorIndexRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.PublicKey) > 0 {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(len(m.PublicKey)))
|
|
i += copy(dAtA[i:], m.PublicKey)
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ValidatorIndexResponse) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ValidatorIndexResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Index != 0 {
|
|
dAtA[i] = 0x8
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(m.Index))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ValidatorEpochAssignmentsRequest) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ValidatorEpochAssignmentsRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.EpochStart != 0 {
|
|
dAtA[i] = 0x8
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(m.EpochStart))
|
|
}
|
|
if len(m.PublicKey) > 0 {
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(len(m.PublicKey)))
|
|
i += copy(dAtA[i:], m.PublicKey)
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *ValidatorEpochAssignmentsResponse) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *ValidatorEpochAssignmentsResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Assignment != nil {
|
|
dAtA[i] = 0x12
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(m.Assignment.Size()))
|
|
n9, err := m.Assignment.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n9
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *PendingDepositsResponse) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *PendingDepositsResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.PendingDeposits) > 0 {
|
|
for _, msg := range m.PendingDeposits {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(msg.Size()))
|
|
n, err := msg.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n
|
|
}
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *CommitteeAssignmentResponse) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *CommitteeAssignmentResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if len(m.Committee) > 0 {
|
|
dAtA11 := make([]byte, len(m.Committee)*10)
|
|
var j10 int
|
|
for _, num := range m.Committee {
|
|
for num >= 1<<7 {
|
|
dAtA11[j10] = uint8(uint64(num)&0x7f | 0x80)
|
|
num >>= 7
|
|
j10++
|
|
}
|
|
dAtA11[j10] = uint8(num)
|
|
j10++
|
|
}
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(j10))
|
|
i += copy(dAtA[i:], dAtA11[:j10])
|
|
}
|
|
if m.Shard != 0 {
|
|
dAtA[i] = 0x10
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(m.Shard))
|
|
}
|
|
if m.Slot != 0 {
|
|
dAtA[i] = 0x18
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(m.Slot))
|
|
}
|
|
if m.IsProposer {
|
|
dAtA[i] = 0x20
|
|
i++
|
|
if m.IsProposer {
|
|
dAtA[i] = 1
|
|
} else {
|
|
dAtA[i] = 0
|
|
}
|
|
i++
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func (m *Eth1DataResponse) Marshal() (dAtA []byte, err error) {
|
|
size := m.Size()
|
|
dAtA = make([]byte, size)
|
|
n, err := m.MarshalTo(dAtA)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return dAtA[:n], nil
|
|
}
|
|
|
|
func (m *Eth1DataResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
var i int
|
|
_ = i
|
|
var l int
|
|
_ = l
|
|
if m.Eth1Data != nil {
|
|
dAtA[i] = 0xa
|
|
i++
|
|
i = encodeVarintServices(dAtA, i, uint64(m.Eth1Data.Size()))
|
|
n12, err := m.Eth1Data.MarshalTo(dAtA[i:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
i += n12
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
i += copy(dAtA[i:], m.XXX_unrecognized)
|
|
}
|
|
return i, nil
|
|
}
|
|
|
|
func encodeVarintServices(dAtA []byte, offset int, v uint64) int {
|
|
for v >= 1<<7 {
|
|
dAtA[offset] = uint8(v&0x7f | 0x80)
|
|
v >>= 7
|
|
offset++
|
|
}
|
|
dAtA[offset] = uint8(v)
|
|
return offset + 1
|
|
}
|
|
func (m *CommitteeRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Slot != 0 {
|
|
n += 1 + sovServices(uint64(m.Slot))
|
|
}
|
|
if m.ValidatorIndex != 0 {
|
|
n += 1 + sovServices(uint64(m.ValidatorIndex))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *CommitteeResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Committee) > 0 {
|
|
l = 0
|
|
for _, e := range m.Committee {
|
|
l += sovServices(uint64(e))
|
|
}
|
|
n += 1 + sovServices(uint64(l)) + l
|
|
}
|
|
if m.Shard != 0 {
|
|
n += 1 + sovServices(uint64(m.Shard))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *AttestationInfoRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Shard != 0 {
|
|
n += 1 + sovServices(uint64(m.Shard))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *AttestationInfoResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.BeaconBlockRootHash32)
|
|
if l > 0 {
|
|
n += 1 + l + sovServices(uint64(l))
|
|
}
|
|
l = len(m.EpochBoundaryRootHash32)
|
|
if l > 0 {
|
|
n += 1 + l + sovServices(uint64(l))
|
|
}
|
|
if m.JustifiedEpoch != 0 {
|
|
n += 1 + sovServices(uint64(m.JustifiedEpoch))
|
|
}
|
|
l = len(m.JustifiedBlockRootHash32)
|
|
if l > 0 {
|
|
n += 1 + l + sovServices(uint64(l))
|
|
}
|
|
if m.LatestCrosslink != nil {
|
|
l = m.LatestCrosslink.Size()
|
|
n += 1 + l + sovServices(uint64(l))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *PendingAttestationsResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.PendingAttestations) > 0 {
|
|
for _, e := range m.PendingAttestations {
|
|
l = e.Size()
|
|
n += 1 + l + sovServices(uint64(l))
|
|
}
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *CrosslinkCommitteeRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Slot != 0 {
|
|
n += 1 + sovServices(uint64(m.Slot))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *CrosslinkCommitteeResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Committee) > 0 {
|
|
l = 0
|
|
for _, e := range m.Committee {
|
|
l += sovServices(uint64(e))
|
|
}
|
|
n += 1 + sovServices(uint64(l)) + l
|
|
}
|
|
if m.Shard != 0 {
|
|
n += 1 + sovServices(uint64(m.Shard))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ChainStartResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Started {
|
|
n += 2
|
|
}
|
|
if m.GenesisTime != 0 {
|
|
n += 1 + sovServices(uint64(m.GenesisTime))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ProposeRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.ParentHash)
|
|
if l > 0 {
|
|
n += 1 + l + sovServices(uint64(l))
|
|
}
|
|
if m.SlotNumber != 0 {
|
|
n += 1 + sovServices(uint64(m.SlotNumber))
|
|
}
|
|
l = len(m.RandaoReveal)
|
|
if l > 0 {
|
|
n += 1 + l + sovServices(uint64(l))
|
|
}
|
|
l = len(m.AttestationBitmask)
|
|
if l > 0 {
|
|
n += 1 + l + sovServices(uint64(l))
|
|
}
|
|
if len(m.AttestationAggregateSig) > 0 {
|
|
l = 0
|
|
for _, e := range m.AttestationAggregateSig {
|
|
l += sovServices(uint64(e))
|
|
}
|
|
n += 1 + sovServices(uint64(l)) + l
|
|
}
|
|
if m.Timestamp != nil {
|
|
l = m.Timestamp.Size()
|
|
n += 1 + l + sovServices(uint64(l))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ProposeResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.BlockHash)
|
|
if l > 0 {
|
|
n += 1 + l + sovServices(uint64(l))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ProposerIndexRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.SlotNumber != 0 {
|
|
n += 1 + sovServices(uint64(m.SlotNumber))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ProposerIndexResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Index != 0 {
|
|
n += 1 + sovServices(uint64(m.Index))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *StateRootResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.StateRoot)
|
|
if l > 0 {
|
|
n += 1 + l + sovServices(uint64(l))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *AttestResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.AttestationHash)
|
|
if l > 0 {
|
|
n += 1 + l + sovServices(uint64(l))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *Assignment) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.PublicKey)
|
|
if l > 0 {
|
|
n += 1 + l + sovServices(uint64(l))
|
|
}
|
|
if m.Shard != 0 {
|
|
n += 1 + sovServices(uint64(m.Shard))
|
|
}
|
|
if m.AttesterSlot != 0 {
|
|
n += 1 + sovServices(uint64(m.AttesterSlot))
|
|
}
|
|
if m.ProposerSlot != 0 {
|
|
n += 1 + sovServices(uint64(m.ProposerSlot))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ValidatorIndexRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
l = len(m.PublicKey)
|
|
if l > 0 {
|
|
n += 1 + l + sovServices(uint64(l))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ValidatorIndexResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Index != 0 {
|
|
n += 1 + sovServices(uint64(m.Index))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ValidatorEpochAssignmentsRequest) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.EpochStart != 0 {
|
|
n += 1 + sovServices(uint64(m.EpochStart))
|
|
}
|
|
l = len(m.PublicKey)
|
|
if l > 0 {
|
|
n += 1 + l + sovServices(uint64(l))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *ValidatorEpochAssignmentsResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Assignment != nil {
|
|
l = m.Assignment.Size()
|
|
n += 1 + l + sovServices(uint64(l))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *PendingDepositsResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.PendingDeposits) > 0 {
|
|
for _, e := range m.PendingDeposits {
|
|
l = e.Size()
|
|
n += 1 + l + sovServices(uint64(l))
|
|
}
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *CommitteeAssignmentResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if len(m.Committee) > 0 {
|
|
l = 0
|
|
for _, e := range m.Committee {
|
|
l += sovServices(uint64(e))
|
|
}
|
|
n += 1 + sovServices(uint64(l)) + l
|
|
}
|
|
if m.Shard != 0 {
|
|
n += 1 + sovServices(uint64(m.Shard))
|
|
}
|
|
if m.Slot != 0 {
|
|
n += 1 + sovServices(uint64(m.Slot))
|
|
}
|
|
if m.IsProposer {
|
|
n += 2
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func (m *Eth1DataResponse) Size() (n int) {
|
|
if m == nil {
|
|
return 0
|
|
}
|
|
var l int
|
|
_ = l
|
|
if m.Eth1Data != nil {
|
|
l = m.Eth1Data.Size()
|
|
n += 1 + l + sovServices(uint64(l))
|
|
}
|
|
if m.XXX_unrecognized != nil {
|
|
n += len(m.XXX_unrecognized)
|
|
}
|
|
return n
|
|
}
|
|
|
|
func sovServices(x uint64) (n int) {
|
|
for {
|
|
n++
|
|
x >>= 7
|
|
if x == 0 {
|
|
break
|
|
}
|
|
}
|
|
return n
|
|
}
|
|
func sozServices(x uint64) (n int) {
|
|
return sovServices(uint64((x << 1) ^ uint64((int64(x) >> 63))))
|
|
}
|
|
func (m *CommitteeRequest) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: CommitteeRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: CommitteeRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType)
|
|
}
|
|
m.Slot = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Slot |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ValidatorIndex", wireType)
|
|
}
|
|
m.ValidatorIndex = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.ValidatorIndex |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipServices(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *CommitteeResponse) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: CommitteeResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: CommitteeResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType == 0 {
|
|
var v uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Committee = append(m.Committee, v)
|
|
} else if wireType == 2 {
|
|
var packedLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
packedLen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if packedLen < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
postIndex := iNdEx + packedLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
var elementCount int
|
|
var count int
|
|
for _, integer := range dAtA {
|
|
if integer < 128 {
|
|
count++
|
|
}
|
|
}
|
|
elementCount = count
|
|
if elementCount != 0 && len(m.Committee) == 0 {
|
|
m.Committee = make([]uint64, 0, elementCount)
|
|
}
|
|
for iNdEx < postIndex {
|
|
var v uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Committee = append(m.Committee, v)
|
|
}
|
|
} else {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Committee", wireType)
|
|
}
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType)
|
|
}
|
|
m.Shard = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Shard |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipServices(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *AttestationInfoRequest) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: AttestationInfoRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: AttestationInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType)
|
|
}
|
|
m.Shard = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Shard |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipServices(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *AttestationInfoResponse) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: AttestationInfoResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: AttestationInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BeaconBlockRootHash32", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.BeaconBlockRootHash32 = append(m.BeaconBlockRootHash32[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.BeaconBlockRootHash32 == nil {
|
|
m.BeaconBlockRootHash32 = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field EpochBoundaryRootHash32", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.EpochBoundaryRootHash32 = append(m.EpochBoundaryRootHash32[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.EpochBoundaryRootHash32 == nil {
|
|
m.EpochBoundaryRootHash32 = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 3:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field JustifiedEpoch", wireType)
|
|
}
|
|
m.JustifiedEpoch = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.JustifiedEpoch |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field JustifiedBlockRootHash32", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.JustifiedBlockRootHash32 = append(m.JustifiedBlockRootHash32[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.JustifiedBlockRootHash32 == nil {
|
|
m.JustifiedBlockRootHash32 = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field LatestCrosslink", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.LatestCrosslink == nil {
|
|
m.LatestCrosslink = &v1.Crosslink{}
|
|
}
|
|
if err := m.LatestCrosslink.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipServices(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *PendingAttestationsResponse) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: PendingAttestationsResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: PendingAttestationsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PendingAttestations", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.PendingAttestations = append(m.PendingAttestations, &v1.Attestation{})
|
|
if err := m.PendingAttestations[len(m.PendingAttestations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipServices(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *CrosslinkCommitteeRequest) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: CrosslinkCommitteeRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: CrosslinkCommitteeRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType)
|
|
}
|
|
m.Slot = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Slot |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipServices(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *CrosslinkCommitteeResponse) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: CrosslinkCommitteeResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: CrosslinkCommitteeResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType == 0 {
|
|
var v uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Committee = append(m.Committee, v)
|
|
} else if wireType == 2 {
|
|
var packedLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
packedLen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if packedLen < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
postIndex := iNdEx + packedLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
var elementCount int
|
|
var count int
|
|
for _, integer := range dAtA {
|
|
if integer < 128 {
|
|
count++
|
|
}
|
|
}
|
|
elementCount = count
|
|
if elementCount != 0 && len(m.Committee) == 0 {
|
|
m.Committee = make([]uint64, 0, elementCount)
|
|
}
|
|
for iNdEx < postIndex {
|
|
var v uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Committee = append(m.Committee, v)
|
|
}
|
|
} else {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Committee", wireType)
|
|
}
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType)
|
|
}
|
|
m.Shard = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Shard |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipServices(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ChainStartResponse) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ChainStartResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ChainStartResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Started", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Started = bool(v != 0)
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field GenesisTime", wireType)
|
|
}
|
|
m.GenesisTime = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.GenesisTime |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipServices(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ProposeRequest) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ProposeRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ProposeRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ParentHash", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.ParentHash = append(m.ParentHash[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.ParentHash == nil {
|
|
m.ParentHash = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SlotNumber", wireType)
|
|
}
|
|
m.SlotNumber = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.SlotNumber |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 3:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field RandaoReveal", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.RandaoReveal = append(m.RandaoReveal[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.RandaoReveal == nil {
|
|
m.RandaoReveal = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 4:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AttestationBitmask", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.AttestationBitmask = append(m.AttestationBitmask[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.AttestationBitmask == nil {
|
|
m.AttestationBitmask = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 5:
|
|
if wireType == 0 {
|
|
var v uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.AttestationAggregateSig = append(m.AttestationAggregateSig, v)
|
|
} else if wireType == 2 {
|
|
var packedLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
packedLen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if packedLen < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
postIndex := iNdEx + packedLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
var elementCount int
|
|
var count int
|
|
for _, integer := range dAtA {
|
|
if integer < 128 {
|
|
count++
|
|
}
|
|
}
|
|
elementCount = count
|
|
if elementCount != 0 && len(m.AttestationAggregateSig) == 0 {
|
|
m.AttestationAggregateSig = make([]uint64, 0, elementCount)
|
|
}
|
|
for iNdEx < postIndex {
|
|
var v uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.AttestationAggregateSig = append(m.AttestationAggregateSig, v)
|
|
}
|
|
} else {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AttestationAggregateSig", wireType)
|
|
}
|
|
case 6:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Timestamp == nil {
|
|
m.Timestamp = &types.Timestamp{}
|
|
}
|
|
if err := m.Timestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipServices(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ProposeResponse) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ProposeResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ProposeResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field BlockHash", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.BlockHash = append(m.BlockHash[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.BlockHash == nil {
|
|
m.BlockHash = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipServices(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ProposerIndexRequest) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ProposerIndexRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ProposerIndexRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field SlotNumber", wireType)
|
|
}
|
|
m.SlotNumber = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.SlotNumber |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipServices(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ProposerIndexResponse) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ProposerIndexResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ProposerIndexResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
|
|
}
|
|
m.Index = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Index |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipServices(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *StateRootResponse) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: StateRootResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: StateRootResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field StateRoot", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.StateRoot = append(m.StateRoot[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.StateRoot == nil {
|
|
m.StateRoot = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipServices(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *AttestResponse) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: AttestResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: AttestResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AttestationHash", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.AttestationHash = append(m.AttestationHash[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.AttestationHash == nil {
|
|
m.AttestationHash = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipServices(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *Assignment) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: Assignment: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: Assignment: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.PublicKey == nil {
|
|
m.PublicKey = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType)
|
|
}
|
|
m.Shard = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Shard |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 3:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field AttesterSlot", wireType)
|
|
}
|
|
m.AttesterSlot = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.AttesterSlot |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ProposerSlot", wireType)
|
|
}
|
|
m.ProposerSlot = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.ProposerSlot |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipServices(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ValidatorIndexRequest) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ValidatorIndexRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ValidatorIndexRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.PublicKey == nil {
|
|
m.PublicKey = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipServices(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ValidatorIndexResponse) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ValidatorIndexResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ValidatorIndexResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
|
|
}
|
|
m.Index = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Index |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipServices(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ValidatorEpochAssignmentsRequest) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ValidatorEpochAssignmentsRequest: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ValidatorEpochAssignmentsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field EpochStart", wireType)
|
|
}
|
|
m.EpochStart = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.EpochStart |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType)
|
|
}
|
|
var byteLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
byteLen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if byteLen < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
postIndex := iNdEx + byteLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...)
|
|
if m.PublicKey == nil {
|
|
m.PublicKey = []byte{}
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipServices(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *ValidatorEpochAssignmentsResponse) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: ValidatorEpochAssignmentsResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: ValidatorEpochAssignmentsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 2:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Assignment", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Assignment == nil {
|
|
m.Assignment = &Assignment{}
|
|
}
|
|
if err := m.Assignment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipServices(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *PendingDepositsResponse) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: PendingDepositsResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: PendingDepositsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field PendingDeposits", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.PendingDeposits = append(m.PendingDeposits, &v1.Deposit{})
|
|
if err := m.PendingDeposits[len(m.PendingDeposits)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipServices(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *CommitteeAssignmentResponse) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: CommitteeAssignmentResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: CommitteeAssignmentResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType == 0 {
|
|
var v uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Committee = append(m.Committee, v)
|
|
} else if wireType == 2 {
|
|
var packedLen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
packedLen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if packedLen < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
postIndex := iNdEx + packedLen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
var elementCount int
|
|
var count int
|
|
for _, integer := range dAtA {
|
|
if integer < 128 {
|
|
count++
|
|
}
|
|
}
|
|
elementCount = count
|
|
if elementCount != 0 && len(m.Committee) == 0 {
|
|
m.Committee = make([]uint64, 0, elementCount)
|
|
}
|
|
for iNdEx < postIndex {
|
|
var v uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.Committee = append(m.Committee, v)
|
|
}
|
|
} else {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Committee", wireType)
|
|
}
|
|
case 2:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Shard", wireType)
|
|
}
|
|
m.Shard = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Shard |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 3:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType)
|
|
}
|
|
m.Slot = 0
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
m.Slot |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
case 4:
|
|
if wireType != 0 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field IsProposer", wireType)
|
|
}
|
|
var v int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
v |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
m.IsProposer = bool(v != 0)
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipServices(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func (m *Eth1DataResponse) Unmarshal(dAtA []byte) error {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
preIndex := iNdEx
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
fieldNum := int32(wire >> 3)
|
|
wireType := int(wire & 0x7)
|
|
if wireType == 4 {
|
|
return fmt.Errorf("proto: Eth1DataResponse: wiretype end group for non-group")
|
|
}
|
|
if fieldNum <= 0 {
|
|
return fmt.Errorf("proto: Eth1DataResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
}
|
|
switch fieldNum {
|
|
case 1:
|
|
if wireType != 2 {
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Eth1Data", wireType)
|
|
}
|
|
var msglen int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
msglen |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
if msglen < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
postIndex := iNdEx + msglen
|
|
if postIndex > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
if m.Eth1Data == nil {
|
|
m.Eth1Data = &v1.Eth1Data{}
|
|
}
|
|
if err := m.Eth1Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
return err
|
|
}
|
|
iNdEx = postIndex
|
|
default:
|
|
iNdEx = preIndex
|
|
skippy, err := skipServices(dAtA[iNdEx:])
|
|
if err != nil {
|
|
return err
|
|
}
|
|
if skippy < 0 {
|
|
return ErrInvalidLengthServices
|
|
}
|
|
if (iNdEx + skippy) > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
|
|
iNdEx += skippy
|
|
}
|
|
}
|
|
|
|
if iNdEx > l {
|
|
return io.ErrUnexpectedEOF
|
|
}
|
|
return nil
|
|
}
|
|
func skipServices(dAtA []byte) (n int, err error) {
|
|
l := len(dAtA)
|
|
iNdEx := 0
|
|
for iNdEx < l {
|
|
var wire uint64
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return 0, ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return 0, io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
wire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
wireType := int(wire & 0x7)
|
|
switch wireType {
|
|
case 0:
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return 0, ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return 0, io.ErrUnexpectedEOF
|
|
}
|
|
iNdEx++
|
|
if dAtA[iNdEx-1] < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
return iNdEx, nil
|
|
case 1:
|
|
iNdEx += 8
|
|
return iNdEx, nil
|
|
case 2:
|
|
var length int
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return 0, ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return 0, io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
length |= (int(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
iNdEx += length
|
|
if length < 0 {
|
|
return 0, ErrInvalidLengthServices
|
|
}
|
|
return iNdEx, nil
|
|
case 3:
|
|
for {
|
|
var innerWire uint64
|
|
var start int = iNdEx
|
|
for shift := uint(0); ; shift += 7 {
|
|
if shift >= 64 {
|
|
return 0, ErrIntOverflowServices
|
|
}
|
|
if iNdEx >= l {
|
|
return 0, io.ErrUnexpectedEOF
|
|
}
|
|
b := dAtA[iNdEx]
|
|
iNdEx++
|
|
innerWire |= (uint64(b) & 0x7F) << shift
|
|
if b < 0x80 {
|
|
break
|
|
}
|
|
}
|
|
innerWireType := int(innerWire & 0x7)
|
|
if innerWireType == 4 {
|
|
break
|
|
}
|
|
next, err := skipServices(dAtA[start:])
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
iNdEx = start + next
|
|
}
|
|
return iNdEx, nil
|
|
case 4:
|
|
return iNdEx, nil
|
|
case 5:
|
|
iNdEx += 4
|
|
return iNdEx, nil
|
|
default:
|
|
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
|
|
}
|
|
}
|
|
panic("unreachable")
|
|
}
|
|
|
|
var (
|
|
ErrInvalidLengthServices = fmt.Errorf("proto: negative length found during unmarshaling")
|
|
ErrIntOverflowServices = fmt.Errorf("proto: integer overflow")
|
|
)
|
|
|
|
func init() {
|
|
proto.RegisterFile("proto/beacon/rpc/v1/services.proto", fileDescriptor_services_f14462783c5161ce)
|
|
}
|
|
|
|
var fileDescriptor_services_f14462783c5161ce = []byte{
|
|
// 1353 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0x4d, 0x6f, 0x13, 0xc7,
|
|
0x1b, 0xff, 0x6f, 0xe2, 0x80, 0xf3, 0xd8, 0x89, 0x9d, 0x21, 0x21, 0xc6, 0xe1, 0x4f, 0xc2, 0x22,
|
|
0x95, 0x80, 0xca, 0x9a, 0x38, 0x52, 0xa1, 0x45, 0x48, 0x8d, 0x43, 0x28, 0x94, 0x28, 0x09, 0xeb,
|
|
0x14, 0xd4, 0xaa, 0xd2, 0x6a, 0x6c, 0x0f, 0xf6, 0x36, 0xf6, 0xce, 0x76, 0x67, 0x1c, 0x91, 0x6b,
|
|
0x0f, 0xbd, 0xb4, 0x87, 0x7e, 0x82, 0xde, 0xfa, 0x51, 0x2a, 0xf5, 0xd8, 0x8f, 0x50, 0x71, 0xe8,
|
|
0x67, 0xe8, 0xb1, 0xda, 0x99, 0xd9, 0xf1, 0xf8, 0x65, 0x13, 0x53, 0x6e, 0xde, 0xe7, 0xfd, 0xf5,
|
|
0xf7, 0x8c, 0xc1, 0x0e, 0x23, 0xca, 0x69, 0xa5, 0x41, 0x70, 0x93, 0x06, 0x95, 0x28, 0x6c, 0x56,
|
|
0x4e, 0xb7, 0x2a, 0x8c, 0x44, 0xa7, 0x7e, 0x93, 0x30, 0x47, 0x30, 0xd1, 0x55, 0xc2, 0x3b, 0x24,
|
|
0x22, 0xfd, 0x9e, 0x23, 0xc5, 0x9c, 0x28, 0x6c, 0x3a, 0xa7, 0x5b, 0xe5, 0xf5, 0x21, 0xdd, 0xb0,
|
|
0x1a, 0xc6, 0xba, 0xfc, 0x2c, 0x4c, 0x14, 0xcb, 0x6b, 0x6d, 0x4a, 0xdb, 0x5d, 0x52, 0x11, 0x5f,
|
|
0x8d, 0xfe, 0x9b, 0x0a, 0xe9, 0x85, 0xfc, 0x4c, 0x31, 0xd7, 0x47, 0x99, 0xdc, 0xef, 0x11, 0xc6,
|
|
0x71, 0x2f, 0x94, 0x02, 0xf6, 0x21, 0x14, 0x77, 0x69, 0xaf, 0xe7, 0x73, 0x4e, 0x88, 0x4b, 0xbe,
|
|
0xef, 0x13, 0xc6, 0x11, 0x82, 0x0c, 0xeb, 0x52, 0x5e, 0xb2, 0x36, 0xac, 0xcd, 0x8c, 0x2b, 0x7e,
|
|
0xa3, 0xdb, 0x50, 0x38, 0xc5, 0x5d, 0xbf, 0x85, 0x39, 0x8d, 0x3c, 0x3f, 0x68, 0x91, 0xb7, 0xa5,
|
|
0x19, 0xc1, 0x5e, 0xd4, 0xe4, 0xe7, 0x31, 0xd5, 0xfe, 0x02, 0x96, 0x0c, 0x83, 0x2c, 0xa4, 0x01,
|
|
0x23, 0xe8, 0x3a, 0xcc, 0x37, 0x13, 0x62, 0xc9, 0xda, 0x98, 0xdd, 0xcc, 0xb8, 0x03, 0x02, 0x5a,
|
|
0x86, 0x39, 0xd6, 0xc1, 0x51, 0x4b, 0x59, 0x94, 0x1f, 0xb6, 0x03, 0x57, 0x77, 0x38, 0x8f, 0x83,
|
|
0xe5, 0x3e, 0x0d, 0x9e, 0x07, 0x6f, 0x68, 0x12, 0x9f, 0x96, 0xb7, 0x4c, 0xf9, 0xdf, 0x67, 0x60,
|
|
0x75, 0x4c, 0x41, 0xf9, 0x7f, 0x00, 0x25, 0x59, 0x40, 0xaf, 0xd1, 0xa5, 0xcd, 0x13, 0x2f, 0xa2,
|
|
0x94, 0x7b, 0x1d, 0xcc, 0x3a, 0xdb, 0x55, 0x61, 0x24, 0xef, 0xae, 0x48, 0x7e, 0x2d, 0x66, 0xbb,
|
|
0x94, 0xf2, 0x67, 0x82, 0x89, 0x1e, 0x41, 0x99, 0x84, 0xb4, 0xd9, 0xf1, 0x1a, 0xb4, 0x1f, 0xb4,
|
|
0x70, 0x74, 0x36, 0xa4, 0x3a, 0x23, 0x54, 0x57, 0x85, 0x44, 0x4d, 0x09, 0x18, 0xca, 0xb7, 0xa1,
|
|
0xf0, 0x5d, 0x9f, 0x71, 0xff, 0x8d, 0x4f, 0x5a, 0x9e, 0x10, 0x2a, 0xcd, 0xca, 0x9a, 0x69, 0xf2,
|
|
0x5e, 0x4c, 0x45, 0x8f, 0x61, 0x6d, 0x20, 0x38, 0x1e, 0x61, 0x46, 0xb8, 0x29, 0x69, 0x91, 0xd1,
|
|
0x20, 0xf7, 0xa1, 0xd8, 0xc5, 0x71, 0xe2, 0x5e, 0x33, 0xa2, 0x8c, 0x75, 0xfd, 0xe0, 0xa4, 0x34,
|
|
0xb7, 0x61, 0x6d, 0xe6, 0xaa, 0x37, 0x9d, 0xd1, 0xa9, 0x0a, 0xab, 0xa1, 0x73, 0xba, 0xe5, 0xec,
|
|
0x26, 0x82, 0x6e, 0x41, 0xaa, 0x6a, 0x82, 0xdd, 0x87, 0xb5, 0x23, 0x12, 0xb4, 0xfc, 0xa0, 0x6d,
|
|
0x54, 0x93, 0xe9, 0x52, 0xbe, 0x82, 0xe5, 0x50, 0xb2, 0x3d, 0x6c, 0xf0, 0x45, 0x57, 0x73, 0xd5,
|
|
0x5b, 0x69, 0x0e, 0x0d, 0x5b, 0xee, 0x95, 0x70, 0xdc, 0xbe, 0x5d, 0x81, 0x6b, 0x3a, 0x86, 0x69,
|
|
0x26, 0xd2, 0x3e, 0x82, 0xf2, 0x24, 0x85, 0x0f, 0x98, 0xb8, 0x97, 0x80, 0x76, 0x3b, 0xd8, 0x0f,
|
|
0xea, 0x1c, 0x47, 0x5c, 0x5b, 0x2a, 0xc1, 0x65, 0x16, 0x13, 0x88, 0x9c, 0xb7, 0xac, 0x9b, 0x7c,
|
|
0xa2, 0x9b, 0x90, 0x6f, 0x93, 0x80, 0x30, 0x9f, 0x79, 0xf1, 0x5a, 0x29, 0x63, 0x39, 0x45, 0x3b,
|
|
0xf6, 0x7b, 0xc4, 0xfe, 0x75, 0x06, 0x16, 0x8f, 0x22, 0x1a, 0x52, 0xa6, 0x73, 0x59, 0x87, 0x5c,
|
|
0x88, 0x23, 0x12, 0xc8, 0xf6, 0xaa, 0xf1, 0x03, 0x49, 0x8a, 0x1b, 0x1a, 0x0b, 0xc4, 0x09, 0x7a,
|
|
0x41, 0xbf, 0xd7, 0x20, 0x91, 0xb2, 0x0a, 0x31, 0xe9, 0x40, 0x50, 0xd0, 0x2d, 0x58, 0x88, 0x70,
|
|
0xd0, 0xc2, 0xd4, 0x8b, 0xc8, 0x29, 0xc1, 0x5d, 0x31, 0x55, 0x79, 0x37, 0x2f, 0x89, 0xae, 0xa0,
|
|
0xa1, 0x0a, 0x5c, 0x31, 0xfa, 0xe3, 0x35, 0x7c, 0xde, 0xc3, 0xec, 0x44, 0xcd, 0x12, 0x32, 0x58,
|
|
0x35, 0xc9, 0x41, 0x9f, 0xc1, 0x35, 0x53, 0x01, 0xb7, 0xdb, 0x11, 0x69, 0x63, 0x4e, 0x3c, 0xe6,
|
|
0xb7, 0x4b, 0x73, 0xa2, 0x82, 0xab, 0x86, 0xc0, 0x4e, 0xc2, 0xaf, 0xfb, 0x6d, 0xf4, 0x10, 0xe6,
|
|
0x35, 0xb0, 0x94, 0x2e, 0x89, 0xd1, 0x2b, 0x3b, 0x12, 0x7a, 0x9c, 0x04, 0x7a, 0x9c, 0xe3, 0x44,
|
|
0xc2, 0x1d, 0x08, 0xdb, 0xf7, 0xa1, 0xa0, 0xeb, 0xa3, 0x0a, 0xfe, 0x7f, 0x00, 0xb9, 0x03, 0x46,
|
|
0x7d, 0xe6, 0x05, 0x25, 0x2e, 0x8f, 0xfd, 0x00, 0x96, 0x95, 0x86, 0x44, 0x1c, 0xa3, 0xae, 0x66,
|
|
0xd9, 0xac, 0xd1, 0xb2, 0xd9, 0xf7, 0x60, 0x65, 0x44, 0x51, 0x39, 0x5c, 0x86, 0x39, 0x89, 0x68,
|
|
0x0a, 0x4f, 0xc4, 0x87, 0x5d, 0x85, 0xa5, 0x3a, 0xc7, 0x9c, 0xc4, 0x8b, 0x66, 0xc6, 0x16, 0xe7,
|
|
0x4f, 0xc4, 0x7e, 0x26, 0xb1, 0xb1, 0x44, 0xcc, 0x7e, 0x04, 0x8b, 0x72, 0xa8, 0xb5, 0xc2, 0x1d,
|
|
0x28, 0x9a, 0x55, 0x35, 0x52, 0x2a, 0x18, 0x74, 0x91, 0xd8, 0x4f, 0x16, 0xc0, 0x0e, 0x63, 0x7e,
|
|
0x3b, 0xe8, 0x91, 0x80, 0xc7, 0xae, 0xc2, 0x7e, 0xa3, 0xeb, 0x37, 0xbd, 0x13, 0x72, 0x96, 0xb8,
|
|
0x92, 0x94, 0x17, 0xe4, 0x6c, 0xf2, 0x08, 0xc7, 0xa3, 0x21, 0xcd, 0x92, 0xc8, 0x13, 0x1b, 0x23,
|
|
0x01, 0x27, 0x9f, 0x10, 0xeb, 0x31, 0x96, 0xdf, 0x82, 0x85, 0x50, 0x15, 0x42, 0x0a, 0x65, 0xa4,
|
|
0x50, 0x42, 0x8c, 0x85, 0xec, 0x4f, 0x60, 0xe5, 0xd5, 0x10, 0xb2, 0x27, 0x75, 0x3e, 0x3f, 0xae,
|
|
0x18, 0xb6, 0x47, 0xf5, 0xce, 0x2d, 0x73, 0x03, 0x36, 0xb4, 0xbc, 0x40, 0xc3, 0x41, 0x09, 0x98,
|
|
0xd1, 0x5a, 0x89, 0xc2, 0x62, 0xf3, 0x92, 0xd6, 0x0a, 0x92, 0xd8, 0xd5, 0x91, 0x98, 0x66, 0x46,
|
|
0x63, 0x6a, 0xc3, 0xcd, 0x73, 0x7c, 0xa8, 0xf0, 0x6a, 0x00, 0x58, 0x93, 0x85, 0x8d, 0x5c, 0xd5,
|
|
0x76, 0x26, 0x5f, 0x65, 0x67, 0x60, 0xc0, 0x35, 0xb4, 0x6c, 0x02, 0xab, 0x0a, 0x3b, 0x9f, 0x90,
|
|
0x90, 0x32, 0xdf, 0x30, 0xff, 0x25, 0x14, 0x13, 0xdc, 0x6c, 0x29, 0x9e, 0xc2, 0xcc, 0xf5, 0x34,
|
|
0xcc, 0x54, 0x36, 0xdc, 0x42, 0x38, 0x6c, 0xd3, 0xfe, 0xd1, 0x82, 0x35, 0x0d, 0x79, 0x46, 0x28,
|
|
0x1f, 0x00, 0x7e, 0x1a, 0x62, 0x67, 0x8d, 0xa3, 0xbf, 0x0e, 0x39, 0x9f, 0x79, 0xc9, 0x58, 0x88,
|
|
0x31, 0xc9, 0xba, 0xe0, 0xb3, 0x64, 0x8d, 0xec, 0x97, 0x50, 0xdc, 0xe3, 0x9d, 0xad, 0x27, 0x98,
|
|
0x63, 0xed, 0xfc, 0x31, 0xcc, 0x13, 0xde, 0xd9, 0xf2, 0x5a, 0x98, 0x63, 0xd1, 0xaa, 0x5c, 0x75,
|
|
0x23, 0x2d, 0x43, 0xad, 0x9c, 0x25, 0xea, 0xd7, 0xdd, 0x1a, 0x2c, 0xe8, 0x5e, 0xb9, 0xb4, 0x4b,
|
|
0x50, 0x0e, 0x2e, 0x7f, 0x75, 0xf0, 0xe2, 0xe0, 0xf0, 0xf5, 0x41, 0xf1, 0x7f, 0x28, 0x0f, 0xd9,
|
|
0x9d, 0xe3, 0xe3, 0xbd, 0xfa, 0xf1, 0x9e, 0x5b, 0xb4, 0xe2, 0xaf, 0x23, 0xf7, 0xf0, 0xe8, 0xb0,
|
|
0xbe, 0xe7, 0x16, 0x67, 0x50, 0x16, 0x32, 0xb5, 0xc3, 0xe3, 0x67, 0xc5, 0xd9, 0xea, 0x3f, 0xb3,
|
|
0xb0, 0x50, 0x13, 0x8e, 0xea, 0xf2, 0x91, 0x85, 0xbe, 0x86, 0xa5, 0xd7, 0xd8, 0xe7, 0x4f, 0x69,
|
|
0x34, 0x40, 0x78, 0x74, 0x75, 0x0c, 0xa2, 0xf6, 0xe2, 0xa7, 0x53, 0xf9, 0x6e, 0x5a, 0xd7, 0xc7,
|
|
0xaf, 0xc3, 0x7d, 0x0b, 0xed, 0xc3, 0xc2, 0x2e, 0x0e, 0x68, 0xe0, 0x37, 0x71, 0xf7, 0x19, 0xc1,
|
|
0xad, 0x54, 0xb3, 0xa9, 0xb7, 0xb1, 0x36, 0x78, 0x7a, 0x20, 0x17, 0x96, 0xf6, 0xc5, 0x41, 0x36,
|
|
0x8e, 0xe3, 0xfb, 0x5b, 0x34, 0x94, 0xef, 0x5b, 0xe8, 0x1b, 0x28, 0x8c, 0x4c, 0x65, 0xaa, 0xc5,
|
|
0x4a, 0x5a, 0xea, 0x69, 0x63, 0xbd, 0x0f, 0xd9, 0xa4, 0x89, 0xa9, 0x46, 0x37, 0xd3, 0x8c, 0x8e,
|
|
0xcd, 0xce, 0xe7, 0x90, 0x7d, 0x4a, 0xa3, 0x93, 0x73, 0xad, 0x5d, 0x4f, 0x4b, 0x3a, 0xd6, 0xac,
|
|
0xfe, 0x6d, 0x41, 0x61, 0x27, 0x01, 0x3b, 0xdd, 0x7c, 0x90, 0x24, 0xd1, 0x9e, 0x69, 0x8a, 0x56,
|
|
0xfe, 0x28, 0x75, 0xf1, 0x87, 0xe1, 0xfd, 0x2d, 0xac, 0x8c, 0xbc, 0x39, 0x77, 0xb8, 0xc0, 0x58,
|
|
0xe7, 0x7c, 0x03, 0xa3, 0x6f, 0xda, 0xf4, 0xc2, 0xa7, 0x3c, 0x69, 0xab, 0xbf, 0xcd, 0xea, 0xcb,
|
|
0xa9, 0x13, 0xed, 0xc2, 0xc2, 0xd0, 0x85, 0x43, 0x1f, 0xa7, 0xb6, 0x73, 0xc2, 0x05, 0x2d, 0xdf,
|
|
0x9b, 0x52, 0x5a, 0xe5, 0xde, 0x80, 0x2b, 0x13, 0x1e, 0x8a, 0xa9, 0x7d, 0xdb, 0xbe, 0x60, 0xb4,
|
|
0x26, 0xbe, 0x36, 0xbf, 0x85, 0xbc, 0x72, 0x2e, 0xd7, 0x63, 0x9a, 0x1d, 0x2a, 0xdf, 0xbe, 0x20,
|
|
0x0f, 0x23, 0x83, 0xf8, 0xcf, 0x4f, 0xd8, 0xe7, 0x44, 0x5f, 0xfa, 0xe9, 0x3c, 0xdc, 0x49, 0xf3,
|
|
0x30, 0xf6, 0x62, 0xa8, 0xfe, 0x9c, 0x81, 0xa2, 0x06, 0xb4, 0xa4, 0x51, 0x14, 0x16, 0x87, 0x8f,
|
|
0x24, 0x4a, 0xad, 0xfd, 0xc4, 0x23, 0x5c, 0x76, 0xa6, 0x15, 0x57, 0x99, 0xfe, 0x62, 0xc1, 0xb5,
|
|
0xd4, 0x13, 0x88, 0x1e, 0x5e, 0x68, 0x2d, 0xe5, 0x32, 0x97, 0x3f, 0xfd, 0x0f, 0x9a, 0x2a, 0x24,
|
|
0x0a, 0x25, 0x2d, 0x34, 0x38, 0x66, 0x72, 0x7b, 0x52, 0x11, 0x63, 0xf4, 0x9f, 0x41, 0x7a, 0x27,
|
|
0xc6, 0xff, 0x12, 0xfc, 0x60, 0xc1, 0xf5, 0x03, 0xf2, 0x96, 0x8b, 0x88, 0x26, 0x9c, 0xcf, 0xf7,
|
|
0xed, 0xc1, 0xf6, 0x85, 0xae, 0xc7, 0x4f, 0x73, 0x2d, 0xff, 0xc7, 0xbb, 0x1b, 0xd6, 0x9f, 0xef,
|
|
0x6e, 0x58, 0x7f, 0xbd, 0xbb, 0x61, 0x35, 0x2e, 0x89, 0x1d, 0xd9, 0xfe, 0x37, 0x00, 0x00, 0xff,
|
|
0xff, 0xde, 0xc0, 0x44, 0xea, 0x21, 0x10, 0x00, 0x00,
|
|
}
|