ethereum_beacon_rpc_v1

package
v0.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2019 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthServices = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowServices   = fmt.Errorf("proto: integer overflow")
)
View Source
var ValidatorRole_name = map[int32]string{
	0: "UNKNOWN",
	1: "ATTESTER",
	2: "PROPOSER",
	3: "AGGREGATOR",
}
View Source
var ValidatorRole_value = map[string]int32{
	"UNKNOWN":    0,
	"ATTESTER":   1,
	"PROPOSER":   2,
	"AGGREGATOR": 3,
}
View Source
var ValidatorStatus_name = map[int32]string{
	0: "UNKNOWN_STATUS",
	1: "DEPOSIT_RECEIVED",
	2: "PENDING_ACTIVE",
	3: "ACTIVE",
	4: "INITIATED_EXIT",
	5: "WITHDRAWABLE",
	6: "EXITED",
	7: "EXITED_SLASHED",
}
View Source
var ValidatorStatus_value = map[string]int32{
	"UNKNOWN_STATUS":   0,
	"DEPOSIT_RECEIVED": 1,
	"PENDING_ACTIVE":   2,
	"ACTIVE":           3,
	"INITIATED_EXIT":   4,
	"WITHDRAWABLE":     5,
	"EXITED":           6,
	"EXITED_SLASHED":   7,
}

Functions

func RegisterAggregatorServiceServer added in v0.2.7

func RegisterAggregatorServiceServer(s *grpc.Server, srv AggregatorServiceServer)

func RegisterAttesterServiceServer

func RegisterAttesterServiceServer(s *grpc.Server, srv AttesterServiceServer)

func RegisterProposerServiceServer

func RegisterProposerServiceServer(s *grpc.Server, srv ProposerServiceServer)

func RegisterValidatorServiceServer

func RegisterValidatorServiceServer(s *grpc.Server, srv ValidatorServiceServer)

Types

type AggregationRequest added in v0.2.7

type AggregationRequest struct {
	Slot                 uint64   `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
	CommitteeIndex       uint64   `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty"`
	PublicKey            []byte   `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	SlotSignature        []byte   `protobuf:"bytes,4,opt,name=slot_signature,json=slotSignature,proto3" json:"slot_signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AggregationRequest) Descriptor added in v0.2.7

func (*AggregationRequest) Descriptor() ([]byte, []int)

func (*AggregationRequest) GetCommitteeIndex added in v0.2.7

func (m *AggregationRequest) GetCommitteeIndex() uint64

func (*AggregationRequest) GetPublicKey added in v0.2.7

func (m *AggregationRequest) GetPublicKey() []byte

func (*AggregationRequest) GetSlot added in v0.2.7

func (m *AggregationRequest) GetSlot() uint64

func (*AggregationRequest) GetSlotSignature added in v0.2.7

func (m *AggregationRequest) GetSlotSignature() []byte

func (*AggregationRequest) Marshal added in v0.2.7

func (m *AggregationRequest) Marshal() (dAtA []byte, err error)

func (*AggregationRequest) MarshalTo added in v0.2.7

func (m *AggregationRequest) MarshalTo(dAtA []byte) (int, error)

func (*AggregationRequest) ProtoMessage added in v0.2.7

func (*AggregationRequest) ProtoMessage()

func (*AggregationRequest) Reset added in v0.2.7

func (m *AggregationRequest) Reset()

func (*AggregationRequest) Size added in v0.2.7

func (m *AggregationRequest) Size() (n int)

func (*AggregationRequest) String added in v0.2.7

func (m *AggregationRequest) String() string

func (*AggregationRequest) Unmarshal added in v0.2.7

func (m *AggregationRequest) Unmarshal(dAtA []byte) error

func (*AggregationRequest) XXX_DiscardUnknown added in v0.2.7

func (m *AggregationRequest) XXX_DiscardUnknown()

func (*AggregationRequest) XXX_Marshal added in v0.2.7

func (m *AggregationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AggregationRequest) XXX_Merge added in v0.2.7

func (m *AggregationRequest) XXX_Merge(src proto.Message)

func (*AggregationRequest) XXX_Size added in v0.2.7

func (m *AggregationRequest) XXX_Size() int

func (*AggregationRequest) XXX_Unmarshal added in v0.2.7

func (m *AggregationRequest) XXX_Unmarshal(b []byte) error

type AggregationResponse added in v0.2.7

type AggregationResponse struct {
	Root                 []byte   `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AggregationResponse) Descriptor added in v0.2.7

func (*AggregationResponse) Descriptor() ([]byte, []int)

func (*AggregationResponse) GetRoot added in v0.2.7

func (m *AggregationResponse) GetRoot() []byte

func (*AggregationResponse) Marshal added in v0.2.7

func (m *AggregationResponse) Marshal() (dAtA []byte, err error)

func (*AggregationResponse) MarshalTo added in v0.2.7

func (m *AggregationResponse) MarshalTo(dAtA []byte) (int, error)

func (*AggregationResponse) ProtoMessage added in v0.2.7

func (*AggregationResponse) ProtoMessage()

func (*AggregationResponse) Reset added in v0.2.7

func (m *AggregationResponse) Reset()

func (*AggregationResponse) Size added in v0.2.7

func (m *AggregationResponse) Size() (n int)

func (*AggregationResponse) String added in v0.2.7

func (m *AggregationResponse) String() string

func (*AggregationResponse) Unmarshal added in v0.2.7

func (m *AggregationResponse) Unmarshal(dAtA []byte) error

func (*AggregationResponse) XXX_DiscardUnknown added in v0.2.7

func (m *AggregationResponse) XXX_DiscardUnknown()

func (*AggregationResponse) XXX_Marshal added in v0.2.7

func (m *AggregationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AggregationResponse) XXX_Merge added in v0.2.7

func (m *AggregationResponse) XXX_Merge(src proto.Message)

func (*AggregationResponse) XXX_Size added in v0.2.7

func (m *AggregationResponse) XXX_Size() int

func (*AggregationResponse) XXX_Unmarshal added in v0.2.7

func (m *AggregationResponse) XXX_Unmarshal(b []byte) error

type AggregatorServiceClient added in v0.2.7

type AggregatorServiceClient interface {
	SubmitAggregateAndProof(ctx context.Context, in *AggregationRequest, opts ...grpc.CallOption) (*AggregationResponse, error)
}

AggregatorServiceClient is the client API for AggregatorService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAggregatorServiceClient added in v0.2.7

func NewAggregatorServiceClient(cc *grpc.ClientConn) AggregatorServiceClient

type AggregatorServiceServer added in v0.2.7

type AggregatorServiceServer interface {
	SubmitAggregateAndProof(context.Context, *AggregationRequest) (*AggregationResponse, error)
}

AggregatorServiceServer is the server API for AggregatorService service.

type AssignmentRequest

type AssignmentRequest struct {
	EpochStart           uint64   `protobuf:"varint,1,opt,name=epoch_start,json=epochStart,proto3" json:"epoch_start,omitempty"`
	PublicKeys           [][]byte `protobuf:"bytes,2,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AssignmentRequest) Descriptor

func (*AssignmentRequest) Descriptor() ([]byte, []int)

func (*AssignmentRequest) GetEpochStart

func (m *AssignmentRequest) GetEpochStart() uint64

func (*AssignmentRequest) GetPublicKeys

func (m *AssignmentRequest) GetPublicKeys() [][]byte

func (*AssignmentRequest) Marshal

func (m *AssignmentRequest) Marshal() (dAtA []byte, err error)

func (*AssignmentRequest) MarshalTo

func (m *AssignmentRequest) MarshalTo(dAtA []byte) (int, error)

func (*AssignmentRequest) ProtoMessage

func (*AssignmentRequest) ProtoMessage()

func (*AssignmentRequest) Reset

func (m *AssignmentRequest) Reset()

func (*AssignmentRequest) Size

func (m *AssignmentRequest) Size() (n int)

func (*AssignmentRequest) String

func (m *AssignmentRequest) String() string

func (*AssignmentRequest) Unmarshal

func (m *AssignmentRequest) Unmarshal(dAtA []byte) error

func (*AssignmentRequest) XXX_DiscardUnknown

func (m *AssignmentRequest) XXX_DiscardUnknown()

func (*AssignmentRequest) XXX_Marshal

func (m *AssignmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AssignmentRequest) XXX_Merge

func (m *AssignmentRequest) XXX_Merge(src proto.Message)

func (*AssignmentRequest) XXX_Size

func (m *AssignmentRequest) XXX_Size() int

func (*AssignmentRequest) XXX_Unmarshal

func (m *AssignmentRequest) XXX_Unmarshal(b []byte) error

type AssignmentResponse

type AssignmentResponse struct {
	ValidatorAssignment  []*AssignmentResponse_ValidatorAssignment `protobuf:"bytes,1,rep,name=validator_assignment,json=validatorAssignment,proto3" json:"validator_assignment,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                  `json:"-"`
	XXX_unrecognized     []byte                                    `json:"-"`
	XXX_sizecache        int32                                     `json:"-"`
}

func (*AssignmentResponse) Descriptor

func (*AssignmentResponse) Descriptor() ([]byte, []int)

func (*AssignmentResponse) GetValidatorAssignment

func (m *AssignmentResponse) GetValidatorAssignment() []*AssignmentResponse_ValidatorAssignment

func (*AssignmentResponse) Marshal

func (m *AssignmentResponse) Marshal() (dAtA []byte, err error)

func (*AssignmentResponse) MarshalTo

func (m *AssignmentResponse) MarshalTo(dAtA []byte) (int, error)

func (*AssignmentResponse) ProtoMessage

func (*AssignmentResponse) ProtoMessage()

func (*AssignmentResponse) Reset

func (m *AssignmentResponse) Reset()

func (*AssignmentResponse) Size

func (m *AssignmentResponse) Size() (n int)

func (*AssignmentResponse) String

func (m *AssignmentResponse) String() string

func (*AssignmentResponse) Unmarshal

func (m *AssignmentResponse) Unmarshal(dAtA []byte) error

func (*AssignmentResponse) XXX_DiscardUnknown

func (m *AssignmentResponse) XXX_DiscardUnknown()

func (*AssignmentResponse) XXX_Marshal

func (m *AssignmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AssignmentResponse) XXX_Merge

func (m *AssignmentResponse) XXX_Merge(src proto.Message)

func (*AssignmentResponse) XXX_Size

func (m *AssignmentResponse) XXX_Size() int

func (*AssignmentResponse) XXX_Unmarshal

func (m *AssignmentResponse) XXX_Unmarshal(b []byte) error

type AssignmentResponse_ValidatorAssignment

type AssignmentResponse_ValidatorAssignment struct {
	Committee            []uint64        `protobuf:"varint,1,rep,packed,name=committee,proto3" json:"committee,omitempty"`
	CommitteeIndex       uint64          `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty"`
	AttesterSlot         uint64          `protobuf:"varint,3,opt,name=attester_slot,json=attesterSlot,proto3" json:"attester_slot,omitempty"`
	ProposerSlot         uint64          `protobuf:"varint,4,opt,name=proposer_slot,json=proposerSlot,proto3" json:"proposer_slot,omitempty"`
	PublicKey            []byte          `protobuf:"bytes,5,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	Status               ValidatorStatus `protobuf:"varint,6,opt,name=status,proto3,enum=ethereum.beacon.rpc.v1.ValidatorStatus" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*AssignmentResponse_ValidatorAssignment) Descriptor

func (*AssignmentResponse_ValidatorAssignment) Descriptor() ([]byte, []int)

func (*AssignmentResponse_ValidatorAssignment) GetAttesterSlot added in v0.2.3

func (m *AssignmentResponse_ValidatorAssignment) GetAttesterSlot() uint64

func (*AssignmentResponse_ValidatorAssignment) GetCommittee

func (m *AssignmentResponse_ValidatorAssignment) GetCommittee() []uint64

func (*AssignmentResponse_ValidatorAssignment) GetCommitteeIndex added in v0.2.3

func (m *AssignmentResponse_ValidatorAssignment) GetCommitteeIndex() uint64

func (*AssignmentResponse_ValidatorAssignment) GetProposerSlot added in v0.2.3

func (m *AssignmentResponse_ValidatorAssignment) GetProposerSlot() uint64

func (*AssignmentResponse_ValidatorAssignment) GetPublicKey

func (m *AssignmentResponse_ValidatorAssignment) GetPublicKey() []byte

func (*AssignmentResponse_ValidatorAssignment) GetStatus

func (*AssignmentResponse_ValidatorAssignment) Marshal

func (m *AssignmentResponse_ValidatorAssignment) Marshal() (dAtA []byte, err error)

func (*AssignmentResponse_ValidatorAssignment) MarshalTo

func (m *AssignmentResponse_ValidatorAssignment) MarshalTo(dAtA []byte) (int, error)

func (*AssignmentResponse_ValidatorAssignment) ProtoMessage

func (*AssignmentResponse_ValidatorAssignment) Reset

func (*AssignmentResponse_ValidatorAssignment) Size

func (*AssignmentResponse_ValidatorAssignment) String

func (*AssignmentResponse_ValidatorAssignment) Unmarshal

func (m *AssignmentResponse_ValidatorAssignment) Unmarshal(dAtA []byte) error

func (*AssignmentResponse_ValidatorAssignment) XXX_DiscardUnknown

func (m *AssignmentResponse_ValidatorAssignment) XXX_DiscardUnknown()

func (*AssignmentResponse_ValidatorAssignment) XXX_Marshal

func (m *AssignmentResponse_ValidatorAssignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AssignmentResponse_ValidatorAssignment) XXX_Merge

func (*AssignmentResponse_ValidatorAssignment) XXX_Size

func (*AssignmentResponse_ValidatorAssignment) XXX_Unmarshal

func (m *AssignmentResponse_ValidatorAssignment) XXX_Unmarshal(b []byte) error

type AttestResponse

type AttestResponse struct {
	Root                 []byte   `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AttestResponse) Descriptor

func (*AttestResponse) Descriptor() ([]byte, []int)

func (*AttestResponse) GetRoot

func (m *AttestResponse) GetRoot() []byte

func (*AttestResponse) Marshal

func (m *AttestResponse) Marshal() (dAtA []byte, err error)

func (*AttestResponse) MarshalTo

func (m *AttestResponse) MarshalTo(dAtA []byte) (int, error)

func (*AttestResponse) ProtoMessage

func (*AttestResponse) ProtoMessage()

func (*AttestResponse) Reset

func (m *AttestResponse) Reset()

func (*AttestResponse) Size

func (m *AttestResponse) Size() (n int)

func (*AttestResponse) String

func (m *AttestResponse) String() string

func (*AttestResponse) Unmarshal

func (m *AttestResponse) Unmarshal(dAtA []byte) error

func (*AttestResponse) XXX_DiscardUnknown

func (m *AttestResponse) XXX_DiscardUnknown()

func (*AttestResponse) XXX_Marshal

func (m *AttestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttestResponse) XXX_Merge

func (m *AttestResponse) XXX_Merge(src proto.Message)

func (*AttestResponse) XXX_Size

func (m *AttestResponse) XXX_Size() int

func (*AttestResponse) XXX_Unmarshal

func (m *AttestResponse) XXX_Unmarshal(b []byte) error

type AttestationRequest

type AttestationRequest struct {
	PublicKey            []byte   `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	PocBit               []byte   `protobuf:"bytes,2,opt,name=poc_bit,json=pocBit,proto3" json:"poc_bit,omitempty"`
	Slot                 uint64   `protobuf:"varint,3,opt,name=slot,proto3" json:"slot,omitempty"`
	CommitteeIndex       uint64   `protobuf:"varint,4,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AttestationRequest) Descriptor

func (*AttestationRequest) Descriptor() ([]byte, []int)

func (*AttestationRequest) GetCommitteeIndex added in v0.2.3

func (m *AttestationRequest) GetCommitteeIndex() uint64

func (*AttestationRequest) GetPocBit

func (m *AttestationRequest) GetPocBit() []byte

func (*AttestationRequest) GetPublicKey

func (m *AttestationRequest) GetPublicKey() []byte

func (*AttestationRequest) GetSlot

func (m *AttestationRequest) GetSlot() uint64

func (*AttestationRequest) Marshal

func (m *AttestationRequest) Marshal() (dAtA []byte, err error)

func (*AttestationRequest) MarshalTo

func (m *AttestationRequest) MarshalTo(dAtA []byte) (int, error)

func (*AttestationRequest) ProtoMessage

func (*AttestationRequest) ProtoMessage()

func (*AttestationRequest) Reset

func (m *AttestationRequest) Reset()

func (*AttestationRequest) Size

func (m *AttestationRequest) Size() (n int)

func (*AttestationRequest) String

func (m *AttestationRequest) String() string

func (*AttestationRequest) Unmarshal

func (m *AttestationRequest) Unmarshal(dAtA []byte) error

func (*AttestationRequest) XXX_DiscardUnknown

func (m *AttestationRequest) XXX_DiscardUnknown()

func (*AttestationRequest) XXX_Marshal

func (m *AttestationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttestationRequest) XXX_Merge

func (m *AttestationRequest) XXX_Merge(src proto.Message)

func (*AttestationRequest) XXX_Size

func (m *AttestationRequest) XXX_Size() int

func (*AttestationRequest) XXX_Unmarshal

func (m *AttestationRequest) XXX_Unmarshal(b []byte) error

type AttesterServiceClient

type AttesterServiceClient interface {
	RequestAttestation(ctx context.Context, in *AttestationRequest, opts ...grpc.CallOption) (*v1alpha1.AttestationData, error)
	SubmitAttestation(ctx context.Context, in *v1alpha1.Attestation, opts ...grpc.CallOption) (*AttestResponse, error)
}

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.

func NewAttesterServiceClient

func NewAttesterServiceClient(cc *grpc.ClientConn) AttesterServiceClient

type AttesterServiceServer

type AttesterServiceServer interface {
	RequestAttestation(context.Context, *AttestationRequest) (*v1alpha1.AttestationData, error)
	SubmitAttestation(context.Context, *v1alpha1.Attestation) (*AttestResponse, error)
}

AttesterServiceServer is the server API for AttesterService service.

type BlockRequest

type BlockRequest struct {
	Slot                 uint64   `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
	RandaoReveal         []byte   `protobuf:"bytes,2,opt,name=randao_reveal,json=randaoReveal,proto3" json:"randao_reveal,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockRequest) Descriptor

func (*BlockRequest) Descriptor() ([]byte, []int)

func (*BlockRequest) GetRandaoReveal

func (m *BlockRequest) GetRandaoReveal() []byte

func (*BlockRequest) GetSlot

func (m *BlockRequest) GetSlot() uint64

func (*BlockRequest) Marshal

func (m *BlockRequest) Marshal() (dAtA []byte, err error)

func (*BlockRequest) MarshalTo

func (m *BlockRequest) MarshalTo(dAtA []byte) (int, error)

func (*BlockRequest) ProtoMessage

func (*BlockRequest) ProtoMessage()

func (*BlockRequest) Reset

func (m *BlockRequest) Reset()

func (*BlockRequest) Size

func (m *BlockRequest) Size() (n int)

func (*BlockRequest) String

func (m *BlockRequest) String() string

func (*BlockRequest) Unmarshal

func (m *BlockRequest) Unmarshal(dAtA []byte) error

func (*BlockRequest) XXX_DiscardUnknown

func (m *BlockRequest) XXX_DiscardUnknown()

func (*BlockRequest) XXX_Marshal

func (m *BlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockRequest) XXX_Merge

func (m *BlockRequest) XXX_Merge(src proto.Message)

func (*BlockRequest) XXX_Size

func (m *BlockRequest) XXX_Size() int

func (*BlockRequest) XXX_Unmarshal

func (m *BlockRequest) XXX_Unmarshal(b []byte) error

type BlockTreeResponse

type BlockTreeResponse struct {
	Tree                 []*BlockTreeResponse_TreeNode `protobuf:"bytes,1,rep,name=tree,proto3" json:"tree,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

func (*BlockTreeResponse) Descriptor

func (*BlockTreeResponse) Descriptor() ([]byte, []int)

func (*BlockTreeResponse) GetTree

func (*BlockTreeResponse) Marshal

func (m *BlockTreeResponse) Marshal() (dAtA []byte, err error)

func (*BlockTreeResponse) MarshalTo

func (m *BlockTreeResponse) MarshalTo(dAtA []byte) (int, error)

func (*BlockTreeResponse) ProtoMessage

func (*BlockTreeResponse) ProtoMessage()

func (*BlockTreeResponse) Reset

func (m *BlockTreeResponse) Reset()

func (*BlockTreeResponse) Size

func (m *BlockTreeResponse) Size() (n int)

func (*BlockTreeResponse) String

func (m *BlockTreeResponse) String() string

func (*BlockTreeResponse) Unmarshal

func (m *BlockTreeResponse) Unmarshal(dAtA []byte) error

func (*BlockTreeResponse) XXX_DiscardUnknown

func (m *BlockTreeResponse) XXX_DiscardUnknown()

func (*BlockTreeResponse) XXX_Marshal

func (m *BlockTreeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockTreeResponse) XXX_Merge

func (m *BlockTreeResponse) XXX_Merge(src proto.Message)

func (*BlockTreeResponse) XXX_Size

func (m *BlockTreeResponse) XXX_Size() int

func (*BlockTreeResponse) XXX_Unmarshal

func (m *BlockTreeResponse) XXX_Unmarshal(b []byte) error

type BlockTreeResponse_TreeNode

type BlockTreeResponse_TreeNode struct {
	Block                *v1alpha1.BeaconBlock `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	BlockRoot            []byte                `protobuf:"bytes,2,opt,name=block_root,json=blockRoot,proto3" json:"block_root,omitempty"`
	ParticipatedVotes    uint64                `protobuf:"varint,3,opt,name=participated_votes,json=participatedVotes,proto3" json:"participated_votes,omitempty"`
	TotalVotes           uint64                `protobuf:"varint,4,opt,name=total_votes,json=totalVotes,proto3" json:"total_votes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*BlockTreeResponse_TreeNode) Descriptor

func (*BlockTreeResponse_TreeNode) Descriptor() ([]byte, []int)

func (*BlockTreeResponse_TreeNode) GetBlock

func (*BlockTreeResponse_TreeNode) GetBlockRoot

func (m *BlockTreeResponse_TreeNode) GetBlockRoot() []byte

func (*BlockTreeResponse_TreeNode) GetParticipatedVotes

func (m *BlockTreeResponse_TreeNode) GetParticipatedVotes() uint64

func (*BlockTreeResponse_TreeNode) GetTotalVotes

func (m *BlockTreeResponse_TreeNode) GetTotalVotes() uint64

func (*BlockTreeResponse_TreeNode) Marshal

func (m *BlockTreeResponse_TreeNode) Marshal() (dAtA []byte, err error)

func (*BlockTreeResponse_TreeNode) MarshalTo

func (m *BlockTreeResponse_TreeNode) MarshalTo(dAtA []byte) (int, error)

func (*BlockTreeResponse_TreeNode) ProtoMessage

func (*BlockTreeResponse_TreeNode) ProtoMessage()

func (*BlockTreeResponse_TreeNode) Reset

func (m *BlockTreeResponse_TreeNode) Reset()

func (*BlockTreeResponse_TreeNode) Size

func (m *BlockTreeResponse_TreeNode) Size() (n int)

func (*BlockTreeResponse_TreeNode) String

func (m *BlockTreeResponse_TreeNode) String() string

func (*BlockTreeResponse_TreeNode) Unmarshal

func (m *BlockTreeResponse_TreeNode) Unmarshal(dAtA []byte) error

func (*BlockTreeResponse_TreeNode) XXX_DiscardUnknown

func (m *BlockTreeResponse_TreeNode) XXX_DiscardUnknown()

func (*BlockTreeResponse_TreeNode) XXX_Marshal

func (m *BlockTreeResponse_TreeNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockTreeResponse_TreeNode) XXX_Merge

func (m *BlockTreeResponse_TreeNode) XXX_Merge(src proto.Message)

func (*BlockTreeResponse_TreeNode) XXX_Size

func (m *BlockTreeResponse_TreeNode) XXX_Size() int

func (*BlockTreeResponse_TreeNode) XXX_Unmarshal

func (m *BlockTreeResponse_TreeNode) XXX_Unmarshal(b []byte) error

type ChainStartResponse

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 (*ChainStartResponse) Descriptor

func (*ChainStartResponse) Descriptor() ([]byte, []int)

func (*ChainStartResponse) GetGenesisTime

func (m *ChainStartResponse) GetGenesisTime() uint64

func (*ChainStartResponse) GetStarted

func (m *ChainStartResponse) GetStarted() bool

func (*ChainStartResponse) Marshal

func (m *ChainStartResponse) Marshal() (dAtA []byte, err error)

func (*ChainStartResponse) MarshalTo

func (m *ChainStartResponse) MarshalTo(dAtA []byte) (int, error)

func (*ChainStartResponse) ProtoMessage

func (*ChainStartResponse) ProtoMessage()

func (*ChainStartResponse) Reset

func (m *ChainStartResponse) Reset()

func (*ChainStartResponse) Size

func (m *ChainStartResponse) Size() (n int)

func (*ChainStartResponse) String

func (m *ChainStartResponse) String() string

func (*ChainStartResponse) Unmarshal

func (m *ChainStartResponse) Unmarshal(dAtA []byte) error

func (*ChainStartResponse) XXX_DiscardUnknown

func (m *ChainStartResponse) XXX_DiscardUnknown()

func (*ChainStartResponse) XXX_Marshal

func (m *ChainStartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChainStartResponse) XXX_Merge

func (m *ChainStartResponse) XXX_Merge(src proto.Message)

func (*ChainStartResponse) XXX_Size

func (m *ChainStartResponse) XXX_Size() int

func (*ChainStartResponse) XXX_Unmarshal

func (m *ChainStartResponse) XXX_Unmarshal(b []byte) error

type DomainRequest

type DomainRequest struct {
	Epoch                uint64   `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Domain               []byte   `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DomainRequest) Descriptor

func (*DomainRequest) Descriptor() ([]byte, []int)

func (*DomainRequest) GetDomain

func (m *DomainRequest) GetDomain() []byte

func (*DomainRequest) GetEpoch

func (m *DomainRequest) GetEpoch() uint64

func (*DomainRequest) Marshal

func (m *DomainRequest) Marshal() (dAtA []byte, err error)

func (*DomainRequest) MarshalTo

func (m *DomainRequest) MarshalTo(dAtA []byte) (int, error)

func (*DomainRequest) ProtoMessage

func (*DomainRequest) ProtoMessage()

func (*DomainRequest) Reset

func (m *DomainRequest) Reset()

func (*DomainRequest) Size

func (m *DomainRequest) Size() (n int)

func (*DomainRequest) String

func (m *DomainRequest) String() string

func (*DomainRequest) Unmarshal

func (m *DomainRequest) Unmarshal(dAtA []byte) error

func (*DomainRequest) XXX_DiscardUnknown

func (m *DomainRequest) XXX_DiscardUnknown()

func (*DomainRequest) XXX_Marshal

func (m *DomainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DomainRequest) XXX_Merge

func (m *DomainRequest) XXX_Merge(src proto.Message)

func (*DomainRequest) XXX_Size

func (m *DomainRequest) XXX_Size() int

func (*DomainRequest) XXX_Unmarshal

func (m *DomainRequest) XXX_Unmarshal(b []byte) error

type DomainResponse

type DomainResponse struct {
	SignatureDomain      uint64   `protobuf:"varint,1,opt,name=signature_domain,json=signatureDomain,proto3" json:"signature_domain,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DomainResponse) Descriptor

func (*DomainResponse) Descriptor() ([]byte, []int)

func (*DomainResponse) GetSignatureDomain

func (m *DomainResponse) GetSignatureDomain() uint64

func (*DomainResponse) Marshal

func (m *DomainResponse) Marshal() (dAtA []byte, err error)

func (*DomainResponse) MarshalTo

func (m *DomainResponse) MarshalTo(dAtA []byte) (int, error)

func (*DomainResponse) ProtoMessage

func (*DomainResponse) ProtoMessage()

func (*DomainResponse) Reset

func (m *DomainResponse) Reset()

func (*DomainResponse) Size

func (m *DomainResponse) Size() (n int)

func (*DomainResponse) String

func (m *DomainResponse) String() string

func (*DomainResponse) Unmarshal

func (m *DomainResponse) Unmarshal(dAtA []byte) error

func (*DomainResponse) XXX_DiscardUnknown

func (m *DomainResponse) XXX_DiscardUnknown()

func (*DomainResponse) XXX_Marshal

func (m *DomainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DomainResponse) XXX_Merge

func (m *DomainResponse) XXX_Merge(src proto.Message)

func (*DomainResponse) XXX_Size

func (m *DomainResponse) XXX_Size() int

func (*DomainResponse) XXX_Unmarshal

func (m *DomainResponse) XXX_Unmarshal(b []byte) error

type ExitedValidatorsRequest

type ExitedValidatorsRequest struct {
	PublicKeys           [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExitedValidatorsRequest) Descriptor

func (*ExitedValidatorsRequest) Descriptor() ([]byte, []int)

func (*ExitedValidatorsRequest) GetPublicKeys

func (m *ExitedValidatorsRequest) GetPublicKeys() [][]byte

func (*ExitedValidatorsRequest) Marshal

func (m *ExitedValidatorsRequest) Marshal() (dAtA []byte, err error)

func (*ExitedValidatorsRequest) MarshalTo

func (m *ExitedValidatorsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ExitedValidatorsRequest) ProtoMessage

func (*ExitedValidatorsRequest) ProtoMessage()

func (*ExitedValidatorsRequest) Reset

func (m *ExitedValidatorsRequest) Reset()

func (*ExitedValidatorsRequest) Size

func (m *ExitedValidatorsRequest) Size() (n int)

func (*ExitedValidatorsRequest) String

func (m *ExitedValidatorsRequest) String() string

func (*ExitedValidatorsRequest) Unmarshal

func (m *ExitedValidatorsRequest) Unmarshal(dAtA []byte) error

func (*ExitedValidatorsRequest) XXX_DiscardUnknown

func (m *ExitedValidatorsRequest) XXX_DiscardUnknown()

func (*ExitedValidatorsRequest) XXX_Marshal

func (m *ExitedValidatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExitedValidatorsRequest) XXX_Merge

func (m *ExitedValidatorsRequest) XXX_Merge(src proto.Message)

func (*ExitedValidatorsRequest) XXX_Size

func (m *ExitedValidatorsRequest) XXX_Size() int

func (*ExitedValidatorsRequest) XXX_Unmarshal

func (m *ExitedValidatorsRequest) XXX_Unmarshal(b []byte) error

type ExitedValidatorsResponse

type ExitedValidatorsResponse struct {
	PublicKeys           [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExitedValidatorsResponse) Descriptor

func (*ExitedValidatorsResponse) Descriptor() ([]byte, []int)

func (*ExitedValidatorsResponse) GetPublicKeys

func (m *ExitedValidatorsResponse) GetPublicKeys() [][]byte

func (*ExitedValidatorsResponse) Marshal

func (m *ExitedValidatorsResponse) Marshal() (dAtA []byte, err error)

func (*ExitedValidatorsResponse) MarshalTo

func (m *ExitedValidatorsResponse) MarshalTo(dAtA []byte) (int, error)

func (*ExitedValidatorsResponse) ProtoMessage

func (*ExitedValidatorsResponse) ProtoMessage()

func (*ExitedValidatorsResponse) Reset

func (m *ExitedValidatorsResponse) Reset()

func (*ExitedValidatorsResponse) Size

func (m *ExitedValidatorsResponse) Size() (n int)

func (*ExitedValidatorsResponse) String

func (m *ExitedValidatorsResponse) String() string

func (*ExitedValidatorsResponse) Unmarshal

func (m *ExitedValidatorsResponse) Unmarshal(dAtA []byte) error

func (*ExitedValidatorsResponse) XXX_DiscardUnknown

func (m *ExitedValidatorsResponse) XXX_DiscardUnknown()

func (*ExitedValidatorsResponse) XXX_Marshal

func (m *ExitedValidatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExitedValidatorsResponse) XXX_Merge

func (m *ExitedValidatorsResponse) XXX_Merge(src proto.Message)

func (*ExitedValidatorsResponse) XXX_Size

func (m *ExitedValidatorsResponse) XXX_Size() int

func (*ExitedValidatorsResponse) XXX_Unmarshal

func (m *ExitedValidatorsResponse) XXX_Unmarshal(b []byte) error

type ProposeResponse

type ProposeResponse struct {
	BlockRoot            []byte   `protobuf:"bytes,1,opt,name=block_root,json=blockRoot,proto3" json:"block_root,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ProposeResponse) Descriptor

func (*ProposeResponse) Descriptor() ([]byte, []int)

func (*ProposeResponse) GetBlockRoot

func (m *ProposeResponse) GetBlockRoot() []byte

func (*ProposeResponse) Marshal

func (m *ProposeResponse) Marshal() (dAtA []byte, err error)

func (*ProposeResponse) MarshalTo

func (m *ProposeResponse) MarshalTo(dAtA []byte) (int, error)

func (*ProposeResponse) ProtoMessage

func (*ProposeResponse) ProtoMessage()

func (*ProposeResponse) Reset

func (m *ProposeResponse) Reset()

func (*ProposeResponse) Size

func (m *ProposeResponse) Size() (n int)

func (*ProposeResponse) String

func (m *ProposeResponse) String() string

func (*ProposeResponse) Unmarshal

func (m *ProposeResponse) Unmarshal(dAtA []byte) error

func (*ProposeResponse) XXX_DiscardUnknown

func (m *ProposeResponse) XXX_DiscardUnknown()

func (*ProposeResponse) XXX_Marshal

func (m *ProposeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProposeResponse) XXX_Merge

func (m *ProposeResponse) XXX_Merge(src proto.Message)

func (*ProposeResponse) XXX_Size

func (m *ProposeResponse) XXX_Size() int

func (*ProposeResponse) XXX_Unmarshal

func (m *ProposeResponse) XXX_Unmarshal(b []byte) error

type ProposerServiceClient

type ProposerServiceClient interface {
	RequestBlock(ctx context.Context, in *BlockRequest, opts ...grpc.CallOption) (*v1alpha1.BeaconBlock, error)
	ProposeBlock(ctx context.Context, in *v1alpha1.BeaconBlock, opts ...grpc.CallOption) (*ProposeResponse, error)
}

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.

func NewProposerServiceClient

func NewProposerServiceClient(cc *grpc.ClientConn) ProposerServiceClient

type ProposerServiceServer

type ProposerServiceServer interface {
	RequestBlock(context.Context, *BlockRequest) (*v1alpha1.BeaconBlock, error)
	ProposeBlock(context.Context, *v1alpha1.BeaconBlock) (*ProposeResponse, error)
}

ProposerServiceServer is the server API for ProposerService service.

type TreeBlockSlotRequest

type TreeBlockSlotRequest struct {
	SlotFrom             uint64   `protobuf:"varint,1,opt,name=slot_from,json=slotFrom,proto3" json:"slot_from,omitempty"`
	SlotTo               uint64   `protobuf:"varint,2,opt,name=slot_to,json=slotTo,proto3" json:"slot_to,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TreeBlockSlotRequest) Descriptor

func (*TreeBlockSlotRequest) Descriptor() ([]byte, []int)

func (*TreeBlockSlotRequest) GetSlotFrom

func (m *TreeBlockSlotRequest) GetSlotFrom() uint64

func (*TreeBlockSlotRequest) GetSlotTo

func (m *TreeBlockSlotRequest) GetSlotTo() uint64

func (*TreeBlockSlotRequest) Marshal

func (m *TreeBlockSlotRequest) Marshal() (dAtA []byte, err error)

func (*TreeBlockSlotRequest) MarshalTo

func (m *TreeBlockSlotRequest) MarshalTo(dAtA []byte) (int, error)

func (*TreeBlockSlotRequest) ProtoMessage

func (*TreeBlockSlotRequest) ProtoMessage()

func (*TreeBlockSlotRequest) Reset

func (m *TreeBlockSlotRequest) Reset()

func (*TreeBlockSlotRequest) Size

func (m *TreeBlockSlotRequest) Size() (n int)

func (*TreeBlockSlotRequest) String

func (m *TreeBlockSlotRequest) String() string

func (*TreeBlockSlotRequest) Unmarshal

func (m *TreeBlockSlotRequest) Unmarshal(dAtA []byte) error

func (*TreeBlockSlotRequest) XXX_DiscardUnknown

func (m *TreeBlockSlotRequest) XXX_DiscardUnknown()

func (*TreeBlockSlotRequest) XXX_Marshal

func (m *TreeBlockSlotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TreeBlockSlotRequest) XXX_Merge

func (m *TreeBlockSlotRequest) XXX_Merge(src proto.Message)

func (*TreeBlockSlotRequest) XXX_Size

func (m *TreeBlockSlotRequest) XXX_Size() int

func (*TreeBlockSlotRequest) XXX_Unmarshal

func (m *TreeBlockSlotRequest) XXX_Unmarshal(b []byte) error

type ValidatorActivationRequest

type ValidatorActivationRequest struct {
	PublicKeys           [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ValidatorActivationRequest) Descriptor

func (*ValidatorActivationRequest) Descriptor() ([]byte, []int)

func (*ValidatorActivationRequest) GetPublicKeys

func (m *ValidatorActivationRequest) GetPublicKeys() [][]byte

func (*ValidatorActivationRequest) Marshal

func (m *ValidatorActivationRequest) Marshal() (dAtA []byte, err error)

func (*ValidatorActivationRequest) MarshalTo

func (m *ValidatorActivationRequest) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorActivationRequest) ProtoMessage

func (*ValidatorActivationRequest) ProtoMessage()

func (*ValidatorActivationRequest) Reset

func (m *ValidatorActivationRequest) Reset()

func (*ValidatorActivationRequest) Size

func (m *ValidatorActivationRequest) Size() (n int)

func (*ValidatorActivationRequest) String

func (m *ValidatorActivationRequest) String() string

func (*ValidatorActivationRequest) Unmarshal

func (m *ValidatorActivationRequest) Unmarshal(dAtA []byte) error

func (*ValidatorActivationRequest) XXX_DiscardUnknown

func (m *ValidatorActivationRequest) XXX_DiscardUnknown()

func (*ValidatorActivationRequest) XXX_Marshal

func (m *ValidatorActivationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorActivationRequest) XXX_Merge

func (m *ValidatorActivationRequest) XXX_Merge(src proto.Message)

func (*ValidatorActivationRequest) XXX_Size

func (m *ValidatorActivationRequest) XXX_Size() int

func (*ValidatorActivationRequest) XXX_Unmarshal

func (m *ValidatorActivationRequest) XXX_Unmarshal(b []byte) error

type ValidatorActivationResponse

type ValidatorActivationResponse struct {
	ActivatedPublicKeys  [][]byte                              `protobuf:"bytes,1,rep,name=activated_public_keys,json=activatedPublicKeys,proto3" json:"activated_public_keys,omitempty"` // Deprecated: Do not use.
	Statuses             []*ValidatorActivationResponse_Status `protobuf:"bytes,2,rep,name=statuses,proto3" json:"statuses,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

func (*ValidatorActivationResponse) Descriptor

func (*ValidatorActivationResponse) Descriptor() ([]byte, []int)

func (*ValidatorActivationResponse) GetActivatedPublicKeys deprecated

func (m *ValidatorActivationResponse) GetActivatedPublicKeys() [][]byte

Deprecated: Do not use.

func (*ValidatorActivationResponse) GetStatuses

func (*ValidatorActivationResponse) Marshal

func (m *ValidatorActivationResponse) Marshal() (dAtA []byte, err error)

func (*ValidatorActivationResponse) MarshalTo

func (m *ValidatorActivationResponse) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorActivationResponse) ProtoMessage

func (*ValidatorActivationResponse) ProtoMessage()

func (*ValidatorActivationResponse) Reset

func (m *ValidatorActivationResponse) Reset()

func (*ValidatorActivationResponse) Size

func (m *ValidatorActivationResponse) Size() (n int)

func (*ValidatorActivationResponse) String

func (m *ValidatorActivationResponse) String() string

func (*ValidatorActivationResponse) Unmarshal

func (m *ValidatorActivationResponse) Unmarshal(dAtA []byte) error

func (*ValidatorActivationResponse) XXX_DiscardUnknown

func (m *ValidatorActivationResponse) XXX_DiscardUnknown()

func (*ValidatorActivationResponse) XXX_Marshal

func (m *ValidatorActivationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorActivationResponse) XXX_Merge

func (m *ValidatorActivationResponse) XXX_Merge(src proto.Message)

func (*ValidatorActivationResponse) XXX_Size

func (m *ValidatorActivationResponse) XXX_Size() int

func (*ValidatorActivationResponse) XXX_Unmarshal

func (m *ValidatorActivationResponse) XXX_Unmarshal(b []byte) error

type ValidatorActivationResponse_Status

type ValidatorActivationResponse_Status struct {
	PublicKey            []byte                   `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	Status               *ValidatorStatusResponse `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*ValidatorActivationResponse_Status) Descriptor

func (*ValidatorActivationResponse_Status) Descriptor() ([]byte, []int)

func (*ValidatorActivationResponse_Status) GetPublicKey

func (m *ValidatorActivationResponse_Status) GetPublicKey() []byte

func (*ValidatorActivationResponse_Status) GetStatus

func (*ValidatorActivationResponse_Status) Marshal

func (m *ValidatorActivationResponse_Status) Marshal() (dAtA []byte, err error)

func (*ValidatorActivationResponse_Status) MarshalTo

func (m *ValidatorActivationResponse_Status) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorActivationResponse_Status) ProtoMessage

func (*ValidatorActivationResponse_Status) ProtoMessage()

func (*ValidatorActivationResponse_Status) Reset

func (*ValidatorActivationResponse_Status) Size

func (*ValidatorActivationResponse_Status) String

func (*ValidatorActivationResponse_Status) Unmarshal

func (m *ValidatorActivationResponse_Status) Unmarshal(dAtA []byte) error

func (*ValidatorActivationResponse_Status) XXX_DiscardUnknown

func (m *ValidatorActivationResponse_Status) XXX_DiscardUnknown()

func (*ValidatorActivationResponse_Status) XXX_Marshal

func (m *ValidatorActivationResponse_Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorActivationResponse_Status) XXX_Merge

func (*ValidatorActivationResponse_Status) XXX_Size

func (*ValidatorActivationResponse_Status) XXX_Unmarshal

func (m *ValidatorActivationResponse_Status) XXX_Unmarshal(b []byte) error

type ValidatorIndexRequest

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 (*ValidatorIndexRequest) Descriptor

func (*ValidatorIndexRequest) Descriptor() ([]byte, []int)

func (*ValidatorIndexRequest) GetPublicKey

func (m *ValidatorIndexRequest) GetPublicKey() []byte

func (*ValidatorIndexRequest) Marshal

func (m *ValidatorIndexRequest) Marshal() (dAtA []byte, err error)

func (*ValidatorIndexRequest) MarshalTo

func (m *ValidatorIndexRequest) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorIndexRequest) ProtoMessage

func (*ValidatorIndexRequest) ProtoMessage()

func (*ValidatorIndexRequest) Reset

func (m *ValidatorIndexRequest) Reset()

func (*ValidatorIndexRequest) Size

func (m *ValidatorIndexRequest) Size() (n int)

func (*ValidatorIndexRequest) String

func (m *ValidatorIndexRequest) String() string

func (*ValidatorIndexRequest) Unmarshal

func (m *ValidatorIndexRequest) Unmarshal(dAtA []byte) error

func (*ValidatorIndexRequest) XXX_DiscardUnknown

func (m *ValidatorIndexRequest) XXX_DiscardUnknown()

func (*ValidatorIndexRequest) XXX_Marshal

func (m *ValidatorIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorIndexRequest) XXX_Merge

func (m *ValidatorIndexRequest) XXX_Merge(src proto.Message)

func (*ValidatorIndexRequest) XXX_Size

func (m *ValidatorIndexRequest) XXX_Size() int

func (*ValidatorIndexRequest) XXX_Unmarshal

func (m *ValidatorIndexRequest) XXX_Unmarshal(b []byte) error

type ValidatorIndexResponse

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 (*ValidatorIndexResponse) Descriptor

func (*ValidatorIndexResponse) Descriptor() ([]byte, []int)

func (*ValidatorIndexResponse) GetIndex

func (m *ValidatorIndexResponse) GetIndex() uint64

func (*ValidatorIndexResponse) Marshal

func (m *ValidatorIndexResponse) Marshal() (dAtA []byte, err error)

func (*ValidatorIndexResponse) MarshalTo

func (m *ValidatorIndexResponse) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorIndexResponse) ProtoMessage

func (*ValidatorIndexResponse) ProtoMessage()

func (*ValidatorIndexResponse) Reset

func (m *ValidatorIndexResponse) Reset()

func (*ValidatorIndexResponse) Size

func (m *ValidatorIndexResponse) Size() (n int)

func (*ValidatorIndexResponse) String

func (m *ValidatorIndexResponse) String() string

func (*ValidatorIndexResponse) Unmarshal

func (m *ValidatorIndexResponse) Unmarshal(dAtA []byte) error

func (*ValidatorIndexResponse) XXX_DiscardUnknown

func (m *ValidatorIndexResponse) XXX_DiscardUnknown()

func (*ValidatorIndexResponse) XXX_Marshal

func (m *ValidatorIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorIndexResponse) XXX_Merge

func (m *ValidatorIndexResponse) XXX_Merge(src proto.Message)

func (*ValidatorIndexResponse) XXX_Size

func (m *ValidatorIndexResponse) XXX_Size() int

func (*ValidatorIndexResponse) XXX_Unmarshal

func (m *ValidatorIndexResponse) XXX_Unmarshal(b []byte) error

type ValidatorPerformanceRequest

type ValidatorPerformanceRequest struct {
	Slot                 uint64   `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
	PublicKeys           [][]byte `protobuf:"bytes,2,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ValidatorPerformanceRequest) Descriptor

func (*ValidatorPerformanceRequest) Descriptor() ([]byte, []int)

func (*ValidatorPerformanceRequest) GetPublicKeys

func (m *ValidatorPerformanceRequest) GetPublicKeys() [][]byte

func (*ValidatorPerformanceRequest) GetSlot

func (m *ValidatorPerformanceRequest) GetSlot() uint64

func (*ValidatorPerformanceRequest) Marshal

func (m *ValidatorPerformanceRequest) Marshal() (dAtA []byte, err error)

func (*ValidatorPerformanceRequest) MarshalTo

func (m *ValidatorPerformanceRequest) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorPerformanceRequest) ProtoMessage

func (*ValidatorPerformanceRequest) ProtoMessage()

func (*ValidatorPerformanceRequest) Reset

func (m *ValidatorPerformanceRequest) Reset()

func (*ValidatorPerformanceRequest) Size

func (m *ValidatorPerformanceRequest) Size() (n int)

func (*ValidatorPerformanceRequest) String

func (m *ValidatorPerformanceRequest) String() string

func (*ValidatorPerformanceRequest) Unmarshal

func (m *ValidatorPerformanceRequest) Unmarshal(dAtA []byte) error

func (*ValidatorPerformanceRequest) XXX_DiscardUnknown

func (m *ValidatorPerformanceRequest) XXX_DiscardUnknown()

func (*ValidatorPerformanceRequest) XXX_Marshal

func (m *ValidatorPerformanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorPerformanceRequest) XXX_Merge

func (m *ValidatorPerformanceRequest) XXX_Merge(src proto.Message)

func (*ValidatorPerformanceRequest) XXX_Size

func (m *ValidatorPerformanceRequest) XXX_Size() int

func (*ValidatorPerformanceRequest) XXX_Unmarshal

func (m *ValidatorPerformanceRequest) XXX_Unmarshal(b []byte) error

type ValidatorPerformanceResponse

type ValidatorPerformanceResponse struct {
	Balances                      []uint64 `protobuf:"varint,1,rep,packed,name=balances,proto3" json:"balances,omitempty"`
	TotalValidators               uint64   `protobuf:"varint,2,opt,name=total_validators,json=totalValidators,proto3" json:"total_validators,omitempty"`
	TotalActiveValidators         uint64   `` /* 127-byte string literal not displayed */
	MissingValidators             [][]byte `protobuf:"bytes,4,rep,name=missing_validators,json=missingValidators,proto3" json:"missing_validators,omitempty"`
	AverageActiveValidatorBalance float32  `` /* 154-byte string literal not displayed */
	XXX_NoUnkeyedLiteral          struct{} `json:"-"`
	XXX_unrecognized              []byte   `json:"-"`
	XXX_sizecache                 int32    `json:"-"`
}

func (*ValidatorPerformanceResponse) Descriptor

func (*ValidatorPerformanceResponse) Descriptor() ([]byte, []int)

func (*ValidatorPerformanceResponse) GetAverageActiveValidatorBalance

func (m *ValidatorPerformanceResponse) GetAverageActiveValidatorBalance() float32

func (*ValidatorPerformanceResponse) GetBalances

func (m *ValidatorPerformanceResponse) GetBalances() []uint64

func (*ValidatorPerformanceResponse) GetMissingValidators

func (m *ValidatorPerformanceResponse) GetMissingValidators() [][]byte

func (*ValidatorPerformanceResponse) GetTotalActiveValidators

func (m *ValidatorPerformanceResponse) GetTotalActiveValidators() uint64

func (*ValidatorPerformanceResponse) GetTotalValidators

func (m *ValidatorPerformanceResponse) GetTotalValidators() uint64

func (*ValidatorPerformanceResponse) Marshal

func (m *ValidatorPerformanceResponse) Marshal() (dAtA []byte, err error)

func (*ValidatorPerformanceResponse) MarshalTo

func (m *ValidatorPerformanceResponse) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorPerformanceResponse) ProtoMessage

func (*ValidatorPerformanceResponse) ProtoMessage()

func (*ValidatorPerformanceResponse) Reset

func (m *ValidatorPerformanceResponse) Reset()

func (*ValidatorPerformanceResponse) Size

func (m *ValidatorPerformanceResponse) Size() (n int)

func (*ValidatorPerformanceResponse) String

func (*ValidatorPerformanceResponse) Unmarshal

func (m *ValidatorPerformanceResponse) Unmarshal(dAtA []byte) error

func (*ValidatorPerformanceResponse) XXX_DiscardUnknown

func (m *ValidatorPerformanceResponse) XXX_DiscardUnknown()

func (*ValidatorPerformanceResponse) XXX_Marshal

func (m *ValidatorPerformanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorPerformanceResponse) XXX_Merge

func (m *ValidatorPerformanceResponse) XXX_Merge(src proto.Message)

func (*ValidatorPerformanceResponse) XXX_Size

func (m *ValidatorPerformanceResponse) XXX_Size() int

func (*ValidatorPerformanceResponse) XXX_Unmarshal

func (m *ValidatorPerformanceResponse) XXX_Unmarshal(b []byte) error

type ValidatorRole

type ValidatorRole int32
const (
	ValidatorRole_UNKNOWN    ValidatorRole = 0
	ValidatorRole_ATTESTER   ValidatorRole = 1
	ValidatorRole_PROPOSER   ValidatorRole = 2
	ValidatorRole_AGGREGATOR ValidatorRole = 3
)

func (ValidatorRole) EnumDescriptor

func (ValidatorRole) EnumDescriptor() ([]byte, []int)

func (ValidatorRole) String

func (x ValidatorRole) String() string

type ValidatorServiceClient

type ValidatorServiceClient interface {
	DomainData(ctx context.Context, in *DomainRequest, opts ...grpc.CallOption) (*DomainResponse, error)
	WaitForActivation(ctx context.Context, in *ValidatorActivationRequest, opts ...grpc.CallOption) (ValidatorService_WaitForActivationClient, error)
	ValidatorIndex(ctx context.Context, in *ValidatorIndexRequest, opts ...grpc.CallOption) (*ValidatorIndexResponse, error)
	CommitteeAssignment(ctx context.Context, in *AssignmentRequest, opts ...grpc.CallOption) (*AssignmentResponse, error)
	ValidatorStatus(ctx context.Context, in *ValidatorIndexRequest, opts ...grpc.CallOption) (*ValidatorStatusResponse, error)
	ValidatorPerformance(ctx context.Context, in *ValidatorPerformanceRequest, opts ...grpc.CallOption) (*ValidatorPerformanceResponse, error)
	ExitedValidators(ctx context.Context, in *ExitedValidatorsRequest, opts ...grpc.CallOption) (*ExitedValidatorsResponse, error)
	WaitForChainStart(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (ValidatorService_WaitForChainStartClient, error)
	CanonicalHead(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*v1alpha1.BeaconBlock, error)
}

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.

func NewValidatorServiceClient

func NewValidatorServiceClient(cc *grpc.ClientConn) ValidatorServiceClient

type ValidatorService_WaitForActivationClient

type ValidatorService_WaitForActivationClient interface {
	Recv() (*ValidatorActivationResponse, error)
	grpc.ClientStream
}

type ValidatorService_WaitForActivationServer

type ValidatorService_WaitForActivationServer interface {
	Send(*ValidatorActivationResponse) error
	grpc.ServerStream
}

type ValidatorService_WaitForChainStartClient

type ValidatorService_WaitForChainStartClient interface {
	Recv() (*ChainStartResponse, error)
	grpc.ClientStream
}

type ValidatorService_WaitForChainStartServer

type ValidatorService_WaitForChainStartServer interface {
	Send(*ChainStartResponse) error
	grpc.ServerStream
}

type ValidatorStatus

type ValidatorStatus int32
const (
	ValidatorStatus_UNKNOWN_STATUS   ValidatorStatus = 0
	ValidatorStatus_DEPOSIT_RECEIVED ValidatorStatus = 1
	ValidatorStatus_PENDING_ACTIVE   ValidatorStatus = 2
	ValidatorStatus_ACTIVE           ValidatorStatus = 3
	ValidatorStatus_INITIATED_EXIT   ValidatorStatus = 4
	ValidatorStatus_WITHDRAWABLE     ValidatorStatus = 5
	ValidatorStatus_EXITED           ValidatorStatus = 6
	ValidatorStatus_EXITED_SLASHED   ValidatorStatus = 7
)

func (ValidatorStatus) EnumDescriptor

func (ValidatorStatus) EnumDescriptor() ([]byte, []int)

func (ValidatorStatus) String

func (x ValidatorStatus) String() string

type ValidatorStatusResponse

type ValidatorStatusResponse struct {
	Status                    ValidatorStatus `protobuf:"varint,1,opt,name=status,proto3,enum=ethereum.beacon.rpc.v1.ValidatorStatus" json:"status,omitempty"`
	Eth1DepositBlockNumber    uint64          `` /* 132-byte string literal not displayed */
	DepositInclusionSlot      uint64          `protobuf:"varint,3,opt,name=deposit_inclusion_slot,json=depositInclusionSlot,proto3" json:"deposit_inclusion_slot,omitempty"`
	ActivationEpoch           uint64          `protobuf:"varint,4,opt,name=activation_epoch,json=activationEpoch,proto3" json:"activation_epoch,omitempty"`
	PositionInActivationQueue uint64          `` /* 141-byte string literal not displayed */
	XXX_NoUnkeyedLiteral      struct{}        `json:"-"`
	XXX_unrecognized          []byte          `json:"-"`
	XXX_sizecache             int32           `json:"-"`
}

func (*ValidatorStatusResponse) Descriptor

func (*ValidatorStatusResponse) Descriptor() ([]byte, []int)

func (*ValidatorStatusResponse) GetActivationEpoch

func (m *ValidatorStatusResponse) GetActivationEpoch() uint64

func (*ValidatorStatusResponse) GetDepositInclusionSlot

func (m *ValidatorStatusResponse) GetDepositInclusionSlot() uint64

func (*ValidatorStatusResponse) GetEth1DepositBlockNumber

func (m *ValidatorStatusResponse) GetEth1DepositBlockNumber() uint64

func (*ValidatorStatusResponse) GetPositionInActivationQueue

func (m *ValidatorStatusResponse) GetPositionInActivationQueue() uint64

func (*ValidatorStatusResponse) GetStatus

func (*ValidatorStatusResponse) Marshal

func (m *ValidatorStatusResponse) Marshal() (dAtA []byte, err error)

func (*ValidatorStatusResponse) MarshalTo

func (m *ValidatorStatusResponse) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorStatusResponse) ProtoMessage

func (*ValidatorStatusResponse) ProtoMessage()

func (*ValidatorStatusResponse) Reset

func (m *ValidatorStatusResponse) Reset()

func (*ValidatorStatusResponse) Size

func (m *ValidatorStatusResponse) Size() (n int)

func (*ValidatorStatusResponse) String

func (m *ValidatorStatusResponse) String() string

func (*ValidatorStatusResponse) Unmarshal

func (m *ValidatorStatusResponse) Unmarshal(dAtA []byte) error

func (*ValidatorStatusResponse) XXX_DiscardUnknown

func (m *ValidatorStatusResponse) XXX_DiscardUnknown()

func (*ValidatorStatusResponse) XXX_Marshal

func (m *ValidatorStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorStatusResponse) XXX_Merge

func (m *ValidatorStatusResponse) XXX_Merge(src proto.Message)

func (*ValidatorStatusResponse) XXX_Size

func (m *ValidatorStatusResponse) XXX_Size() int

func (*ValidatorStatusResponse) XXX_Unmarshal

func (m *ValidatorStatusResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL