eth

package
Version: v0.0.0-...-baa09d1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: Apache-2.0, Apache-2.0 Imports: 24 Imported by: 320

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_eth_v1alpha1_attestation_proto protoreflect.FileDescriptor
View Source
var File_eth_v1alpha1_beacon_block_altair_proto protoreflect.FileDescriptor
View Source
var File_eth_v1alpha1_beacon_block_proto protoreflect.FileDescriptor
View Source
var File_eth_v1alpha1_beacon_chain_proto protoreflect.FileDescriptor
View Source
var File_eth_v1alpha1_node_proto protoreflect.FileDescriptor
View Source
var File_eth_v1alpha1_swagger_generated_proto protoreflect.FileDescriptor
View Source
var File_eth_v1alpha1_sync_committee_proto protoreflect.FileDescriptor
View Source
var File_eth_v1alpha1_validator_proto protoreflect.FileDescriptor

Functions

func RegisterBeaconChainHandler

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

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

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

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

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

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

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

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

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

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

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

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

func (*ActiveSetChanges) GetActivatedPublicKeys

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

func (*ActiveSetChanges) GetEjectedIndices

func (*ActiveSetChanges) GetEjectedPublicKeys

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

func (*ActiveSetChanges) GetEpoch

func (*ActiveSetChanges) GetExitedIndices

func (*ActiveSetChanges) GetExitedPublicKeys

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

func (*ActiveSetChanges) GetSlashedIndices

func (*ActiveSetChanges) GetSlashedPublicKeys

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

func (*ActiveSetChanges) ProtoMessage

func (*ActiveSetChanges) ProtoMessage()

func (*ActiveSetChanges) ProtoReflect

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

func (*ActiveSetChanges) Reset

func (x *ActiveSetChanges) Reset()

func (*ActiveSetChanges) String

func (x *ActiveSetChanges) String() string

type AggregateAttestationAndProof

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

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

Deprecated: Use AggregateAttestationAndProof.ProtoReflect.Descriptor instead.

func (*AggregateAttestationAndProof) GetAggregate

func (x *AggregateAttestationAndProof) GetAggregate() *Attestation

func (*AggregateAttestationAndProof) GetAggregatorIndex

func (*AggregateAttestationAndProof) GetSelectionProof

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

func (*AggregateAttestationAndProof) HashTreeRoot

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

HashTreeRoot ssz hashes the AggregateAttestationAndProof object

func (*AggregateAttestationAndProof) HashTreeRootWith

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

HashTreeRootWith ssz hashes the AggregateAttestationAndProof object with a hasher

func (*AggregateAttestationAndProof) MarshalSSZ

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

MarshalSSZ ssz marshals the AggregateAttestationAndProof object

func (*AggregateAttestationAndProof) MarshalSSZTo

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

MarshalSSZTo ssz marshals the AggregateAttestationAndProof object to a target array

func (*AggregateAttestationAndProof) ProtoMessage

func (*AggregateAttestationAndProof) ProtoMessage()

func (*AggregateAttestationAndProof) ProtoReflect

func (*AggregateAttestationAndProof) Reset

func (x *AggregateAttestationAndProof) Reset()

func (*AggregateAttestationAndProof) SizeSSZ

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

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

func (*AggregateAttestationAndProof) String

func (*AggregateAttestationAndProof) UnmarshalSSZ

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

UnmarshalSSZ ssz unmarshals the AggregateAttestationAndProof object

type AggregateSelectionRequest

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

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

Deprecated: Use AggregateSelectionRequest.ProtoReflect.Descriptor instead.

func (*AggregateSelectionRequest) GetCommitteeIndex

func (*AggregateSelectionRequest) GetPublicKey

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

func (*AggregateSelectionRequest) GetSlot

func (*AggregateSelectionRequest) GetSlotSignature

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

func (*AggregateSelectionRequest) ProtoMessage

func (*AggregateSelectionRequest) ProtoMessage()

func (*AggregateSelectionRequest) ProtoReflect

func (*AggregateSelectionRequest) Reset

func (x *AggregateSelectionRequest) Reset()

func (*AggregateSelectionRequest) String

func (x *AggregateSelectionRequest) String() string

type AggregateSelectionResponse

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

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

Deprecated: Use AggregateSelectionResponse.ProtoReflect.Descriptor instead.

func (*AggregateSelectionResponse) GetAggregateAndProof

func (x *AggregateSelectionResponse) GetAggregateAndProof() *AggregateAttestationAndProof

func (*AggregateSelectionResponse) ProtoMessage

func (*AggregateSelectionResponse) ProtoMessage()

func (*AggregateSelectionResponse) ProtoReflect

func (*AggregateSelectionResponse) Reset

func (x *AggregateSelectionResponse) Reset()

func (*AggregateSelectionResponse) String

func (x *AggregateSelectionResponse) String() string

type AttestResponse

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

func (*AttestResponse) Descriptor deprecated

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

Deprecated: Use AttestResponse.ProtoReflect.Descriptor instead.

func (*AttestResponse) GetAttestationDataRoot

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

func (*AttestResponse) ProtoMessage

func (*AttestResponse) ProtoMessage()

func (*AttestResponse) ProtoReflect

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

func (*AttestResponse) Reset

func (x *AttestResponse) Reset()

func (*AttestResponse) String

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

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

HashTreeRoot ssz hashes the Attestation object

func (*Attestation) HashTreeRootWith

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

HashTreeRootWith ssz hashes the Attestation object with a hasher

func (*Attestation) MarshalSSZ

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

MarshalSSZ ssz marshals the Attestation object

func (*Attestation) MarshalSSZTo

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

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

func (*Attestation) Reset

func (x *Attestation) Reset()

func (*Attestation) SizeSSZ

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

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

func (*AttestationData) GetSlot

func (*AttestationData) GetSource

func (x *AttestationData) GetSource() *Checkpoint

func (*AttestationData) GetTarget

func (x *AttestationData) GetTarget() *Checkpoint

func (*AttestationData) HashTreeRoot

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

HashTreeRoot ssz hashes the AttestationData object

func (*AttestationData) HashTreeRootWith

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

HashTreeRootWith ssz hashes the AttestationData object with a hasher

func (*AttestationData) MarshalSSZ

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

MarshalSSZ ssz marshals the AttestationData object

func (*AttestationData) MarshalSSZTo

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

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

func (*AttestationData) Reset

func (x *AttestationData) Reset()

func (*AttestationData) SizeSSZ

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

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

func (*AttestationDataRequest) GetSlot

func (*AttestationDataRequest) ProtoMessage

func (*AttestationDataRequest) ProtoMessage()

func (*AttestationDataRequest) ProtoReflect

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

func (*AttestationDataRequest) Reset

func (x *AttestationDataRequest) Reset()

func (*AttestationDataRequest) String

func (x *AttestationDataRequest) String() string

type AttestationPoolRequest

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

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

Deprecated: Use AttestationPoolRequest.ProtoReflect.Descriptor instead.

func (*AttestationPoolRequest) GetPageSize

func (x *AttestationPoolRequest) GetPageSize() int32

func (*AttestationPoolRequest) GetPageToken

func (x *AttestationPoolRequest) GetPageToken() string

func (*AttestationPoolRequest) ProtoMessage

func (*AttestationPoolRequest) ProtoMessage()

func (*AttestationPoolRequest) ProtoReflect

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

func (*AttestationPoolRequest) Reset

func (x *AttestationPoolRequest) Reset()

func (*AttestationPoolRequest) String

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

func (x *AttestationPoolResponse) GetNextPageToken() string

func (*AttestationPoolResponse) GetTotalSize

func (x *AttestationPoolResponse) GetTotalSize() int32

func (*AttestationPoolResponse) ProtoMessage

func (*AttestationPoolResponse) ProtoMessage()

func (*AttestationPoolResponse) ProtoReflect

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

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

HashTreeRoot ssz hashes the AttesterSlashing object

func (*AttesterSlashing) HashTreeRootWith

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

HashTreeRootWith ssz hashes the AttesterSlashing object with a hasher

func (*AttesterSlashing) MarshalSSZ

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

MarshalSSZ ssz marshals the AttesterSlashing object

func (*AttesterSlashing) MarshalSSZTo

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

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

func (*AttesterSlashing) Reset

func (x *AttesterSlashing) Reset()

func (*AttesterSlashing) SizeSSZ

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

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

func (*BeaconBlock) GetSlot

func (*BeaconBlock) GetStateRoot

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

func (*BeaconBlock) HashTreeRoot

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

HashTreeRoot ssz hashes the BeaconBlock object

func (*BeaconBlock) HashTreeRootWith

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

HashTreeRootWith ssz hashes the BeaconBlock object with a hasher

func (*BeaconBlock) MarshalSSZ

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

MarshalSSZ ssz marshals the BeaconBlock object

func (*BeaconBlock) MarshalSSZTo

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

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

func (*BeaconBlock) Reset

func (x *BeaconBlock) Reset()

func (*BeaconBlock) SizeSSZ

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

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

UnmarshalSSZ ssz unmarshals the BeaconBlock object

type BeaconBlockAltair

type BeaconBlockAltair 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          *BeaconBlockBodyAltair                             `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*BeaconBlockAltair) Descriptor deprecated

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

Deprecated: Use BeaconBlockAltair.ProtoReflect.Descriptor instead.

func (*BeaconBlockAltair) GetBody

func (*BeaconBlockAltair) GetParentRoot

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

func (*BeaconBlockAltair) GetProposerIndex

func (*BeaconBlockAltair) GetSlot

func (*BeaconBlockAltair) GetStateRoot

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

func (*BeaconBlockAltair) ProtoMessage

func (*BeaconBlockAltair) ProtoMessage()

func (*BeaconBlockAltair) ProtoReflect

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

func (*BeaconBlockAltair) Reset

func (x *BeaconBlockAltair) Reset()

func (*BeaconBlockAltair) String

func (x *BeaconBlockAltair) String() string

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

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

HashTreeRoot ssz hashes the BeaconBlockBody object

func (*BeaconBlockBody) HashTreeRootWith

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

HashTreeRootWith ssz hashes the BeaconBlockBody object with a hasher

func (*BeaconBlockBody) MarshalSSZ

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

MarshalSSZ ssz marshals the BeaconBlockBody object

func (*BeaconBlockBody) MarshalSSZTo

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

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

func (*BeaconBlockBody) Reset

func (x *BeaconBlockBody) Reset()

func (*BeaconBlockBody) SizeSSZ

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

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

UnmarshalSSZ ssz unmarshals the BeaconBlockBody object

type BeaconBlockBodyAltair

type BeaconBlockBodyAltair 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"`
	SyncAggregate     *SyncAggregate         `protobuf:"bytes,9,opt,name=sync_aggregate,json=syncAggregate,proto3" json:"sync_aggregate,omitempty"`
	// contains filtered or unexported fields
}

func (*BeaconBlockBodyAltair) Descriptor deprecated

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

Deprecated: Use BeaconBlockBodyAltair.ProtoReflect.Descriptor instead.

func (*BeaconBlockBodyAltair) GetAttestations

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

func (*BeaconBlockBodyAltair) GetAttesterSlashings

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

func (*BeaconBlockBodyAltair) GetDeposits

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

func (*BeaconBlockBodyAltair) GetEth1Data

func (x *BeaconBlockBodyAltair) GetEth1Data() *Eth1Data

func (*BeaconBlockBodyAltair) GetGraffiti

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

func (*BeaconBlockBodyAltair) GetProposerSlashings

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

func (*BeaconBlockBodyAltair) GetRandaoReveal

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

func (*BeaconBlockBodyAltair) GetSyncAggregate

func (x *BeaconBlockBodyAltair) GetSyncAggregate() *SyncAggregate

func (*BeaconBlockBodyAltair) GetVoluntaryExits

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

func (*BeaconBlockBodyAltair) ProtoMessage

func (*BeaconBlockBodyAltair) ProtoMessage()

func (*BeaconBlockBodyAltair) ProtoReflect

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

func (*BeaconBlockBodyAltair) Reset

func (x *BeaconBlockBodyAltair) Reset()

func (*BeaconBlockBodyAltair) String

func (x *BeaconBlockBodyAltair) String() string

type BeaconBlockContainer

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

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

Deprecated: Use BeaconBlockContainer.ProtoReflect.Descriptor instead.

func (*BeaconBlockContainer) GetBlock

func (x *BeaconBlockContainer) GetBlock() *SignedBeaconBlock

func (*BeaconBlockContainer) GetBlockRoot

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

func (*BeaconBlockContainer) GetCanonical

func (x *BeaconBlockContainer) GetCanonical() bool

func (*BeaconBlockContainer) ProtoMessage

func (*BeaconBlockContainer) ProtoMessage()

func (*BeaconBlockContainer) ProtoReflect

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

func (*BeaconBlockContainer) Reset

func (x *BeaconBlockContainer) Reset()

func (*BeaconBlockContainer) String

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

func (*BeaconBlockHeader) GetSlot

func (*BeaconBlockHeader) GetStateRoot

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

func (*BeaconBlockHeader) HashTreeRoot

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

HashTreeRoot ssz hashes the BeaconBlockHeader object

func (*BeaconBlockHeader) HashTreeRootWith

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

HashTreeRootWith ssz hashes the BeaconBlockHeader object with a hasher

func (*BeaconBlockHeader) MarshalSSZ

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

MarshalSSZ ssz marshals the BeaconBlockHeader object

func (*BeaconBlockHeader) MarshalSSZTo

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

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

func (*BeaconBlockHeader) Reset

func (x *BeaconBlockHeader) Reset()

func (*BeaconBlockHeader) SizeSSZ

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

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

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

type BeaconChain_StreamAttestationsServer

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

type BeaconChain_StreamBlocksClient

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

type BeaconChain_StreamBlocksServer

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

type BeaconChain_StreamChainHeadClient

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

type BeaconChain_StreamChainHeadServer

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

type BeaconChain_StreamIndexedAttestationsClient

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

type BeaconChain_StreamIndexedAttestationsServer

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

type BeaconChain_StreamValidatorsInfoClient

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

type BeaconChain_StreamValidatorsInfoServer

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

type BeaconCommittees

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

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

Deprecated: Use BeaconCommittees.ProtoReflect.Descriptor instead.

func (*BeaconCommittees) GetActiveValidatorCount

func (x *BeaconCommittees) GetActiveValidatorCount() uint64

func (*BeaconCommittees) GetCommittees

func (*BeaconCommittees) GetEpoch

func (*BeaconCommittees) ProtoMessage

func (*BeaconCommittees) ProtoMessage()

func (*BeaconCommittees) ProtoReflect

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

func (*BeaconCommittees) Reset

func (x *BeaconCommittees) Reset()

func (*BeaconCommittees) String

func (x *BeaconCommittees) String() string

type BeaconCommittees_CommitteeItem

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

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

Deprecated: Use BeaconCommittees_CommitteeItem.ProtoReflect.Descriptor instead.

func (*BeaconCommittees_CommitteeItem) GetValidatorIndices

func (*BeaconCommittees_CommitteeItem) ProtoMessage

func (*BeaconCommittees_CommitteeItem) ProtoMessage()

func (*BeaconCommittees_CommitteeItem) ProtoReflect

func (*BeaconCommittees_CommitteeItem) Reset

func (x *BeaconCommittees_CommitteeItem) Reset()

func (*BeaconCommittees_CommitteeItem) String

type BeaconCommittees_CommitteesList

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

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

Deprecated: Use BeaconCommittees_CommitteesList.ProtoReflect.Descriptor instead.

func (*BeaconCommittees_CommitteesList) GetCommittees

func (*BeaconCommittees_CommitteesList) ProtoMessage

func (*BeaconCommittees_CommitteesList) ProtoMessage()

func (*BeaconCommittees_CommitteesList) ProtoReflect

func (*BeaconCommittees_CommitteesList) Reset

func (*BeaconCommittees_CommitteesList) String

type BeaconConfig

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

func (*BeaconConfig) Descriptor deprecated

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

Deprecated: Use BeaconConfig.ProtoReflect.Descriptor instead.

func (*BeaconConfig) GetConfig

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

func (*BeaconConfig) ProtoMessage

func (*BeaconConfig) ProtoMessage()

func (*BeaconConfig) ProtoReflect

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

func (*BeaconConfig) Reset

func (x *BeaconConfig) Reset()

func (*BeaconConfig) String

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

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

type BeaconNodeValidator_StreamDutiesServer

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

type BeaconNodeValidator_WaitForActivationClient

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

type BeaconNodeValidator_WaitForActivationServer

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

type BeaconNodeValidator_WaitForChainStartClient

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

type BeaconNodeValidator_WaitForChainStartServer

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

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

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

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

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

func (*ChainHead) GetHeadEpoch

func (*ChainHead) GetHeadSlot

func (*ChainHead) GetJustifiedBlockRoot

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

func (*ChainHead) GetJustifiedEpoch

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

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

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

func (*ChainHead) Reset

func (x *ChainHead) Reset()

func (*ChainHead) String

func (x *ChainHead) String() string

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

func (*ChainStartResponse) Descriptor deprecated

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

Deprecated: Use ChainStartResponse.ProtoReflect.Descriptor instead.

func (*ChainStartResponse) GetGenesisTime

func (x *ChainStartResponse) GetGenesisTime() uint64

func (*ChainStartResponse) GetGenesisValidatorsRoot

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

func (*ChainStartResponse) GetStarted

func (x *ChainStartResponse) GetStarted() bool

func (*ChainStartResponse) ProtoMessage

func (*ChainStartResponse) ProtoMessage()

func (*ChainStartResponse) ProtoReflect

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

func (*ChainStartResponse) Reset

func (x *ChainStartResponse) Reset()

func (*ChainStartResponse) String

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

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

HashTreeRoot ssz hashes the Checkpoint object

func (*Checkpoint) HashTreeRootWith

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

HashTreeRootWith ssz hashes the Checkpoint object with a hasher

func (*Checkpoint) MarshalSSZ

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

MarshalSSZ ssz marshals the Checkpoint object

func (*Checkpoint) MarshalSSZTo

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

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

func (*Checkpoint) Reset

func (x *Checkpoint) Reset()

func (*Checkpoint) SizeSSZ

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

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

UnmarshalSSZ ssz unmarshals the Checkpoint object

type CommitteeSubnetsSubscribeRequest

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

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

Deprecated: Use CommitteeSubnetsSubscribeRequest.ProtoReflect.Descriptor instead.

func (*CommitteeSubnetsSubscribeRequest) GetCommitteeIds

func (*CommitteeSubnetsSubscribeRequest) GetIsAggregator

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

func (*CommitteeSubnetsSubscribeRequest) GetSlots

func (*CommitteeSubnetsSubscribeRequest) ProtoMessage

func (*CommitteeSubnetsSubscribeRequest) ProtoMessage()

func (*CommitteeSubnetsSubscribeRequest) ProtoReflect

func (*CommitteeSubnetsSubscribeRequest) Reset

func (*CommitteeSubnetsSubscribeRequest) String

type ConnectionState

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

func (ConnectionState) Descriptor

func (ConnectionState) Enum

func (x ConnectionState) Enum() *ConnectionState

func (ConnectionState) EnumDescriptor deprecated

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

Deprecated: Use ConnectionState.Descriptor instead.

func (ConnectionState) Number

func (ConnectionState) String

func (x ConnectionState) String() string

func (ConnectionState) Type

type ContributionAndProof

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

func (*ContributionAndProof) Descriptor deprecated

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

Deprecated: Use ContributionAndProof.ProtoReflect.Descriptor instead.

func (*ContributionAndProof) GetAggregatorIndex

func (*ContributionAndProof) GetContribution

func (x *ContributionAndProof) GetContribution() *SyncCommitteeContribution

func (*ContributionAndProof) GetSelectionProof

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

func (*ContributionAndProof) ProtoMessage

func (*ContributionAndProof) ProtoMessage()

func (*ContributionAndProof) ProtoReflect

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

func (*ContributionAndProof) Reset

func (x *ContributionAndProof) Reset()

func (*ContributionAndProof) String

func (x *ContributionAndProof) String() string

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

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

HashTreeRoot ssz hashes the Deposit object

func (*Deposit) HashTreeRootWith

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

HashTreeRootWith ssz hashes the Deposit object with a hasher

func (*Deposit) MarshalSSZ

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

MarshalSSZ ssz marshals the Deposit object

func (*Deposit) MarshalSSZTo

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

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

func (*Deposit) Reset

func (x *Deposit) Reset()

func (*Deposit) SizeSSZ

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

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

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

HashTreeRoot ssz hashes the Deposit_Data object

func (*Deposit_Data) HashTreeRootWith

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

HashTreeRootWith ssz hashes the Deposit_Data object with a hasher

func (*Deposit_Data) MarshalSSZ

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

MarshalSSZ ssz marshals the Deposit_Data object

func (*Deposit_Data) MarshalSSZTo

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

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

func (*Deposit_Data) Reset

func (x *Deposit_Data) Reset()

func (*Deposit_Data) SizeSSZ

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

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

UnmarshalSSZ ssz unmarshals the Deposit_Data object

type DomainRequest

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

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

Deprecated: Use DomainRequest.ProtoReflect.Descriptor instead.

func (*DomainRequest) GetDomain

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

func (*DomainRequest) GetEpoch

func (*DomainRequest) ProtoMessage

func (*DomainRequest) ProtoMessage()

func (*DomainRequest) ProtoReflect

func (x *<