eth

package
Version: v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: GPL-3.0, Apache-2.0 Imports: 23 Imported by: 79

README

gRPC Gateway

This package is contains generated files for applications that wish to use eth/v1alpha as a gRPC gateway.

Documentation

Overview

Package eth is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Code generated by fastssz. DO NOT EDIT. Hash: a3416de26c1bcfbb8e5db8be7b8bf3b5aa2ee876b633efefc6e1f55acf0cb02b

Package eth is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package eth is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	SetAction_name = map[int32]string{
		0: "ADD_VALIDATOR_KEYS",
		1: "REMOVE_VALIDATOR_KEYS",
		2: "SET_VALIDATOR_KEYS",
	}
	SetAction_value = map[string]int32{
		"ADD_VALIDATOR_KEYS":    0,
		"REMOVE_VALIDATOR_KEYS": 1,
		"SET_VALIDATOR_KEYS":    2,
	}
)

Enum value maps for SetAction.

View Source
var (
	PeerDirection_name = map[int32]string{
		0: "UNKNOWN",
		1: "INBOUND",
		2: "OUTBOUND",
	}
	PeerDirection_value = map[string]int32{
		"UNKNOWN":  0,
		"INBOUND":  1,
		"OUTBOUND": 2,
	}
)

Enum value maps for PeerDirection.

View Source
var (
	ConnectionState_name = map[int32]string{
		0: "DISCONNECTED",
		1: "DISCONNECTING",
		2: "CONNECTED",
		3: "CONNECTING",
	}
	ConnectionState_value = map[string]int32{
		"DISCONNECTED":  0,
		"DISCONNECTING": 1,
		"CONNECTED":     2,
		"CONNECTING":    3,
	}
)

Enum value maps for ConnectionState.

View Source
var (
	ValidatorStatus_name = map[int32]string{
		0: "UNKNOWN_STATUS",
		1: "DEPOSITED",
		2: "PENDING",
		3: "ACTIVE",
		4: "EXITING",
		5: "SLASHING",
		6: "EXITED",
		7: "INVALID",
		8: "PARTIALLY_DEPOSITED",
	}
	ValidatorStatus_value = map[string]int32{
		"UNKNOWN_STATUS":      0,
		"DEPOSITED":           1,
		"PENDING":             2,
		"ACTIVE":              3,
		"EXITING":             4,
		"SLASHING":            5,
		"EXITED":              6,
		"INVALID":             7,
		"PARTIALLY_DEPOSITED": 8,
	}
)

Enum value maps for ValidatorStatus.

View Source
var File_proto_eth_v1alpha1_attestation_proto protoreflect.FileDescriptor
View Source
var File_proto_eth_v1alpha1_beacon_block_proto protoreflect.FileDescriptor
View Source
var File_proto_eth_v1alpha1_beacon_chain_proto protoreflect.FileDescriptor
View Source
var File_proto_eth_v1alpha1_node_proto protoreflect.FileDescriptor
View Source
var File_proto_eth_v1alpha1_validator_proto protoreflect.FileDescriptor

Functions

func RegisterBeaconChainHandler added in v1.3.11

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

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

func RegisterBeaconChainHandlerClient added in v1.3.11

func RegisterBeaconChainHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BeaconChainClient) error

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

func RegisterBeaconChainHandlerFromEndpoint added in v1.3.11

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

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

func RegisterBeaconChainHandlerServer added in v1.3.11

func RegisterBeaconChainHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BeaconChainServer) error

RegisterBeaconChainHandlerServer registers the http handlers for service BeaconChain to "mux". UnaryRPC :call BeaconChainServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterBeaconChainHandlerFromEndpoint instead.

func RegisterBeaconChainServer

func RegisterBeaconChainServer(s *grpc.Server, srv BeaconChainServer)

func RegisterBeaconNodeValidatorHandler added in v1.3.11

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

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

func RegisterBeaconNodeValidatorHandlerClient added in v1.3.11

func RegisterBeaconNodeValidatorHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BeaconNodeValidatorClient) error

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

func RegisterBeaconNodeValidatorHandlerFromEndpoint added in v1.3.11

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

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

func RegisterBeaconNodeValidatorHandlerServer added in v1.3.11

func RegisterBeaconNodeValidatorHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BeaconNodeValidatorServer) error

RegisterBeaconNodeValidatorHandlerServer registers the http handlers for service BeaconNodeValidator to "mux". UnaryRPC :call BeaconNodeValidatorServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterBeaconNodeValidatorHandlerFromEndpoint instead.

func RegisterBeaconNodeValidatorServer

func RegisterBeaconNodeValidatorServer(s *grpc.Server, srv BeaconNodeValidatorServer)

func RegisterNodeHandler added in v1.3.11

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

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

func RegisterNodeHandlerClient added in v1.3.11

func RegisterNodeHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NodeClient) error

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

func RegisterNodeHandlerFromEndpoint added in v1.3.11

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

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

func RegisterNodeHandlerServer added in v1.3.11

func RegisterNodeHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NodeServer) error

RegisterNodeHandlerServer registers the http handlers for service Node to "mux". UnaryRPC :call NodeServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterNodeHandlerFromEndpoint instead.

func RegisterNodeServer

func RegisterNodeServer(s *grpc.Server, srv NodeServer)

Types

type ActiveSetChanges

type ActiveSetChanges struct {
	Epoch               github_com_prysmaticlabs_eth2_types.Epoch            `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"`
	ActivatedPublicKeys [][]byte                                             `` /* 136-byte string literal not displayed */
	ActivatedIndices    []github_com_prysmaticlabs_eth2_types.ValidatorIndex `` /* 180-byte string literal not displayed */
	ExitedPublicKeys    [][]byte                                             `` /* 127-byte string literal not displayed */
	ExitedIndices       []github_com_prysmaticlabs_eth2_types.ValidatorIndex `` /* 171-byte string literal not displayed */
	SlashedPublicKeys   [][]byte                                             `` /* 130-byte string literal not displayed */
	SlashedIndices      []github_com_prysmaticlabs_eth2_types.ValidatorIndex `` /* 174-byte string literal not displayed */
	EjectedPublicKeys   [][]byte                                             `` /* 130-byte string literal not displayed */
	EjectedIndices      []github_com_prysmaticlabs_eth2_types.ValidatorIndex `` /* 174-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ActiveSetChanges) Descriptor deprecated

This method has been deprecated.
func (*ActiveSetChanges) Descriptor() ([]byte, []int)

Deprecated: Use ActiveSetChanges.ProtoReflect.Descriptor instead.

func (*ActiveSetChanges) GetActivatedIndices added in v1.3.11

func (*ActiveSetChanges) GetActivatedPublicKeys

func (x *ActiveSetChanges) GetActivatedPublicKeys() [][]byte

func (*ActiveSetChanges) GetEjectedIndices added in v1.3.11

func (*ActiveSetChanges) GetEjectedPublicKeys

func (x *ActiveSetChanges) GetEjectedPublicKeys() [][]byte

func (*ActiveSetChanges) GetEpoch

func (*ActiveSetChanges) GetExitedIndices added in v1.3.11

func (*ActiveSetChanges) GetExitedPublicKeys

func (x *ActiveSetChanges) GetExitedPublicKeys() [][]byte

func (*ActiveSetChanges) GetSlashedIndices added in v1.3.11

func (*ActiveSetChanges) GetSlashedPublicKeys

func (x *ActiveSetChanges) GetSlashedPublicKeys() [][]byte

func (*ActiveSetChanges) ProtoMessage

func (*ActiveSetChanges) ProtoMessage()

func (*ActiveSetChanges) ProtoReflect added in v1.3.11

func (x *ActiveSetChanges) ProtoReflect() protoreflect.Message

func (*ActiveSetChanges) Reset

func (x *ActiveSetChanges) Reset()

func (*ActiveSetChanges) String

func (x *ActiveSetChanges) String() string

type AggregateAttestationAndProof added in v1.3.11

type AggregateAttestationAndProof struct {
	AggregatorIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `` /* 170-byte string literal not displayed */
	Aggregate       *Attestation                                       `protobuf:"bytes,3,opt,name=aggregate,proto3" json:"aggregate,omitempty"`
	SelectionProof  []byte                                             `protobuf:"bytes,2,opt,name=selection_proof,json=selectionProof,proto3" json:"selection_proof,omitempty" ssz-size:"96"`
	// contains filtered or unexported fields
}

func (*AggregateAttestationAndProof) Descriptor deprecated added in v1.3.11

This method has been deprecated.
func (*AggregateAttestationAndProof) Descriptor() ([]byte, []int)

Deprecated: Use AggregateAttestationAndProof.ProtoReflect.Descriptor instead.

func (*AggregateAttestationAndProof) GetAggregate added in v1.3.11

func (x *AggregateAttestationAndProof) GetAggregate() *Attestation

func (*AggregateAttestationAndProof) GetAggregatorIndex added in v1.3.11

func (*AggregateAttestationAndProof) GetSelectionProof added in v1.3.11

func (x *AggregateAttestationAndProof) GetSelectionProof() []byte

func (*AggregateAttestationAndProof) HashTreeRoot added in v1.3.11

func (a *AggregateAttestationAndProof) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the AggregateAttestationAndProof object

func (*AggregateAttestationAndProof) HashTreeRootWith added in v1.3.11

func (a *AggregateAttestationAndProof) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the AggregateAttestationAndProof object with a hasher

func (*AggregateAttestationAndProof) MarshalSSZ added in v1.3.11

func (a *AggregateAttestationAndProof) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the AggregateAttestationAndProof object

func (*AggregateAttestationAndProof) MarshalSSZTo added in v1.3.11

func (a *AggregateAttestationAndProof) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the AggregateAttestationAndProof object to a target array

func (*AggregateAttestationAndProof) ProtoMessage added in v1.3.11

func (*AggregateAttestationAndProof) ProtoMessage()

func (*AggregateAttestationAndProof) ProtoReflect added in v1.3.11

func (*AggregateAttestationAndProof) Reset added in v1.3.11

func (x *AggregateAttestationAndProof) Reset()

func (*AggregateAttestationAndProof) SizeSSZ added in v1.3.11

func (a *AggregateAttestationAndProof) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the AggregateAttestationAndProof object

func (*AggregateAttestationAndProof) String added in v1.3.11

func (*AggregateAttestationAndProof) UnmarshalSSZ added in v1.3.11

func (a *AggregateAttestationAndProof) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the AggregateAttestationAndProof object

type AggregateSelectionRequest added in v1.3.11

type AggregateSelectionRequest struct {
	Slot           github_com_prysmaticlabs_eth2_types.Slot           `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"`
	CommitteeIndex github_com_prysmaticlabs_eth2_types.CommitteeIndex `` /* 167-byte string literal not displayed */
	PublicKey      []byte                                             `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" spec-name:"pubkey" ssz-size:"48"`
	SlotSignature  []byte                                             `protobuf:"bytes,4,opt,name=slot_signature,json=slotSignature,proto3" json:"slot_signature,omitempty" ssz-size:"96"`
	// contains filtered or unexported fields
}

func (*AggregateSelectionRequest) Descriptor deprecated added in v1.3.11

This method has been deprecated.
func (*AggregateSelectionRequest) Descriptor() ([]byte, []int)

Deprecated: Use AggregateSelectionRequest.ProtoReflect.Descriptor instead.

func (*AggregateSelectionRequest) GetCommitteeIndex added in v1.3.11

func (*AggregateSelectionRequest) GetPublicKey added in v1.3.11

func (x *AggregateSelectionRequest) GetPublicKey() []byte

func (*AggregateSelectionRequest) GetSlot added in v1.3.11

func (*AggregateSelectionRequest) GetSlotSignature added in v1.3.11

func (x *AggregateSelectionRequest) GetSlotSignature() []byte

func (*AggregateSelectionRequest) ProtoMessage added in v1.3.11

func (*AggregateSelectionRequest) ProtoMessage()

func (*AggregateSelectionRequest) ProtoReflect added in v1.3.11

func (*AggregateSelectionRequest) Reset added in v1.3.11

func (x *AggregateSelectionRequest) Reset()

func (*AggregateSelectionRequest) String added in v1.3.11

func (x *AggregateSelectionRequest) String() string

type AggregateSelectionResponse added in v1.3.11

type AggregateSelectionResponse struct {
	AggregateAndProof *AggregateAttestationAndProof `protobuf:"bytes,1,opt,name=aggregate_and_proof,json=aggregateAndProof,proto3" json:"aggregate_and_proof,omitempty"`
	// contains filtered or unexported fields
}

func (*AggregateSelectionResponse) Descriptor deprecated added in v1.3.11

This method has been deprecated.
func (*AggregateSelectionResponse) Descriptor() ([]byte, []int)

Deprecated: Use AggregateSelectionResponse.ProtoReflect.Descriptor instead.

func (*AggregateSelectionResponse) GetAggregateAndProof added in v1.3.11

func (x *AggregateSelectionResponse) GetAggregateAndProof() *AggregateAttestationAndProof

func (*AggregateSelectionResponse) ProtoMessage added in v1.3.11

func (*AggregateSelectionResponse) ProtoMessage()

func (*AggregateSelectionResponse) ProtoReflect added in v1.3.11

func (*AggregateSelectionResponse) Reset added in v1.3.11

func (x *AggregateSelectionResponse) Reset()

func (*AggregateSelectionResponse) String added in v1.3.11

func (x *AggregateSelectionResponse) String() string

type AttestResponse added in v1.3.11

type AttestResponse struct {
	AttestationDataRoot []byte `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AttestResponse) Descriptor deprecated added in v1.3.11

This method has been deprecated.
func (*AttestResponse) Descriptor() ([]byte, []int)

Deprecated: Use AttestResponse.ProtoReflect.Descriptor instead.

func (*AttestResponse) GetAttestationDataRoot added in v1.3.11

func (x *AttestResponse) GetAttestationDataRoot() []byte

func (*AttestResponse) ProtoMessage added in v1.3.11

func (*AttestResponse) ProtoMessage()

func (*AttestResponse) ProtoReflect added in v1.3.11

func (x *AttestResponse) ProtoReflect() protoreflect.Message

func (*AttestResponse) Reset added in v1.3.11

func (x *AttestResponse) Reset()

func (*AttestResponse) String added in v1.3.11

func (x *AttestResponse) String() string

type Attestation

type Attestation struct {
	AggregationBits github_com_prysmaticlabs_go_bitfield.Bitlist `` /* 178-byte string literal not displayed */
	Data            *AttestationData                             `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Signature       []byte                                       `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"`
	// contains filtered or unexported fields
}

func (*Attestation) Descriptor deprecated

This method has been deprecated.
func (*Attestation) Descriptor() ([]byte, []int)

Deprecated: Use Attestation.ProtoReflect.Descriptor instead.

func (*Attestation) GetAggregationBits

func (*Attestation) GetData

func (x *Attestation) GetData() *AttestationData

func (*Attestation) GetSignature

func (x *Attestation) GetSignature() []byte

func (*Attestation) HashTreeRoot added in v1.3.11

func (a *Attestation) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the Attestation object

func (*Attestation) HashTreeRootWith added in v1.3.11

func (a *Attestation) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the Attestation object with a hasher

func (*Attestation) MarshalSSZ added in v1.3.11

func (a *Attestation) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the Attestation object

func (*Attestation) MarshalSSZTo added in v1.3.11

func (a *Attestation) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the Attestation object to a target array

func (*Attestation) ProtoMessage

func (*Attestation) ProtoMessage()

func (*Attestation) ProtoReflect added in v1.3.11

func (x *Attestation) ProtoReflect() protoreflect.Message

func (*Attestation) Reset

func (x *Attestation) Reset()

func (*Attestation) SizeSSZ added in v1.3.11

func (a *Attestation) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the Attestation object

func (*Attestation) String

func (x *Attestation) String() string

func (*Attestation) UnmarshalSSZ added in v1.3.11

func (a *Attestation) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the Attestation object

type AttestationData

type AttestationData struct {
	Slot            github_com_prysmaticlabs_eth2_types.Slot           `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"`
	CommitteeIndex  github_com_prysmaticlabs_eth2_types.CommitteeIndex `` /* 167-byte string literal not displayed */
	BeaconBlockRoot []byte                                             `protobuf:"bytes,3,opt,name=beacon_block_root,json=beaconBlockRoot,proto3" json:"beacon_block_root,omitempty" ssz-size:"32"`
	Source          *Checkpoint                                        `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
	Target          *Checkpoint                                        `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

func (*AttestationData) Descriptor deprecated

This method has been deprecated.
func (*AttestationData) Descriptor() ([]byte, []int)

Deprecated: Use AttestationData.ProtoReflect.Descriptor instead.

func (*AttestationData) GetBeaconBlockRoot

func (x *AttestationData) GetBeaconBlockRoot() []byte

func (*AttestationData) GetCommitteeIndex added in v1.3.11

func (*AttestationData) GetSlot added in v0.2.3

func (*AttestationData) GetSource

func (x *AttestationData) GetSource() *Checkpoint

func (*AttestationData) GetTarget

func (x *AttestationData) GetTarget() *Checkpoint

func (*AttestationData) HashTreeRoot added in v1.3.11

func (a *AttestationData) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the AttestationData object

func (*AttestationData) HashTreeRootWith added in v1.3.11

func (a *AttestationData) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the AttestationData object with a hasher

func (*AttestationData) MarshalSSZ added in v1.3.11

func (a *AttestationData) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the AttestationData object

func (*AttestationData) MarshalSSZTo added in v1.3.11

func (a *AttestationData) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the AttestationData object to a target array

func (*AttestationData) ProtoMessage

func (*AttestationData) ProtoMessage()

func (*AttestationData) ProtoReflect added in v1.3.11

func (x *AttestationData) ProtoReflect() protoreflect.Message

func (*AttestationData) Reset

func (x *AttestationData) Reset()

func (*AttestationData) SizeSSZ added in v1.3.11

func (a *AttestationData) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the AttestationData object

func (*AttestationData) String

func (x *AttestationData) String() string

func (*AttestationData) UnmarshalSSZ added in v1.3.11

func (a *AttestationData) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the AttestationData object

type AttestationDataRequest

type AttestationDataRequest struct {
	Slot           github_com_prysmaticlabs_eth2_types.Slot           `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"`
	CommitteeIndex github_com_prysmaticlabs_eth2_types.CommitteeIndex `` /* 167-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AttestationDataRequest) Descriptor deprecated

This method has been deprecated.
func (*AttestationDataRequest) Descriptor() ([]byte, []int)

Deprecated: Use AttestationDataRequest.ProtoReflect.Descriptor instead.

func (*AttestationDataRequest) GetCommitteeIndex added in v1.3.11

func (*AttestationDataRequest) GetSlot

func (*AttestationDataRequest) ProtoMessage

func (*AttestationDataRequest) ProtoMessage()

func (*AttestationDataRequest) ProtoReflect added in v1.3.11

func (x *AttestationDataRequest) ProtoReflect() protoreflect.Message

func (*AttestationDataRequest) Reset

func (x *AttestationDataRequest) Reset()

func (*AttestationDataRequest) String

func (x *AttestationDataRequest) String() string

type AttestationPoolRequest added in v1.3.11

type AttestationPoolRequest struct {
	PageSize  int32  `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*AttestationPoolRequest) Descriptor deprecated added in v1.3.11

This method has been deprecated.
func (*AttestationPoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use AttestationPoolRequest.ProtoReflect.Descriptor instead.

func (*AttestationPoolRequest) GetPageSize added in v1.3.11

func (x *AttestationPoolRequest) GetPageSize() int32

func (*AttestationPoolRequest) GetPageToken added in v1.3.11

func (x *AttestationPoolRequest) GetPageToken() string

func (*AttestationPoolRequest) ProtoMessage added in v1.3.11

func (*AttestationPoolRequest) ProtoMessage()

func (*AttestationPoolRequest) ProtoReflect added in v1.3.11

func (x *AttestationPoolRequest) ProtoReflect() protoreflect.Message

func (*AttestationPoolRequest) Reset added in v1.3.11

func (x *AttestationPoolRequest) Reset()

func (*AttestationPoolRequest) String added in v1.3.11

func (x *AttestationPoolRequest) String() string

type AttestationPoolResponse

type AttestationPoolResponse struct {
	Attestations  []*Attestation `protobuf:"bytes,1,rep,name=attestations,proto3" json:"attestations,omitempty"`
	NextPageToken string         `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	TotalSize     int32          `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

func (*AttestationPoolResponse) Descriptor deprecated

This method has been deprecated.
func (*AttestationPoolResponse) Descriptor() ([]byte, []int)

Deprecated: Use AttestationPoolResponse.ProtoReflect.Descriptor instead.

func (*AttestationPoolResponse) GetAttestations

func (x *AttestationPoolResponse) GetAttestations() []*Attestation

func (*AttestationPoolResponse) GetNextPageToken added in v1.3.11

func (x *AttestationPoolResponse) GetNextPageToken() string

func (*AttestationPoolResponse) GetTotalSize added in v1.3.11

func (x *AttestationPoolResponse) GetTotalSize() int32

func (*AttestationPoolResponse) ProtoMessage

func (*AttestationPoolResponse) ProtoMessage()

func (*AttestationPoolResponse) ProtoReflect added in v1.3.11

func (x *AttestationPoolResponse) ProtoReflect() protoreflect.Message

func (*AttestationPoolResponse) Reset

func (x *AttestationPoolResponse) Reset()

func (*AttestationPoolResponse) String

func (x *AttestationPoolResponse) String() string

type AttesterSlashing

type AttesterSlashing struct {
	Attestation_1 *IndexedAttestation `protobuf:"bytes,1,opt,name=attestation_1,json=attestation1,proto3" json:"attestation_1,omitempty"`
	Attestation_2 *IndexedAttestation `protobuf:"bytes,2,opt,name=attestation_2,json=attestation2,proto3" json:"attestation_2,omitempty"`
	// contains filtered or unexported fields
}

func (*AttesterSlashing) Descriptor deprecated

This method has been deprecated.
func (*AttesterSlashing) Descriptor() ([]byte, []int)

Deprecated: Use AttesterSlashing.ProtoReflect.Descriptor instead.

func (*AttesterSlashing) GetAttestation_1

func (x *AttesterSlashing) GetAttestation_1() *IndexedAttestation

func (*AttesterSlashing) GetAttestation_2

func (x *AttesterSlashing) GetAttestation_2() *IndexedAttestation

func (*AttesterSlashing) HashTreeRoot added in v1.3.11

func (a *AttesterSlashing) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the AttesterSlashing object

func (*AttesterSlashing) HashTreeRootWith added in v1.3.11

func (a *AttesterSlashing) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the AttesterSlashing object with a hasher

func (*AttesterSlashing) MarshalSSZ added in v1.3.11

func (a *AttesterSlashing) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the AttesterSlashing object

func (*AttesterSlashing) MarshalSSZTo added in v1.3.11

func (a *AttesterSlashing) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the AttesterSlashing object to a target array

func (*AttesterSlashing) ProtoMessage

func (*AttesterSlashing) ProtoMessage()

func (*AttesterSlashing) ProtoReflect added in v1.3.11

func (x *AttesterSlashing) ProtoReflect() protoreflect.Message

func (*AttesterSlashing) Reset

func (x *AttesterSlashing) Reset()

func (*AttesterSlashing) SizeSSZ added in v1.3.11

func (a *AttesterSlashing) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the AttesterSlashing object

func (*AttesterSlashing) String

func (x *AttesterSlashing) String() string

func (*AttesterSlashing) UnmarshalSSZ added in v1.3.11

func (a *AttesterSlashing) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the AttesterSlashing object

type BeaconBlock

type BeaconBlock struct {
	Slot          github_com_prysmaticlabs_eth2_types.Slot           `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"`
	ProposerIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `` /* 164-byte string literal not displayed */
	ParentRoot    []byte                                             `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"`
	StateRoot     []byte                                             `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"`
	Body          *BeaconBlockBody                                   `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*BeaconBlock) Descriptor deprecated

This method has been deprecated.
func (*BeaconBlock) Descriptor() ([]byte, []int)

Deprecated: Use BeaconBlock.ProtoReflect.Descriptor instead.

func (*BeaconBlock) GetBody

func (x *BeaconBlock) GetBody() *BeaconBlockBody

func (*BeaconBlock) GetParentRoot

func (x *BeaconBlock) GetParentRoot() []byte

func (*BeaconBlock) GetProposerIndex added in v1.3.11

func (*BeaconBlock) GetSlot

func (*BeaconBlock) GetStateRoot

func (x *BeaconBlock) GetStateRoot() []byte

func (*BeaconBlock) HashTreeRoot added in v1.3.11

func (b *BeaconBlock) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the BeaconBlock object

func (*BeaconBlock) HashTreeRootWith added in v1.3.11

func (b *BeaconBlock) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the BeaconBlock object with a hasher

func (*BeaconBlock) MarshalSSZ added in v1.3.11

func (b *BeaconBlock) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the BeaconBlock object

func (*BeaconBlock) MarshalSSZTo added in v1.3.11

func (b *BeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the BeaconBlock object to a target array

func (*BeaconBlock) ProtoMessage

func (*BeaconBlock) ProtoMessage()

func (*BeaconBlock) ProtoReflect added in v1.3.11

func (x *BeaconBlock) ProtoReflect() protoreflect.Message

func (*BeaconBlock) Reset

func (x *BeaconBlock) Reset()

func (*BeaconBlock) SizeSSZ added in v1.3.11

func (b *BeaconBlock) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the BeaconBlock object

func (*BeaconBlock) String

func (x *BeaconBlock) String() string

func (*BeaconBlock) UnmarshalSSZ added in v1.3.11

func (b *BeaconBlock) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the BeaconBlock object

type BeaconBlockBody

type BeaconBlockBody struct {
	RandaoReveal      []byte                 `protobuf:"bytes,1,opt,name=randao_reveal,json=randaoReveal,proto3" json:"randao_reveal,omitempty" ssz-size:"96"`
	Eth1Data          *Eth1Data              `protobuf:"bytes,2,opt,name=eth1_data,json=eth1Data,proto3" json:"eth1_data,omitempty"`
	Graffiti          []byte                 `protobuf:"bytes,3,opt,name=graffiti,proto3" json:"graffiti,omitempty" ssz-size:"32"`
	ProposerSlashings []*ProposerSlashing    `protobuf:"bytes,4,rep,name=proposer_slashings,json=proposerSlashings,proto3" json:"proposer_slashings,omitempty" ssz-max:"16"`
	AttesterSlashings []*AttesterSlashing    `protobuf:"bytes,5,rep,name=attester_slashings,json=attesterSlashings,proto3" json:"attester_slashings,omitempty" ssz-max:"2"`
	Attestations      []*Attestation         `protobuf:"bytes,6,rep,name=attestations,proto3" json:"attestations,omitempty" ssz-max:"128"`
	Deposits          []*Deposit             `protobuf:"bytes,7,rep,name=deposits,proto3" json:"deposits,omitempty" ssz-max:"16"`
	VoluntaryExits    []*SignedVoluntaryExit `protobuf:"bytes,8,rep,name=voluntary_exits,json=voluntaryExits,proto3" json:"voluntary_exits,omitempty" ssz-max:"16"`
	// contains filtered or unexported fields
}

func (*BeaconBlockBody) Descriptor deprecated

This method has been deprecated.
func (*BeaconBlockBody) Descriptor() ([]byte, []int)

Deprecated: Use BeaconBlockBody.ProtoReflect.Descriptor instead.

func (*BeaconBlockBody) GetAttestations

func (x *BeaconBlockBody) GetAttestations() []*Attestation

func (*BeaconBlockBody) GetAttesterSlashings

func (x *BeaconBlockBody) GetAttesterSlashings() []*AttesterSlashing

func (*BeaconBlockBody) GetDeposits

func (x *BeaconBlockBody) GetDeposits() []*Deposit

func (*BeaconBlockBody) GetEth1Data

func (x *BeaconBlockBody) GetEth1Data() *Eth1Data

func (*BeaconBlockBody) GetGraffiti

func (x *BeaconBlockBody) GetGraffiti() []byte

func (*BeaconBlockBody) GetProposerSlashings

func (x *BeaconBlockBody) GetProposerSlashings() []*ProposerSlashing

func (*BeaconBlockBody) GetRandaoReveal

func (x *BeaconBlockBody) GetRandaoReveal() []byte

func (*BeaconBlockBody) GetVoluntaryExits

func (x *BeaconBlockBody) GetVoluntaryExits() []*SignedVoluntaryExit

func (*BeaconBlockBody) HashTreeRoot added in v1.3.11

func (b *BeaconBlockBody) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the BeaconBlockBody object

func (*BeaconBlockBody) HashTreeRootWith added in v1.3.11

func (b *BeaconBlockBody) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the BeaconBlockBody object with a hasher

func (*BeaconBlockBody) MarshalSSZ added in v1.3.11

func (b *BeaconBlockBody) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the BeaconBlockBody object

func (*BeaconBlockBody) MarshalSSZTo added in v1.3.11

func (b *BeaconBlockBody) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the BeaconBlockBody object to a target array

func (*BeaconBlockBody) ProtoMessage

func (*BeaconBlockBody) ProtoMessage()

func (*BeaconBlockBody) ProtoReflect added in v1.3.11

func (x *BeaconBlockBody) ProtoReflect() protoreflect.Message

func (*BeaconBlockBody) Reset

func (x *BeaconBlockBody) Reset()

func (*BeaconBlockBody) SizeSSZ added in v1.3.11

func (b *BeaconBlockBody) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the BeaconBlockBody object

func (*BeaconBlockBody) String

func (x *BeaconBlockBody) String() string

func (*BeaconBlockBody) UnmarshalSSZ added in v1.3.11

func (b *BeaconBlockBody) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the BeaconBlockBody object

type BeaconBlockContainer added in v0.2.4

type BeaconBlockContainer struct {
	Block     *SignedBeaconBlock `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"`
	Canonical bool               `protobuf:"varint,3,opt,name=canonical,proto3" json:"canonical,omitempty"`
	// contains filtered or unexported fields
}

func (*BeaconBlockContainer) Descriptor deprecated added in v0.2.4

This method has been deprecated.
func (*BeaconBlockContainer) Descriptor() ([]byte, []int)

Deprecated: Use BeaconBlockContainer.ProtoReflect.Descriptor instead.

func (*BeaconBlockContainer) GetBlock added in v0.2.4

func (x *BeaconBlockContainer) GetBlock() *SignedBeaconBlock

func (*BeaconBlockContainer) GetBlockRoot added in v0.2.4

func (x *BeaconBlockContainer) GetBlockRoot() []byte

func (*BeaconBlockContainer) GetCanonical added in v1.3.11

func (x *BeaconBlockContainer) GetCanonical() bool

func (*BeaconBlockContainer) ProtoMessage added in v0.2.4

func (*BeaconBlockContainer) ProtoMessage()

func (*BeaconBlockContainer) ProtoReflect added in v1.3.11

func (x *BeaconBlockContainer) ProtoReflect() protoreflect.Message

func (*BeaconBlockContainer) Reset added in v0.2.4

func (x *BeaconBlockContainer) Reset()

func (*BeaconBlockContainer) String added in v0.2.4

func (x *BeaconBlockContainer) String() string

type BeaconBlockHeader

type BeaconBlockHeader struct {
	Slot          github_com_prysmaticlabs_eth2_types.Slot           `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"`
	ProposerIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `` /* 164-byte string literal not displayed */
	ParentRoot    []byte                                             `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"`
	StateRoot     []byte                                             `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"`
	BodyRoot      []byte                                             `protobuf:"bytes,5,opt,name=body_root,json=bodyRoot,proto3" json:"body_root,omitempty" ssz-size:"32"`
	// contains filtered or unexported fields
}

func (*BeaconBlockHeader) Descriptor deprecated

This method has been deprecated.
func (*BeaconBlockHeader) Descriptor() ([]byte, []int)

Deprecated: Use BeaconBlockHeader.ProtoReflect.Descriptor instead.

func (*BeaconBlockHeader) GetBodyRoot

func (x *BeaconBlockHeader) GetBodyRoot() []byte

func (*BeaconBlockHeader) GetParentRoot

func (x *BeaconBlockHeader) GetParentRoot() []byte

func (*BeaconBlockHeader) GetProposerIndex added in v1.3.11

func (*BeaconBlockHeader) GetSlot

func (*BeaconBlockHeader) GetStateRoot

func (x *BeaconBlockHeader) GetStateRoot() []byte

func (*BeaconBlockHeader) HashTreeRoot added in v1.3.11

func (b *BeaconBlockHeader) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the BeaconBlockHeader object

func (*BeaconBlockHeader) HashTreeRootWith added in v1.3.11

func (b *BeaconBlockHeader) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the BeaconBlockHeader object with a hasher

func (*BeaconBlockHeader) MarshalSSZ added in v1.3.11

func (b *BeaconBlockHeader) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the BeaconBlockHeader object

func (*BeaconBlockHeader) MarshalSSZTo added in v1.3.11

func (b *BeaconBlockHeader) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the BeaconBlockHeader object to a target array

func (*BeaconBlockHeader) ProtoMessage

func (*BeaconBlockHeader) ProtoMessage()

func (*BeaconBlockHeader) ProtoReflect added in v1.3.11

func (x *BeaconBlockHeader) ProtoReflect() protoreflect.Message

func (*BeaconBlockHeader) Reset

func (x *BeaconBlockHeader) Reset()

func (*BeaconBlockHeader) SizeSSZ added in v1.3.11

func (b *BeaconBlockHeader) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the BeaconBlockHeader object

func (*BeaconBlockHeader) String

func (x *BeaconBlockHeader) String() string

func (*BeaconBlockHeader) UnmarshalSSZ added in v1.3.11

func (b *BeaconBlockHeader) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the BeaconBlockHeader object

type BeaconChainClient

type BeaconChainClient interface {
	ListAttestations(ctx context.Context, in *ListAttestationsRequest, opts ...grpc.CallOption) (*ListAttestationsResponse, error)
	ListIndexedAttestations(ctx context.Context, in *ListIndexedAttestationsRequest, opts ...grpc.CallOption) (*ListIndexedAttestationsResponse, error)
	StreamAttestations(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (BeaconChain_StreamAttestationsClient, error)
	StreamIndexedAttestations(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (BeaconChain_StreamIndexedAttestationsClient, error)
	AttestationPool(ctx context.Context, in *AttestationPoolRequest, opts ...grpc.CallOption) (*AttestationPoolResponse, error)
	ListBlocks(ctx context.Context, in *ListBlocksRequest, opts ...grpc.CallOption) (*ListBlocksResponse, error)
	StreamBlocks(ctx context.Context, in *StreamBlocksRequest, opts ...grpc.CallOption) (BeaconChain_StreamBlocksClient, error)
	StreamChainHead(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (BeaconChain_StreamChainHeadClient, error)
	GetChainHead(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ChainHead, error)
	GetWeakSubjectivityCheckpoint(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*WeakSubjectivityCheckpoint, error)
	ListBeaconCommittees(ctx context.Context, in *ListCommitteesRequest, opts ...grpc.CallOption) (*BeaconCommittees, error)
	ListValidatorBalances(ctx context.Context, in *ListValidatorBalancesRequest, opts ...grpc.CallOption) (*ValidatorBalances, error)
	ListValidators(ctx context.Context, in *ListValidatorsRequest, opts ...grpc.CallOption) (*Validators, error)
	GetValidator(ctx context.Context, in *GetValidatorRequest, opts ...grpc.CallOption) (*Validator, error)
	GetValidatorActiveSetChanges(ctx context.Context, in *GetValidatorActiveSetChangesRequest, opts ...grpc.CallOption) (*ActiveSetChanges, error)
	GetValidatorQueue(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ValidatorQueue, error)
	GetValidatorPerformance(ctx context.Context, in *ValidatorPerformanceRequest, opts ...grpc.CallOption) (*ValidatorPerformanceResponse, error)
	ListValidatorAssignments(ctx context.Context, in *ListValidatorAssignmentsRequest, opts ...grpc.CallOption) (*ValidatorAssignments, error)
	GetValidatorParticipation(ctx context.Context, in *GetValidatorParticipationRequest, opts ...grpc.CallOption) (*ValidatorParticipationResponse, error)
	GetBeaconConfig(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*BeaconConfig, error)
	StreamValidatorsInfo(ctx context.Context, opts ...grpc.CallOption) (BeaconChain_StreamValidatorsInfoClient, error)
	SubmitAttesterSlashing(ctx context.Context, in *AttesterSlashing, opts ...grpc.CallOption) (*SubmitSlashingResponse, error)
	SubmitProposerSlashing(ctx context.Context, in *ProposerSlashing, opts ...grpc.CallOption) (*SubmitSlashingResponse, error)
	GetIndividualVotes(ctx context.Context, in *IndividualVotesRequest, opts ...grpc.CallOption) (*IndividualVotesRespond, error)
}

BeaconChainClient is the client API for BeaconChain service.

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

type BeaconChainServer

type BeaconChainServer interface {
	ListAttestations(context.Context, *ListAttestationsRequest) (*ListAttestationsResponse, error)
	ListIndexedAttestations(context.Context, *ListIndexedAttestationsRequest) (*ListIndexedAttestationsResponse, error)
	StreamAttestations(*empty.Empty, BeaconChain_StreamAttestationsServer) error
	StreamIndexedAttestations(*empty.Empty, BeaconChain_StreamIndexedAttestationsServer) error
	AttestationPool(context.Context, *AttestationPoolRequest) (*AttestationPoolResponse, error)
	ListBlocks(context.Context, *ListBlocksRequest) (*ListBlocksResponse, error)
	StreamBlocks(*StreamBlocksRequest, BeaconChain_StreamBlocksServer) error
	StreamChainHead(*empty.Empty, BeaconChain_StreamChainHeadServer) error
	GetChainHead(context.Context, *empty.Empty) (*ChainHead, error)
	GetWeakSubjectivityCheckpoint(context.Context, *empty.Empty) (*WeakSubjectivityCheckpoint, error)
	ListBeaconCommittees(context.Context, *ListCommitteesRequest) (*BeaconCommittees, error)
	ListValidatorBalances(context.Context, *ListValidatorBalancesRequest) (*ValidatorBalances, error)
	ListValidators(context.Context, *ListValidatorsRequest) (*Validators, error)
	GetValidator(context.Context, *GetValidatorRequest) (*Validator, error)
	GetValidatorActiveSetChanges(context.Context, *GetValidatorActiveSetChangesRequest) (*ActiveSetChanges, error)
	GetValidatorQueue(context.Context, *empty.Empty) (*ValidatorQueue, error)
	GetValidatorPerformance(context.Context, *ValidatorPerformanceRequest) (*ValidatorPerformanceResponse, error)
	ListValidatorAssignments(context.Context, *ListValidatorAssignmentsRequest) (*ValidatorAssignments, error)
	GetValidatorParticipation(context.Context, *GetValidatorParticipationRequest) (*ValidatorParticipationResponse, error)
	GetBeaconConfig(context.Context, *empty.Empty) (*BeaconConfig, error)
	StreamValidatorsInfo(BeaconChain_StreamValidatorsInfoServer) error
	SubmitAttesterSlashing(context.Context, *AttesterSlashing) (*SubmitSlashingResponse, error)
	SubmitProposerSlashing(context.Context, *ProposerSlashing) (*SubmitSlashingResponse, error)
	GetIndividualVotes(context.Context, *IndividualVotesRequest) (*IndividualVotesRespond, error)
}

BeaconChainServer is the server API for BeaconChain service.

type BeaconChain_StreamAttestationsClient added in v1.3.11

type BeaconChain_StreamAttestationsClient interface {
	Recv() (*Attestation, error)
	grpc.ClientStream
}

type BeaconChain_StreamAttestationsServer added in v1.3.11

type BeaconChain_StreamAttestationsServer interface {
	Send(*Attestation) error
	grpc.ServerStream
}

type BeaconChain_StreamBlocksClient added in v1.3.11

type BeaconChain_StreamBlocksClient interface {
	Recv() (*SignedBeaconBlock, error)
	grpc.ClientStream
}

type BeaconChain_StreamBlocksServer added in v1.3.11

type BeaconChain_StreamBlocksServer interface {
	Send(*SignedBeaconBlock) error
	grpc.ServerStream
}

type BeaconChain_StreamChainHeadClient added in v1.3.11

type BeaconChain_StreamChainHeadClient interface {
	Recv() (*ChainHead, error)
	grpc.ClientStream
}

type BeaconChain_StreamChainHeadServer added in v1.3.11

type BeaconChain_StreamChainHeadServer interface {
	Send(*ChainHead) error
	grpc.ServerStream
}

type BeaconChain_StreamIndexedAttestationsClient added in v1.3.11

type BeaconChain_StreamIndexedAttestationsClient interface {
	Recv() (*IndexedAttestation, error)
	grpc.ClientStream
}

type BeaconChain_StreamIndexedAttestationsServer added in v1.3.11

type BeaconChain_StreamIndexedAttestationsServer interface {
	Send(*IndexedAttestation) error
	grpc.ServerStream
}

type BeaconChain_StreamValidatorsInfoClient added in v1.3.11

type BeaconChain_StreamValidatorsInfoClient interface {
	Send(*ValidatorChangeSet) error
	Recv() (*ValidatorInfo, error)
	grpc.ClientStream
}

type BeaconChain_StreamValidatorsInfoServer added in v1.3.11

type BeaconChain_StreamValidatorsInfoServer interface {
	Send(*ValidatorInfo) error
	Recv() (*ValidatorChangeSet, error)
	grpc.ServerStream
}

type BeaconCommittees added in v0.2.3

type BeaconCommittees struct {
	Epoch                github_com_prysmaticlabs_eth2_types.Epoch   `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"`
	Committees           map[uint64]*BeaconCommittees_CommitteesList `` /* 162-byte string literal not displayed */
	ActiveValidatorCount uint64                                      `protobuf:"varint,3,opt,name=active_validator_count,json=activeValidatorCount,proto3" json:"active_validator_count,omitempty"`
	// contains filtered or unexported fields
}

func (*BeaconCommittees) Descriptor deprecated added in v0.2.3

This method has been deprecated.
func (*BeaconCommittees) Descriptor() ([]byte, []int)

Deprecated: Use BeaconCommittees.ProtoReflect.Descriptor instead.

func (*BeaconCommittees) GetActiveValidatorCount added in v0.2.3

func (x *BeaconCommittees) GetActiveValidatorCount() uint64

func (*BeaconCommittees) GetCommittees added in v0.2.3

func (*BeaconCommittees) GetEpoch added in v0.2.3

func (*BeaconCommittees) ProtoMessage added in v0.2.3

func (*BeaconCommittees) ProtoMessage()

func (*BeaconCommittees) ProtoReflect added in v1.3.11

func (x *BeaconCommittees) ProtoReflect() protoreflect.Message

func (*BeaconCommittees) Reset added in v0.2.3

func (x *BeaconCommittees) Reset()

func (*BeaconCommittees) String added in v0.2.3

func (x *BeaconCommittees) String() string

type BeaconCommittees_CommitteeItem added in v0.2.3

type BeaconCommittees_CommitteeItem struct {
	ValidatorIndices []github_com_prysmaticlabs_eth2_types.ValidatorIndex `` /* 180-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*BeaconCommittees_CommitteeItem) Descriptor deprecated added in v0.2.3

This method has been deprecated.
func (*BeaconCommittees_CommitteeItem) Descriptor() ([]byte, []int)

Deprecated: Use BeaconCommittees_CommitteeItem.ProtoReflect.Descriptor instead.

func (*BeaconCommittees_CommitteeItem) GetValidatorIndices added in v1.3.11

func (*BeaconCommittees_CommitteeItem) ProtoMessage added in v0.2.3

func (*BeaconCommittees_CommitteeItem) ProtoMessage()

func (*BeaconCommittees_CommitteeItem) ProtoReflect added in v1.3.11

func (*BeaconCommittees_CommitteeItem) Reset added in v0.2.3

func (x *BeaconCommittees_CommitteeItem) Reset()

func (*BeaconCommittees_CommitteeItem) String added in v0.2.3

type BeaconCommittees_CommitteesList added in v1.3.11

type BeaconCommittees_CommitteesList struct {
	Committees []*BeaconCommittees_CommitteeItem `protobuf:"bytes,1,rep,name=committees,proto3" json:"committees,omitempty"`
	// contains filtered or unexported fields
}

func (*BeaconCommittees_CommitteesList) Descriptor deprecated added in v1.3.11

This method has been deprecated.
func (*BeaconCommittees_CommitteesList) Descriptor() ([]byte, []int)

Deprecated: Use BeaconCommittees_CommitteesList.ProtoReflect.Descriptor instead.

func (*BeaconCommittees_CommitteesList) GetCommittees added in v1.3.11

func (*BeaconCommittees_CommitteesList) ProtoMessage added in v1.3.11

func (*BeaconCommittees_CommitteesList) ProtoMessage()

func (*BeaconCommittees_CommitteesList) ProtoReflect added in v1.3.11

func (*BeaconCommittees_CommitteesList) Reset added in v1.3.11

func (*BeaconCommittees_CommitteesList) String added in v1.3.11

type BeaconConfig added in v1.3.11

type BeaconConfig struct {
	Config map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*BeaconConfig) Descriptor deprecated added in v1.3.11

This method has been deprecated.
func (*BeaconConfig) Descriptor() ([]byte, []int)

Deprecated: Use BeaconConfig.ProtoReflect.Descriptor instead.

func (*BeaconConfig) GetConfig added in v1.3.11

func (x *BeaconConfig) GetConfig() map[string]string

func (*BeaconConfig) ProtoMessage added in v1.3.11

func (*BeaconConfig) ProtoMessage()

func (*BeaconConfig) ProtoReflect added in v1.3.11

func (x *BeaconConfig) ProtoReflect() protoreflect.Message

func (*BeaconConfig) Reset added in v1.3.11

func (x *BeaconConfig) Reset()

func (*BeaconConfig) String added in v1.3.11

func (x *BeaconConfig) String() string

type BeaconNodeValidatorClient

type BeaconNodeValidatorClient interface {
	GetDuties(ctx context.Context, in *DutiesRequest, opts ...grpc.CallOption) (*DutiesResponse, error)
	StreamDuties(ctx context.Context, in *DutiesRequest, opts ...grpc.CallOption) (BeaconNodeValidator_StreamDutiesClient, error)
	DomainData(ctx context.Context, in *DomainRequest, opts ...grpc.CallOption) (*DomainResponse, error)
	// Deprecated: Do not use.
	WaitForChainStart(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (BeaconNodeValidator_WaitForChainStartClient, error)
	WaitForActivation(ctx context.Context, in *ValidatorActivationRequest, opts ...grpc.CallOption) (BeaconNodeValidator_WaitForActivationClient, error)
	ValidatorIndex(ctx context.Context, in *ValidatorIndexRequest, opts ...grpc.CallOption) (*ValidatorIndexResponse, error)
	ValidatorStatus(ctx context.Context, in *ValidatorStatusRequest, opts ...grpc.CallOption) (*ValidatorStatusResponse, error)
	MultipleValidatorStatus(ctx context.Context, in *MultipleValidatorStatusRequest, opts ...grpc.CallOption) (*MultipleValidatorStatusResponse, error)
	GetBlock(ctx context.Context, in *BlockRequest, opts ...grpc.CallOption) (*BeaconBlock, error)
	ProposeBlock(ctx context.Context, in *SignedBeaconBlock, opts ...grpc.CallOption) (*ProposeResponse, error)
	GetAttestationData(ctx context.Context, in *AttestationDataRequest, opts ...grpc.CallOption) (*AttestationData, error)
	ProposeAttestation(ctx context.Context, in *Attestation, opts ...grpc.CallOption) (*AttestResponse, error)
	SubmitAggregateSelectionProof(ctx context.Context, in *AggregateSelectionRequest, opts ...grpc.CallOption) (*AggregateSelectionResponse, error)
	SubmitSignedAggregateSelectionProof(ctx context.Context, in *SignedAggregateSubmitRequest, opts ...grpc.CallOption) (*SignedAggregateSubmitResponse, error)
	ProposeExit(ctx context.Context, in *SignedVoluntaryExit, opts ...grpc.CallOption) (*ProposeExitResponse, error)
	SubscribeCommitteeSubnets(ctx context.Context, in *CommitteeSubnetsSubscribeRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	CheckDoppelGanger(ctx context.Context, in *DoppelGangerRequest, opts ...grpc.CallOption) (*DoppelGangerResponse, error)
}

BeaconNodeValidatorClient is the client API for BeaconNodeValidator service.

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

type BeaconNodeValidatorServer

type BeaconNodeValidatorServer interface {
	GetDuties(context.Context, *DutiesRequest) (*DutiesResponse, error)
	StreamDuties(*DutiesRequest, BeaconNodeValidator_StreamDutiesServer) error
	DomainData(context.Context, *DomainRequest) (*DomainResponse, error)
	// Deprecated: Do not use.
	WaitForChainStart(*empty.Empty, BeaconNodeValidator_WaitForChainStartServer) error
	WaitForActivation(*ValidatorActivationRequest, BeaconNodeValidator_WaitForActivationServer) error
	ValidatorIndex(context.Context, *ValidatorIndexRequest) (*ValidatorIndexResponse, error)
	ValidatorStatus(context.Context, *ValidatorStatusRequest) (*ValidatorStatusResponse, error)
	MultipleValidatorStatus(context.Context, *MultipleValidatorStatusRequest) (*MultipleValidatorStatusResponse, error)
	GetBlock(context.Context, *BlockRequest) (*BeaconBlock, error)
	ProposeBlock(context.Context, *SignedBeaconBlock) (*ProposeResponse, error)
	GetAttestationData(context.Context, *AttestationDataRequest) (*AttestationData, error)
	ProposeAttestation(context.Context, *Attestation) (*AttestResponse, error)
	SubmitAggregateSelectionProof(context.Context, *AggregateSelectionRequest) (*AggregateSelectionResponse, error)
	SubmitSignedAggregateSelectionProof(context.Context, *SignedAggregateSubmitRequest) (*SignedAggregateSubmitResponse, error)
	ProposeExit(context.Context, *SignedVoluntaryExit) (*ProposeExitResponse, error)
	SubscribeCommitteeSubnets(context.Context, *CommitteeSubnetsSubscribeRequest) (*empty.Empty, error)
	CheckDoppelGanger(context.Context, *DoppelGangerRequest) (*DoppelGangerResponse, error)
}

BeaconNodeValidatorServer is the server API for BeaconNodeValidator service.

type BeaconNodeValidator_StreamDutiesClient added in v1.3.11

type BeaconNodeValidator_StreamDutiesClient interface {
	Recv() (*DutiesResponse, error)
	grpc.ClientStream
}

type BeaconNodeValidator_StreamDutiesServer added in v1.3.11

type BeaconNodeValidator_StreamDutiesServer interface {
	Send(*DutiesResponse) error
	grpc.ServerStream
}

type BeaconNodeValidator_WaitForActivationClient added in v1.3.11

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

type BeaconNodeValidator_WaitForActivationServer added in v1.3.11

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

type BeaconNodeValidator_WaitForChainStartClient added in v1.3.11

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

type BeaconNodeValidator_WaitForChainStartServer added in v1.3.11

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

type BlockRequest

type BlockRequest struct {
	Slot         github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"`
	RandaoReveal []byte                                   `protobuf:"bytes,2,opt,name=randao_reveal,json=randaoReveal,proto3" json:"randao_reveal,omitempty" ssz-size:"48"`
	Graffiti     []byte                                   `protobuf:"bytes,3,opt,name=graffiti,proto3" json:"graffiti,omitempty" ssz-size:"32"`
	// contains filtered or unexported fields
}

func (*BlockRequest) Descriptor deprecated

This method has been deprecated.
func (*BlockRequest) Descriptor() ([]byte, []int)

Deprecated: Use BlockRequest.ProtoReflect.Descriptor instead.

func (*BlockRequest) GetGraffiti added in v1.3.11

func (x *BlockRequest) GetGraffiti() []byte

func (*BlockRequest) GetRandaoReveal

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

func (*BlockRequest) GetSlot

func (*BlockRequest) ProtoMessage

func (*BlockRequest) ProtoMessage()

func (*BlockRequest) ProtoReflect added in v1.3.11

func (x *BlockRequest) ProtoReflect() protoreflect.Message

func (*BlockRequest) Reset

func (x *BlockRequest) Reset()

func (*BlockRequest) String

func (x *BlockRequest) String() string

type ChainHead

type ChainHead struct {
	HeadSlot                   github_com_prysmaticlabs_eth2_types.Slot  `` /* 139-byte string literal not displayed */
	HeadEpoch                  github_com_prysmaticlabs_eth2_types.Epoch `` /* 143-byte string literal not displayed */
	HeadBlockRoot              []byte                                    `protobuf:"bytes,3,opt,name=head_block_root,json=headBlockRoot,proto3" json:"head_block_root,omitempty" ssz-size:"32"`
	FinalizedSlot              github_com_prysmaticlabs_eth2_types.Slot  `` /* 154-byte string literal not displayed */
	FinalizedEpoch             github_com_prysmaticlabs_eth2_types.Epoch `` /* 158-byte string literal not displayed */
	FinalizedBlockRoot         []byte                                    `` /* 131-byte string literal not displayed */
	JustifiedSlot              github_com_prysmaticlabs_eth2_types.Slot  `` /* 154-byte string literal not displayed */
	JustifiedEpoch             github_com_prysmaticlabs_eth2_types.Epoch `` /* 158-byte string literal not displayed */
	JustifiedBlockRoot         []byte                                    `` /* 131-byte string literal not displayed */
	PreviousJustifiedSlot      github_com_prysmaticlabs_eth2_types.Slot  `` /* 181-byte string literal not displayed */
	PreviousJustifiedEpoch     github_com_prysmaticlabs_eth2_types.Epoch `` /* 185-byte string literal not displayed */
	PreviousJustifiedBlockRoot []byte                                    `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ChainHead) Descriptor deprecated

This method has been deprecated.
func (*ChainHead) Descriptor() ([]byte, []int)

Deprecated: Use ChainHead.ProtoReflect.Descriptor instead.

func (*ChainHead) GetFinalizedBlockRoot

func (x *ChainHead) GetFinalizedBlockRoot() []byte

func (*ChainHead) GetFinalizedEpoch added in v0.2.5

func (x *ChainHead) GetFinalizedEpoch() github_com_prysmaticlabs_eth2_types.Epoch

func (*ChainHead) GetFinalizedSlot

func (x *ChainHead) GetFinalizedSlot() github_com_prysmaticlabs_eth2_types.Slot

func (*ChainHead) GetHeadBlockRoot added in v0.2.5

func (x *ChainHead) GetHeadBlockRoot() []byte

func (*ChainHead) GetHeadEpoch added in v1.3.11

func (*ChainHead) GetHeadSlot added in v1.3.11

func (*ChainHead) GetJustifiedBlockRoot

func (x *ChainHead) GetJustifiedBlockRoot() []byte

func (*ChainHead) GetJustifiedEpoch added in v0.2.5

func (x *ChainHead) GetJustifiedEpoch() github_com_prysmaticlabs_eth2_types.Epoch

func (*ChainHead) GetJustifiedSlot

func (x *ChainHead) GetJustifiedSlot() github_com_prysmaticlabs_eth2_types.Slot

func (*ChainHead) GetPreviousJustifiedBlockRoot

func (x *ChainHead) GetPreviousJustifiedBlockRoot() []byte

func (*ChainHead) GetPreviousJustifiedEpoch added in v0.2.5

func (x *ChainHead) GetPreviousJustifiedEpoch() github_com_prysmaticlabs_eth2_types.Epoch

func (*ChainHead) GetPreviousJustifiedSlot

func (x *ChainHead) GetPreviousJustifiedSlot() github_com_prysmaticlabs_eth2_types.Slot

func (*ChainHead) ProtoMessage

func (*ChainHead) ProtoMessage()

func (*ChainHead) ProtoReflect added in v1.3.11

func (x *ChainHead) ProtoReflect() protoreflect.Message

func (*ChainHead) Reset

func (x *ChainHead) Reset()

func (*ChainHead) String

func (x *ChainHead) String() string

type ChainStartResponse added in v1.3.11

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"`
	GenesisValidatorsRoot []byte `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ChainStartResponse) Descriptor deprecated added in v1.3.11

This method has been deprecated.
func (*ChainStartResponse) Descriptor() ([]byte, []int)

Deprecated: Use ChainStartResponse.ProtoReflect.Descriptor instead.

func (*ChainStartResponse) GetGenesisTime added in v1.3.11

func (x *ChainStartResponse) GetGenesisTime() uint64

func (*ChainStartResponse) GetGenesisValidatorsRoot added in v1.3.11

func (x *ChainStartResponse) GetGenesisValidatorsRoot() []byte

func (*ChainStartResponse) GetStarted added in v1.3.11

func (x *ChainStartResponse) GetStarted() bool

func (*ChainStartResponse) ProtoMessage added in v1.3.11

func (*ChainStartResponse) ProtoMessage()

func (*ChainStartResponse) ProtoReflect added in v1.3.11

func (x *ChainStartResponse) ProtoReflect() protoreflect.Message

func (*ChainStartResponse) Reset added in v1.3.11

func (x *ChainStartResponse) Reset()

func (*ChainStartResponse) String added in v1.3.11

func (x *ChainStartResponse) String() string

type Checkpoint

type Checkpoint struct {
	Epoch github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"`
	Root  []byte                                    `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty" ssz-size:"32"`
	// contains filtered or unexported fields
}

func (*Checkpoint) Descriptor deprecated

This method has been deprecated.
func (*Checkpoint) Descriptor() ([]byte, []int)

Deprecated: Use Checkpoint.ProtoReflect.Descriptor instead.

func (*Checkpoint) GetEpoch

func (*Checkpoint) GetRoot

func (x *Checkpoint) GetRoot() []byte

func (*Checkpoint) HashTreeRoot added in v1.3.11

func (c *Checkpoint) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the Checkpoint object

func (*Checkpoint) HashTreeRootWith added in v1.3.11

func (c *Checkpoint) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the Checkpoint object with a hasher

func (*Checkpoint) MarshalSSZ added in v1.3.11

func (c *Checkpoint) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the Checkpoint object

func (*Checkpoint) MarshalSSZTo added in v1.3.11

func (c *Checkpoint) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the Checkpoint object to a target array

func (*Checkpoint) ProtoMessage

func (*Checkpoint) ProtoMessage()

func (*Checkpoint) ProtoReflect added in v1.3.11

func (x *Checkpoint) ProtoReflect() protoreflect.Message

func (*Checkpoint) Reset

func (x *Checkpoint) Reset()

func (*Checkpoint) SizeSSZ added in v1.3.11

func (c *Checkpoint) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the Checkpoint object

func (*Checkpoint) String

func (x *Checkpoint) String() string

func (*Checkpoint) UnmarshalSSZ added in v1.3.11

func (c *Checkpoint) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the Checkpoint object

type CommitteeSubnetsSubscribeRequest added in v1.3.11

type CommitteeSubnetsSubscribeRequest struct {
	Slots        []github_com_prysmaticlabs_eth2_types.Slot           `protobuf:"varint,1,rep,packed,name=slots,proto3" json:"slots,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"`
	CommitteeIds []github_com_prysmaticlabs_eth2_types.CommitteeIndex `` /* 168-byte string literal not displayed */
	IsAggregator []bool                                               `protobuf:"varint,3,rep,packed,name=is_aggregator,json=isAggregator,proto3" json:"is_aggregator,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitteeSubnetsSubscribeRequest) Descriptor deprecated added in v1.3.11

This method has been deprecated.
func (*CommitteeSubnetsSubscribeRequest) Descriptor() ([]byte, []int)

Deprecated: Use CommitteeSubnetsSubscribeRequest.ProtoReflect.Descriptor instead.

func (*CommitteeSubnetsSubscribeRequest) GetCommitteeIds added in v1.3.11

func (*CommitteeSubnetsSubscribeRequest) GetIsAggregator added in v1.3.11

func (x *CommitteeSubnetsSubscribeRequest) GetIsAggregator() []bool

func (*CommitteeSubnetsSubscribeRequest) GetSlots added in v1.3.11

func (*CommitteeSubnetsSubscribeRequest) ProtoMessage added in v1.3.11

func (*CommitteeSubnetsSubscribeRequest) ProtoMessage()

func (*CommitteeSubnetsSubscribeRequest) ProtoReflect added in v1.3.11

func (*CommitteeSubnetsSubscribeRequest) Reset added in v1.3.11

func (*CommitteeSubnetsSubscribeRequest) String added in v1.3.11

type ConnectionState added in v1.3.11

type ConnectionState int32
const (
	ConnectionState_DISCONNECTED  ConnectionState = 0
	ConnectionState_DISCONNECTING ConnectionState = 1
	ConnectionState_CONNECTED     ConnectionState = 2
	ConnectionState_CONNECTING    ConnectionState = 3
)

func (ConnectionState) Descriptor added in v1.3.11

func (ConnectionState) Enum added in v1.3.11

func (x ConnectionState) Enum() *ConnectionState

func (ConnectionState) EnumDescriptor deprecated added in v1.3.11

This method has been deprecated.
func (ConnectionState) EnumDescriptor() ([]byte, []int)

Deprecated: Use ConnectionState.Descriptor instead.

func (ConnectionState) Number added in v1.3.11

func (ConnectionState) String added in v1.3.11

func (x ConnectionState) String() string

func (ConnectionState) Type added in v1.3.11

type Deposit

type Deposit struct {
	Proof [][]byte      `protobuf:"bytes,1,rep,name=proof,proto3" json:"proof,omitempty" ssz-size:"33,32"`
	Data  *Deposit_Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Deposit) Descriptor deprecated

This method has been deprecated.
func (*Deposit) Descriptor() ([]byte, []int)

Deprecated: Use Deposit.ProtoReflect.Descriptor instead.

func (*Deposit) GetData

func (x *Deposit) GetData() *Deposit_Data

func (*Deposit) GetProof

func (x *Deposit) GetProof() [][]byte

func (*Deposit) HashTreeRoot added in v1.3.11

func (d *Deposit) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the Deposit object

func (*Deposit) HashTreeRootWith added in v1.3.11

func (d *Deposit) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the Deposit object with a hasher

func (*Deposit) MarshalSSZ added in v1.3.11

func (d *Deposit) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the Deposit object

func (*Deposit) MarshalSSZTo added in v1.3.11

func (d *Deposit) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the Deposit object to a target array

func (*Deposit) ProtoMessage

func (*Deposit) ProtoMessage()

func (*Deposit) ProtoReflect added in v1.3.11

func (x *Deposit) ProtoReflect() protoreflect.Message

func (*Deposit) Reset

func (x *Deposit) Reset()

func (*Deposit) SizeSSZ added in v1.3.11

func (d *Deposit) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the Deposit object

func (*Deposit) String

func (x *Deposit) String() string

func (*Deposit) UnmarshalSSZ added in v1.3.11

func (d *Deposit) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the Deposit object

type Deposit_Data

type Deposit_Data struct {
	PublicKey             []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" spec-name:"pubkey" ssz-size:"48"`
	WithdrawalCredentials []byte `` /* 138-byte string literal not displayed */
	Amount                uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	Signature             []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"`
	// contains filtered or unexported fields
}

func (*Deposit_Data) Descriptor deprecated

This method has been deprecated.
func (*Deposit_Data) Descriptor() ([]byte, []int)

Deprecated: Use Deposit_Data.ProtoReflect.Descriptor instead.

func (*Deposit_Data) GetAmount

func (x *Deposit_Data) GetAmount() uint64

func (*Deposit_Data) GetPublicKey

func (x *Deposit_Data) GetPublicKey() []byte

func (*Deposit_Data) GetSignature

func (x *Deposit_Data) GetSignature() []byte

func (*Deposit_Data) GetWithdrawalCredentials

func (x *Deposit_Data) GetWithdrawalCredentials() []byte

func (*Deposit_Data) HashTreeRoot added in v1.3.11

func (d *Deposit_Data) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the Deposit_Data object

func (*Deposit_Data) HashTreeRootWith added in v1.3.11

func (d *Deposit_Data) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the Deposit_Data object with a hasher

func (*Deposit_Data) MarshalSSZ added in v1.3.11

func (d *Deposit_Data) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the Deposit_Data object

func (*Deposit_Data) MarshalSSZTo added in v1.3.11

func (d *Deposit_Data) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the Deposit_Data object to a target array

func (*Deposit_Data) ProtoMessage

func (*Deposit_Data) ProtoMessage()

func (*Deposit_Data) ProtoReflect added in v1.3.11

func (x *Deposit_Data) ProtoReflect() protoreflect.Message

func (*Deposit_Data) Reset

func (x *Deposit_Data) Reset()

func (*Deposit_Data) SizeSSZ added in v1.3.11

func (d *Deposit_Data) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the Deposit_Data object

func (*Deposit_Data) String

func (x *Deposit_Data) String() string

func (*Deposit_Data) UnmarshalSSZ added in v1.3.11

func (d *Deposit_Data) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the Deposit_Data object

type DomainRequest added in v1.3.11

type DomainRequest struct {
	Epoch  github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"`
	Domain []byte                                    `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
	// contains filtered or unexported fields
}

func (*DomainRequest) Descriptor deprecated added in v1.3.11

This method has been deprecated.
func (*DomainRequest) Descriptor() ([]byte, []int)

Deprecated: Use DomainRequest.ProtoReflect.Descriptor instead.

func (*DomainRequest) GetDomain added in v1.3.11

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

func (*DomainRequest) GetEpoch added in v1.3.11

func (*DomainRequest) ProtoMessage added in v1.3.11

func (*DomainRequest) ProtoMessage()

func (*DomainRequest) ProtoReflect added in v1.3.11

func (x *DomainRequest) ProtoReflect() protoreflect.Message

func (*DomainRequest) Reset added in v1.3.11

func (x *DomainRequest) Reset()

func (*DomainRequest) String added in v1.3.11

func (x *DomainRequest) String() string

type DomainResponse added in v1.3.11

type DomainResponse struct {
	SignatureDomain []byte `protobuf:"bytes,1,opt,name=signature_domain,json=signatureDomain,proto3" json:"signature_domain,omitempty"`
	// contains filtered or unexported fields
}

func (*DomainResponse) Descriptor deprecated added in v1.3.11

This method has been deprecated.
func (*DomainResponse) Descriptor() ([]byte, []int)

Deprecated: Use DomainResponse.ProtoReflect.Descriptor instead.

func (*DomainResponse) GetSignatureDomain added in v1.3.11

func (x *DomainResponse) GetSignatureDomain() []byte

func (*DomainResponse) ProtoMessage added in v1.3.11

func (*DomainResponse) ProtoMessage()

func (*DomainResponse) ProtoReflect added in v1.3.11

func (x *DomainResponse) ProtoReflect() protoreflect.Message

func (*DomainResponse) Reset added in v1.3.11

func (x *DomainResponse) Reset()

func (*DomainResponse) String added in v1.3.11

func (x *DomainResponse) String() string

type DoppelGangerRequest added in v1.4.1

type DoppelGangerRequest struct {
	ValidatorRequests []*DoppelGangerRequest_ValidatorRequest `protobuf:"bytes,1,rep,name=validator_requests,json=validatorRequests,proto3" json:"validator_requests,omitempty"`
	// contains filtered or unexported fields
}

func (*DoppelGangerRequest) Descriptor deprecated added in v1.4.1

This method has been deprecated.
func (*DoppelGangerRequest) Descriptor() ([]byte, []int)

Deprecated: Use DoppelGangerRequest.ProtoReflect.Descriptor instead.

func (*DoppelGangerRequest) GetValidatorRequests added in v1.4.1

func (x *DoppelGangerRequest) GetValidatorRequests() []*DoppelGangerRequest_ValidatorRequest

func (*DoppelGangerRequest) ProtoMessage added in v1.4.1

func (*DoppelGangerRequest) ProtoMessage()

func (*DoppelGangerRequest) ProtoReflect added in v1.4.1

func (x *DoppelGangerRequest) ProtoReflect() protoreflect.Message

func (*DoppelGangerRequest) Reset added in v1.4.1

func (x *DoppelGangerRequest) Reset()

func (*DoppelGangerRequest) String added in v1.4.1

func (x *DoppelGangerRequest) String() string

type DoppelGangerRequest_ValidatorRequest added in v1.4.1

type DoppelGangerRequest_ValidatorRequest struct {
	PublicKey  []byte                                    `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" spec-name:"pubkey" ssz-size:"48"`
	Epoch      github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"`
	SignedRoot []byte                                    `protobuf:"bytes,2,opt,name=signed_root,json=signedRoot,proto3" json:"signed_root,omitempty" ssz-size:"32"`
	// contains filtered or unexported fields
}

func (*DoppelGangerRequest_ValidatorRequest) Descriptor deprecated added in v1.4.1

This method has been deprecated.
func (*DoppelGangerRequest_ValidatorRequest) Descriptor() ([]byte, []int)

Deprecated: Use DoppelGangerRequest_ValidatorRequest.ProtoReflect.Descriptor instead.

func (*DoppelGangerRequest_ValidatorRequest) GetEpoch added in v1.4.1

func (*DoppelGangerRequest_ValidatorRequest) GetPublicKey added in v1.4.1

func (x *DoppelGangerRequest_ValidatorRequest) GetPublicKey() []byte

func (*DoppelGangerRequest_ValidatorRequest) GetSignedRoot added in v1.4.1

func (x *DoppelGangerRequest_ValidatorRequest) GetSignedRoot() []byte

func (*DoppelGangerRequest_ValidatorRequest) ProtoMessage added in v1.4.1

func (*DoppelGangerRequest_ValidatorRequest) ProtoMessage()

func (*DoppelGangerRequest_ValidatorRequest) ProtoReflect added in v1.4.1

func (*DoppelGangerRequest_ValidatorRequest) Reset added in v1.4.1

func (*DoppelGangerRequest_ValidatorRequest) String added in v1.4.1

type DoppelGangerResponse added in v1.4.1

type DoppelGangerResponse struct {
	Responses []*DoppelGangerResponse_ValidatorResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
	// contains filtered or unexported fields
}

func (*DoppelGangerResponse) Descriptor deprecated added in v1.4.1

This method has been deprecated.
func (*DoppelGangerResponse) Descriptor() ([]byte, []int)

Deprecated: Use DoppelGangerResponse.ProtoReflect.Descriptor instead.

func (*DoppelGangerResponse) GetResponses added in v1.4.1

func (*DoppelGangerResponse) ProtoMessage added in v1.4.1

func (*DoppelGangerResponse) ProtoMessage()

func (*DoppelGangerResponse) ProtoReflect added in v1.4.1

func (x *DoppelGangerResponse) ProtoReflect() protoreflect.Message

func (*DoppelGangerResponse) Reset added in v1.4.1

func (x *DoppelGangerResponse) Reset()

func (*DoppelGangerResponse) String added in v1.4.1

func (x *DoppelGangerResponse) String() string

type DoppelGangerResponse_ValidatorResponse added in v1.4.1

type DoppelGangerResponse_ValidatorResponse struct {
	PublicKey       []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" spec-name:"pubkey" ssz-size:"48"`
	DuplicateExists bool   `protobuf:"varint,2,opt,name=duplicate_exists,json=duplicateExists,proto3" json:"duplicate_exists,omitempty"`
	// contains filtered or unexported fields
}

func (*DoppelGangerResponse_ValidatorResponse) Descriptor deprecated added in v1.4.1

This method has been deprecated.
func (*DoppelGangerResponse_ValidatorResponse) Descriptor() ([]byte, []int)

Deprecated: Use DoppelGangerResponse_ValidatorResponse.ProtoReflect.Descriptor instead.

func (*DoppelGangerResponse_ValidatorResponse) GetDuplicateExists added in v1.4.1

func (x *DoppelGangerResponse_ValidatorResponse) GetDuplicateExists() bool

func (*DoppelGangerResponse_ValidatorResponse) GetPublicKey added in v1.4.1

func (x *DoppelGangerResponse_ValidatorResponse) GetPublicKey() []byte

func (*DoppelGangerResponse_ValidatorResponse) ProtoMessage added in v1.4.1

func (*DoppelGangerResponse_ValidatorResponse) ProtoReflect added in v1.4.1

func (*DoppelGangerResponse_ValidatorResponse) Reset added in v1.4.1

func (*DoppelGangerResponse_ValidatorResponse) String added in v1.4.1

type DutiesRequest

type DutiesRequest struct {
	Epoch      github_com_prysmaticlabs_eth2_types.Epoch `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Epoch"`
	PublicKeys [][]byte                                  `protobuf:"bytes,2,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty" ssz-size:"?,48"`
	// contains filtered or unexported fields
}

func (*DutiesRequest) Descriptor deprecated

This method has been deprecated.
func (*DutiesRequest) Descriptor() ([]byte, []