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: 14 Imported by: 0

Documentation

Overview

Package ethereum_beacon_rpc_v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

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 RegisterBeaconServiceHandler

func RegisterBeaconServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterBeaconServiceHandler registers the http handlers for service BeaconService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterBeaconServiceHandlerClient

func RegisterBeaconServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BeaconServiceClient) error

RegisterBeaconServiceHandlerClient registers the http handlers for service BeaconService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BeaconServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BeaconServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "BeaconServiceClient" to call the correct interceptors.

func RegisterBeaconServiceHandlerFromEndpoint

func RegisterBeaconServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterBeaconServiceHandlerFromEndpoint is same as RegisterBeaconServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

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) ProtoMessage added in v0.2.7

func (*AggregationRequest) ProtoMessage()

func (*AggregationRequest) Reset added in v0.2.7

func (m *AggregationRequest) Reset()

func (*AggregationRequest) String added in v0.2.7

func (m *AggregationRequest) String() string

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) ProtoMessage added in v0.2.7

func (*AggregationResponse) ProtoMessage()

func (*AggregationResponse) Reset added in v0.2.7

func (m *AggregationResponse) Reset()

func (*AggregationResponse) String added in v0.2.7

func (m *AggregationResponse) String() string

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) ProtoMessage

func (*AssignmentRequest) ProtoMessage()

func (*AssignmentRequest) Reset

func (m *AssignmentRequest) Reset()

func (*AssignmentRequest) String

func (m *AssignmentRequest) String() string

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) ProtoMessage

func (*AssignmentResponse) ProtoMessage()

func (*AssignmentResponse) Reset

func (m *AssignmentResponse) Reset()

func (*AssignmentResponse) String

func (m *AssignmentResponse) String() string

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) ProtoMessage

func (*AssignmentResponse_ValidatorAssignment) Reset

func (*AssignmentResponse_ValidatorAssignment) String

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) ProtoMessage

func (*AttestResponse) ProtoMessage()

func (*AttestResponse) Reset

func (m *AttestResponse) Reset()

func (*AttestResponse) String

func (m *AttestResponse) String() string

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) ProtoMessage

func (*AttestationRequest) ProtoMessage()

func (*AttestationRequest) Reset

func (m *AttestationRequest) Reset()

func (*AttestationRequest) String

func (m *AttestationRequest) String() string

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) ProtoMessage

func (*BlockRequest) ProtoMessage()

func (*BlockRequest) Reset

func (m *BlockRequest) Reset()

func (*BlockRequest) String

func (m *BlockRequest) String() string

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) ProtoMessage

func (*BlockTreeResponse) ProtoMessage()

func (*BlockTreeResponse) Reset

func (m *BlockTreeResponse) Reset()

func (*BlockTreeResponse) String

func (m *BlockTreeResponse) String() string

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) ProtoMessage

func (*BlockTreeResponse_TreeNode) ProtoMessage()

func (*BlockTreeResponse_TreeNode) Reset

func (m *BlockTreeResponse_TreeNode) Reset()

func (*BlockTreeResponse_TreeNode) String

func (m *BlockTreeResponse_TreeNode) String() string

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) ProtoMessage

func (*ChainStartResponse) ProtoMessage()

func (*ChainStartResponse) Reset

func (m *ChainStartResponse) Reset()

func (*ChainStartResponse) String

func (m *ChainStartResponse) String() string

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) ProtoMessage

func (*DomainRequest) ProtoMessage()

func (*DomainRequest) Reset

func (m *DomainRequest) Reset()

func (*DomainRequest) String

func (m *DomainRequest) String() string

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) ProtoMessage

func (*DomainResponse) ProtoMessage()

func (*DomainResponse) Reset

func (m *DomainResponse) Reset()

func (*DomainResponse) String

func (m *DomainResponse) String() string

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) ProtoMessage

func (*ExitedValidatorsRequest) ProtoMessage()

func (*ExitedValidatorsRequest) Reset

func (m *ExitedValidatorsRequest) Reset()

func (*ExitedValidatorsRequest) String

func (m *ExitedValidatorsRequest) String() string

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) ProtoMessage

func (*ExitedValidatorsResponse) ProtoMessage()

func (*ExitedValidatorsResponse) Reset

func (m *ExitedValidatorsResponse) Reset()

func (*ExitedValidatorsResponse) String

func (m *ExitedValidatorsResponse) String() string

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) ProtoMessage

func (*ProposeResponse) ProtoMessage()

func (*ProposeResponse) Reset

func (m *ProposeResponse) Reset()

func (*ProposeResponse) String

func (m *ProposeResponse) String() string

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) ProtoMessage

func (*TreeBlockSlotRequest) ProtoMessage()

func (*TreeBlockSlotRequest) Reset

func (m *TreeBlockSlotRequest) Reset()

func (*TreeBlockSlotRequest) String

func (m *TreeBlockSlotRequest) String() string

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 UnimplementedAggregatorServiceServer added in v0.2.7

type UnimplementedAggregatorServiceServer struct {
}

UnimplementedAggregatorServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAggregatorServiceServer) SubmitAggregateAndProof added in v0.2.7

type UnimplementedAttesterServiceServer added in v0.2.4

type UnimplementedAttesterServiceServer struct {
}

UnimplementedAttesterServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAttesterServiceServer) RequestAttestation added in v0.2.4

func (*UnimplementedAttesterServiceServer) SubmitAttestation added in v0.2.4

type UnimplementedProposerServiceServer added in v0.2.4

type UnimplementedProposerServiceServer struct {
}

UnimplementedProposerServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedProposerServiceServer) ProposeBlock added in v0.2.4

func (*UnimplementedProposerServiceServer) RequestBlock added in v0.2.4

type UnimplementedValidatorServiceServer added in v0.2.4

type UnimplementedValidatorServiceServer struct {
}

UnimplementedValidatorServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedValidatorServiceServer) CanonicalHead added in v0.2.4

func (*UnimplementedValidatorServiceServer) CommitteeAssignment added in v0.2.4

func (*UnimplementedValidatorServiceServer) DomainData added in v0.2.4

func (*UnimplementedValidatorServiceServer) ExitedValidators added in v0.2.4

func (*UnimplementedValidatorServiceServer) ValidatorIndex added in v0.2.4

func (*UnimplementedValidatorServiceServer) ValidatorPerformance added in v0.2.4

func (*UnimplementedValidatorServiceServer) ValidatorStatus added in v0.2.4

func (*UnimplementedValidatorServiceServer) WaitForActivation added in v0.2.4

func (*UnimplementedValidatorServiceServer) WaitForChainStart added in v0.2.4

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) ProtoMessage

func (*ValidatorActivationRequest) ProtoMessage()

func (*ValidatorActivationRequest) Reset

func (m *ValidatorActivationRequest) Reset()

func (*ValidatorActivationRequest) String

func (m *ValidatorActivationRequest) String() string

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) ProtoMessage

func (*ValidatorActivationResponse) ProtoMessage()

func (*ValidatorActivationResponse) Reset

func (m *ValidatorActivationResponse) Reset()

func (*ValidatorActivationResponse) String

func (m *ValidatorActivationResponse) String() string

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) ProtoMessage

func (*ValidatorActivationResponse_Status) ProtoMessage()

func (*ValidatorActivationResponse_Status) Reset

func (*ValidatorActivationResponse_Status) String

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) ProtoMessage

func (*ValidatorIndexRequest) ProtoMessage()

func (*ValidatorIndexRequest) Reset

func (m *ValidatorIndexRequest) Reset()

func (*ValidatorIndexRequest) String

func (m *ValidatorIndexRequest) String() string

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) ProtoMessage

func (*ValidatorIndexResponse) ProtoMessage()

func (*ValidatorIndexResponse) Reset

func (m *ValidatorIndexResponse) Reset()

func (*ValidatorIndexResponse) String

func (m *ValidatorIndexResponse) String() string

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) ProtoMessage

func (*ValidatorPerformanceRequest) ProtoMessage()

func (*ValidatorPerformanceRequest) Reset

func (m *ValidatorPerformanceRequest) Reset()

func (*ValidatorPerformanceRequest) String

func (m *ValidatorPerformanceRequest) String() string

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) ProtoMessage

func (*ValidatorPerformanceResponse) ProtoMessage()

func (*ValidatorPerformanceResponse) Reset

func (m *ValidatorPerformanceResponse) Reset()

func (*ValidatorPerformanceResponse) String

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 *empty.Empty, opts ...grpc.CallOption) (ValidatorService_WaitForChainStartClient, error)
	CanonicalHead(ctx context.Context, in *empty.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) ProtoMessage

func (*ValidatorStatusResponse) ProtoMessage()

func (*ValidatorStatusResponse) Reset

func (m *ValidatorStatusResponse) Reset()

func (*ValidatorStatusResponse) String

func (m *ValidatorStatusResponse) String() string

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