service

package
v3.0.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: GPL-3.0, Apache-2.0 Imports: 22 Imported by: 1

Documentation

Overview

Package service is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package service is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package service is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package service is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package service is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package service is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ImportedKeystoreStatus_Status_name = map[int32]string{
		0: "IMPORTED",
		1: "DUPLICATE",
		2: "ERROR",
	}
	ImportedKeystoreStatus_Status_value = map[string]int32{
		"IMPORTED":  0,
		"DUPLICATE": 1,
		"ERROR":     2,
	}
)

Enum value maps for ImportedKeystoreStatus_Status.

View Source
var (
	DeletedKeystoreStatus_Status_name = map[int32]string{
		0: "DELETED",
		1: "NOT_FOUND",
		2: "NOT_ACTIVE",
		3: "ERROR",
	}
	DeletedKeystoreStatus_Status_value = map[string]int32{
		"DELETED":    0,
		"NOT_FOUND":  1,
		"NOT_ACTIVE": 2,
		"ERROR":      3,
	}
)

Enum value maps for DeletedKeystoreStatus_Status.

View Source
var (
	ImportedRemoteKeysStatus_Status_name = map[int32]string{
		0: "UNKNOWN",
		1: "IMPORTED",
		2: "DUPLICATE",
		3: "ERROR",
	}
	ImportedRemoteKeysStatus_Status_value = map[string]int32{
		"UNKNOWN":   0,
		"IMPORTED":  1,
		"DUPLICATE": 2,
		"ERROR":     3,
	}
)

Enum value maps for ImportedRemoteKeysStatus_Status.

View Source
var (
	DeletedRemoteKeysStatus_Status_name = map[int32]string{
		0: "NOT_FOUND",
		1: "DELETED",
		3: "ERROR",
	}
	DeletedRemoteKeysStatus_Status_value = map[string]int32{
		"NOT_FOUND": 0,
		"DELETED":   1,
		"ERROR":     3,
	}
)

Enum value maps for DeletedRemoteKeysStatus_Status.

View Source
var File_proto_eth_service_beacon_chain_service_proto protoreflect.FileDescriptor
View Source
var File_proto_eth_service_beacon_debug_service_proto protoreflect.FileDescriptor
View Source
var File_proto_eth_service_events_service_proto protoreflect.FileDescriptor
View Source
var File_proto_eth_service_key_management_proto protoreflect.FileDescriptor
View Source
var File_proto_eth_service_node_service_proto protoreflect.FileDescriptor
View Source
var File_proto_eth_service_validator_service_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 RegisterBeaconDebugHandler

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

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

func RegisterBeaconDebugHandlerClient

func RegisterBeaconDebugHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BeaconDebugClient) error

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

func RegisterBeaconDebugHandlerFromEndpoint

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

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

func RegisterBeaconDebugHandlerServer

func RegisterBeaconDebugHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BeaconDebugServer) error

RegisterBeaconDebugHandlerServer registers the http handlers for service BeaconDebug to "mux". UnaryRPC :call BeaconDebugServer 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 RegisterBeaconDebugHandlerFromEndpoint instead.

func RegisterBeaconDebugServer

func RegisterBeaconDebugServer(s *grpc.Server, srv BeaconDebugServer)

func RegisterBeaconNodeHandler

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

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

func RegisterBeaconNodeHandlerClient

func RegisterBeaconNodeHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BeaconNodeClient) error

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

func RegisterBeaconNodeHandlerFromEndpoint

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

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

func RegisterBeaconNodeHandlerServer

func RegisterBeaconNodeHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BeaconNodeServer) error

RegisterBeaconNodeHandlerServer registers the http handlers for service BeaconNode to "mux". UnaryRPC :call BeaconNodeServer 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 RegisterBeaconNodeHandlerFromEndpoint instead.

func RegisterBeaconNodeServer

func RegisterBeaconNodeServer(s *grpc.Server, srv BeaconNodeServer)

func RegisterBeaconValidatorHandler

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

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

func RegisterBeaconValidatorHandlerClient

func RegisterBeaconValidatorHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BeaconValidatorClient) error

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

func RegisterBeaconValidatorHandlerFromEndpoint

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

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

func RegisterBeaconValidatorHandlerServer

func RegisterBeaconValidatorHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BeaconValidatorServer) error

RegisterBeaconValidatorHandlerServer registers the http handlers for service BeaconValidator to "mux". UnaryRPC :call BeaconValidatorServer 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 RegisterBeaconValidatorHandlerFromEndpoint instead.

func RegisterBeaconValidatorServer

func RegisterBeaconValidatorServer(s *grpc.Server, srv BeaconValidatorServer)

func RegisterEventsHandler

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

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

func RegisterEventsHandlerClient

func RegisterEventsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EventsClient) error

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

func RegisterEventsHandlerFromEndpoint

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

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

func RegisterEventsHandlerServer

func RegisterEventsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EventsServer) error

RegisterEventsHandlerServer registers the http handlers for service Events to "mux". UnaryRPC :call EventsServer 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 RegisterEventsHandlerFromEndpoint instead.

func RegisterEventsServer

func RegisterEventsServer(s *grpc.Server, srv EventsServer)

func RegisterKeyManagementHandler

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

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

func RegisterKeyManagementHandlerClient

func RegisterKeyManagementHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KeyManagementClient) error

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

func RegisterKeyManagementHandlerFromEndpoint

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

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

func RegisterKeyManagementHandlerServer

func RegisterKeyManagementHandlerServer(ctx context.Context, mux *runtime.ServeMux, server KeyManagementServer) error

RegisterKeyManagementHandlerServer registers the http handlers for service KeyManagement to "mux". UnaryRPC :call KeyManagementServer 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 RegisterKeyManagementHandlerFromEndpoint instead.

func RegisterKeyManagementServer

func RegisterKeyManagementServer(s *grpc.Server, srv KeyManagementServer)

Types

type BeaconChainClient

type BeaconChainClient interface {
	GetGenesis(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*v1.GenesisResponse, error)
	GetWeakSubjectivity(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*v1.WeakSubjectivityResponse, error)
	GetStateRoot(ctx context.Context, in *v1.StateRequest, opts ...grpc.CallOption) (*v1.StateRootResponse, error)
	GetStateFork(ctx context.Context, in *v1.StateRequest, opts ...grpc.CallOption) (*v1.StateForkResponse, error)
	GetFinalityCheckpoints(ctx context.Context, in *v1.StateRequest, opts ...grpc.CallOption) (*v1.StateFinalityCheckpointResponse, error)
	ListValidators(ctx context.Context, in *v1.StateValidatorsRequest, opts ...grpc.CallOption) (*v1.StateValidatorsResponse, error)
	GetValidator(ctx context.Context, in *v1.StateValidatorRequest, opts ...grpc.CallOption) (*v1.StateValidatorResponse, error)
	ListValidatorBalances(ctx context.Context, in *v1.ValidatorBalancesRequest, opts ...grpc.CallOption) (*v1.ValidatorBalancesResponse, error)
	ListCommittees(ctx context.Context, in *v1.StateCommitteesRequest, opts ...grpc.CallOption) (*v1.StateCommitteesResponse, error)
	ListSyncCommittees(ctx context.Context, in *v2.StateSyncCommitteesRequest, opts ...grpc.CallOption) (*v2.StateSyncCommitteesResponse, error)
	ListBlockHeaders(ctx context.Context, in *v1.BlockHeadersRequest, opts ...grpc.CallOption) (*v1.BlockHeadersResponse, error)
	GetBlockHeader(ctx context.Context, in *v1.BlockRequest, opts ...grpc.CallOption) (*v1.BlockHeaderResponse, error)
	SubmitBlock(ctx context.Context, in *v2.SignedBeaconBlockContainer, opts ...grpc.CallOption) (*empty.Empty, error)
	SubmitBlockSSZ(ctx context.Context, in *v2.SSZContainer, opts ...grpc.CallOption) (*empty.Empty, error)
	SubmitBlindedBlock(ctx context.Context, in *v2.SignedBlindedBeaconBlockContainer, opts ...grpc.CallOption) (*empty.Empty, error)
	SubmitBlindedBlockSSZ(ctx context.Context, in *v2.SSZContainer, opts ...grpc.CallOption) (*empty.Empty, error)
	// Deprecated: Do not use.
	GetBlockRoot(ctx context.Context, in *v1.BlockRequest, opts ...grpc.CallOption) (*v1.BlockRootResponse, error)
	GetBlock(ctx context.Context, in *v1.BlockRequest, opts ...grpc.CallOption) (*v1.BlockResponse, error)
	GetBlockSSZ(ctx context.Context, in *v1.BlockRequest, opts ...grpc.CallOption) (*v1.BlockSSZResponse, error)
	GetBlockV2(ctx context.Context, in *v2.BlockRequestV2, opts ...grpc.CallOption) (*v2.BlockResponseV2, error)
	GetBlockSSZV2(ctx context.Context, in *v2.BlockRequestV2, opts ...grpc.CallOption) (*v2.SSZContainer, error)
	ListBlockAttestations(ctx context.Context, in *v1.BlockRequest, opts ...grpc.CallOption) (*v1.BlockAttestationsResponse, error)
	ListPoolAttestations(ctx context.Context, in *v1.AttestationsPoolRequest, opts ...grpc.CallOption) (*v1.AttestationsPoolResponse, error)
	SubmitAttestations(ctx context.Context, in *v1.SubmitAttestationsRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	ListPoolAttesterSlashings(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*v1.AttesterSlashingsPoolResponse, error)
	SubmitAttesterSlashing(ctx context.Context, in *v1.AttesterSlashing, opts ...grpc.CallOption) (*empty.Empty, error)
	ListPoolProposerSlashings(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*v1.ProposerSlashingPoolResponse, error)
	SubmitProposerSlashing(ctx context.Context, in *v1.ProposerSlashing, opts ...grpc.CallOption) (*empty.Empty, error)
	ListPoolVoluntaryExits(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*v1.VoluntaryExitsPoolResponse, error)
	SubmitVoluntaryExit(ctx context.Context, in *v1.SignedVoluntaryExit, opts ...grpc.CallOption) (*empty.Empty, error)
	SubmitPoolSyncCommitteeSignatures(ctx context.Context, in *v2.SubmitPoolSyncCommitteeSignatures, opts ...grpc.CallOption) (*empty.Empty, error)
	GetForkSchedule(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*v1.ForkScheduleResponse, error)
	GetSpec(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*v1.SpecResponse, error)
	GetDepositContract(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*v1.DepositContractResponse, 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 {
	GetGenesis(context.Context, *empty.Empty) (*v1.GenesisResponse, error)
	GetWeakSubjectivity(context.Context, *empty.Empty) (*v1.WeakSubjectivityResponse, error)
	GetStateRoot(context.Context, *v1.StateRequest) (*v1.StateRootResponse, error)
	GetStateFork(context.Context, *v1.StateRequest) (*v1.StateForkResponse, error)
	GetFinalityCheckpoints(context.Context, *v1.StateRequest) (*v1.StateFinalityCheckpointResponse, error)
	ListValidators(context.Context, *v1.StateValidatorsRequest) (*v1.StateValidatorsResponse, error)
	GetValidator(context.Context, *v1.StateValidatorRequest) (*v1.StateValidatorResponse, error)
	ListValidatorBalances(context.Context, *v1.ValidatorBalancesRequest) (*v1.ValidatorBalancesResponse, error)
	ListCommittees(context.Context, *v1.StateCommitteesRequest) (*v1.StateCommitteesResponse, error)
	ListSyncCommittees(context.Context, *v2.StateSyncCommitteesRequest) (*v2.StateSyncCommitteesResponse, error)
	ListBlockHeaders(context.Context, *v1.BlockHeadersRequest) (*v1.BlockHeadersResponse, error)
	GetBlockHeader(context.Context, *v1.BlockRequest) (*v1.BlockHeaderResponse, error)
	SubmitBlock(context.Context, *v2.SignedBeaconBlockContainer) (*empty.Empty, error)
	SubmitBlockSSZ(context.Context, *v2.SSZContainer) (*empty.Empty, error)
	SubmitBlindedBlock(context.Context, *v2.SignedBlindedBeaconBlockContainer) (*empty.Empty, error)
	SubmitBlindedBlockSSZ(context.Context, *v2.SSZContainer) (*empty.Empty, error)
	// Deprecated: Do not use.
	GetBlockRoot(context.Context, *v1.BlockRequest) (*v1.BlockRootResponse, error)
	GetBlock(context.Context, *v1.BlockRequest) (*v1.BlockResponse, error)
	GetBlockSSZ(context.Context, *v1.BlockRequest) (*v1.BlockSSZResponse, error)
	GetBlockV2(context.Context, *v2.BlockRequestV2) (*v2.BlockResponseV2, error)
	GetBlockSSZV2(context.Context, *v2.BlockRequestV2) (*v2.SSZContainer, error)
	ListBlockAttestations(context.Context, *v1.BlockRequest) (*v1.BlockAttestationsResponse, error)
	ListPoolAttestations(context.Context, *v1.AttestationsPoolRequest) (*v1.AttestationsPoolResponse, error)
	SubmitAttestations(context.Context, *v1.SubmitAttestationsRequest) (*empty.Empty, error)
	ListPoolAttesterSlashings(context.Context, *empty.Empty) (*v1.AttesterSlashingsPoolResponse, error)
	SubmitAttesterSlashing(context.Context, *v1.AttesterSlashing) (*empty.Empty, error)
	ListPoolProposerSlashings(context.Context, *empty.Empty) (*v1.ProposerSlashingPoolResponse, error)
	SubmitProposerSlashing(context.Context, *v1.ProposerSlashing) (*empty.Empty, error)
	ListPoolVoluntaryExits(context.Context, *empty.Empty) (*v1.VoluntaryExitsPoolResponse, error)
	SubmitVoluntaryExit(context.Context, *v1.SignedVoluntaryExit) (*empty.Empty, error)
	SubmitPoolSyncCommitteeSignatures(context.Context, *v2.SubmitPoolSyncCommitteeSignatures) (*empty.Empty, error)
	GetForkSchedule(context.Context, *empty.Empty) (*v1.ForkScheduleResponse, error)
	GetSpec(context.Context, *empty.Empty) (*v1.SpecResponse, error)
	GetDepositContract(context.Context, *empty.Empty) (*v1.DepositContractResponse, error)
}

BeaconChainServer is the server API for BeaconChain service.

type BeaconDebugClient

type BeaconDebugClient interface {
	GetBeaconStateSSZ(ctx context.Context, in *v1.StateRequest, opts ...grpc.CallOption) (*v2.SSZContainer, error)
	GetBeaconStateV2(ctx context.Context, in *v2.BeaconStateRequestV2, opts ...grpc.CallOption) (*v2.BeaconStateResponseV2, error)
	GetBeaconStateSSZV2(ctx context.Context, in *v2.BeaconStateRequestV2, opts ...grpc.CallOption) (*v2.SSZContainer, error)
	ListForkChoiceHeadsV2(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*v2.ForkChoiceHeadsResponse, error)
}

BeaconDebugClient is the client API for BeaconDebug service.

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

type BeaconDebugServer

type BeaconDebugServer interface {
	GetBeaconStateSSZ(context.Context, *v1.StateRequest) (*v2.SSZContainer, error)
	GetBeaconStateV2(context.Context, *v2.BeaconStateRequestV2) (*v2.BeaconStateResponseV2, error)
	GetBeaconStateSSZV2(context.Context, *v2.BeaconStateRequestV2) (*v2.SSZContainer, error)
	ListForkChoiceHeadsV2(context.Context, *empty.Empty) (*v2.ForkChoiceHeadsResponse, error)
}

BeaconDebugServer is the server API for BeaconDebug service.

type BeaconNodeClient

type BeaconNodeClient interface {
	GetIdentity(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*v1.IdentityResponse, error)
	ListPeers(ctx context.Context, in *v1.PeersRequest, opts ...grpc.CallOption) (*v1.PeersResponse, error)
	GetPeer(ctx context.Context, in *v1.PeerRequest, opts ...grpc.CallOption) (*v1.PeerResponse, error)
	PeerCount(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*v1.PeerCountResponse, error)
	GetSyncStatus(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*v1.SyncingResponse, error)
	GetVersion(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*v1.VersionResponse, error)
	GetHealth(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
}

BeaconNodeClient is the client API for BeaconNode service.

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

func NewBeaconNodeClient

func NewBeaconNodeClient(cc grpc.ClientConnInterface) BeaconNodeClient

type BeaconNodeServer

BeaconNodeServer is the server API for BeaconNode service.

type BeaconValidatorClient

type BeaconValidatorClient interface {
	GetAttesterDuties(ctx context.Context, in *v1.AttesterDutiesRequest, opts ...grpc.CallOption) (*v1.AttesterDutiesResponse, error)
	GetProposerDuties(ctx context.Context, in *v1.ProposerDutiesRequest, opts ...grpc.CallOption) (*v1.ProposerDutiesResponse, error)
	GetSyncCommitteeDuties(ctx context.Context, in *v2.SyncCommitteeDutiesRequest, opts ...grpc.CallOption) (*v2.SyncCommitteeDutiesResponse, error)
	ProduceBlockV2(ctx context.Context, in *v1.ProduceBlockRequest, opts ...grpc.CallOption) (*v2.ProduceBlockResponseV2, error)
	ProduceBlockV2SSZ(ctx context.Context, in *v1.ProduceBlockRequest, opts ...grpc.CallOption) (*v2.SSZContainer, error)
	ProduceBlindedBlock(ctx context.Context, in *v1.ProduceBlockRequest, opts ...grpc.CallOption) (*v2.ProduceBlindedBlockResponse, error)
	ProduceBlindedBlockSSZ(ctx context.Context, in *v1.ProduceBlockRequest, opts ...grpc.CallOption) (*v2.SSZContainer, error)
	PrepareBeaconProposer(ctx context.Context, in *v1.PrepareBeaconProposerRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	SubmitValidatorRegistration(ctx context.Context, in *v1.SubmitValidatorRegistrationsRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	ProduceAttestationData(ctx context.Context, in *v1.ProduceAttestationDataRequest, opts ...grpc.CallOption) (*v1.ProduceAttestationDataResponse, error)
	GetAggregateAttestation(ctx context.Context, in *v1.AggregateAttestationRequest, opts ...grpc.CallOption) (*v1.AggregateAttestationResponse, error)
	SubmitAggregateAndProofs(ctx context.Context, in *v1.SubmitAggregateAndProofsRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	SubmitBeaconCommitteeSubscription(ctx context.Context, in *v1.SubmitBeaconCommitteeSubscriptionsRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	SubmitSyncCommitteeSubscription(ctx context.Context, in *v2.SubmitSyncCommitteeSubscriptionsRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	ProduceSyncCommitteeContribution(ctx context.Context, in *v2.ProduceSyncCommitteeContributionRequest, opts ...grpc.CallOption) (*v2.ProduceSyncCommitteeContributionResponse, error)
	SubmitContributionAndProofs(ctx context.Context, in *v2.SubmitContributionAndProofsRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

BeaconValidatorClient is the client API for BeaconValidator service.

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

type BeaconValidatorServer

type BeaconValidatorServer interface {
	GetAttesterDuties(context.Context, *v1.AttesterDutiesRequest) (*v1.AttesterDutiesResponse, error)
	GetProposerDuties(context.Context, *v1.ProposerDutiesRequest) (*v1.ProposerDutiesResponse, error)
	GetSyncCommitteeDuties(context.Context, *v2.SyncCommitteeDutiesRequest) (*v2.SyncCommitteeDutiesResponse, error)
	ProduceBlockV2(context.Context, *v1.ProduceBlockRequest) (*v2.ProduceBlockResponseV2, error)
	ProduceBlockV2SSZ(context.Context, *v1.ProduceBlockRequest) (*v2.SSZContainer, error)
	ProduceBlindedBlock(context.Context, *v1.ProduceBlockRequest) (*v2.ProduceBlindedBlockResponse, error)
	ProduceBlindedBlockSSZ(context.Context, *v1.ProduceBlockRequest) (*v2.SSZContainer, error)
	PrepareBeaconProposer(context.Context, *v1.PrepareBeaconProposerRequest) (*empty.Empty, error)
	SubmitValidatorRegistration(context.Context, *v1.SubmitValidatorRegistrationsRequest) (*empty.Empty, error)
	ProduceAttestationData(context.Context, *v1.ProduceAttestationDataRequest) (*v1.ProduceAttestationDataResponse, error)
	GetAggregateAttestation(context.Context, *v1.AggregateAttestationRequest) (*v1.AggregateAttestationResponse, error)
	SubmitAggregateAndProofs(context.Context, *v1.SubmitAggregateAndProofsRequest) (*empty.Empty, error)
	SubmitBeaconCommitteeSubscription(context.Context, *v1.SubmitBeaconCommitteeSubscriptionsRequest) (*empty.Empty, error)
	SubmitSyncCommitteeSubscription(context.Context, *v2.SubmitSyncCommitteeSubscriptionsRequest) (*empty.Empty, error)
	ProduceSyncCommitteeContribution(context.Context, *v2.ProduceSyncCommitteeContributionRequest) (*v2.ProduceSyncCommitteeContributionResponse, error)
	SubmitContributionAndProofs(context.Context, *v2.SubmitContributionAndProofsRequest) (*empty.Empty, error)
}

BeaconValidatorServer is the server API for BeaconValidator service.

type DeleteKeystoresRequest

type DeleteKeystoresRequest struct {
	Pubkeys [][]byte `protobuf:"bytes,1,rep,name=pubkeys,proto3" json:"pubkeys,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteKeystoresRequest) Descriptor deprecated

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

Deprecated: Use DeleteKeystoresRequest.ProtoReflect.Descriptor instead.

func (*DeleteKeystoresRequest) GetPubkeys

func (x *DeleteKeystoresRequest) GetPubkeys() [][]byte

func (*DeleteKeystoresRequest) ProtoMessage

func (*DeleteKeystoresRequest) ProtoMessage()

func (*DeleteKeystoresRequest) ProtoReflect

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

func (*DeleteKeystoresRequest) Reset

func (x *DeleteKeystoresRequest) Reset()

func (*DeleteKeystoresRequest) String

func (x *DeleteKeystoresRequest) String() string

type DeleteKeystoresResponse

type DeleteKeystoresResponse struct {
	Data               []*DeletedKeystoreStatus `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	SlashingProtection string                   `protobuf:"bytes,2,opt,name=slashing_protection,json=slashingProtection,proto3" json:"slashing_protection,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteKeystoresResponse) Descriptor deprecated

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

Deprecated: Use DeleteKeystoresResponse.ProtoReflect.Descriptor instead.

func (*DeleteKeystoresResponse) GetData

func (*DeleteKeystoresResponse) GetSlashingProtection

func (x *DeleteKeystoresResponse) GetSlashingProtection() string

func (*DeleteKeystoresResponse) ProtoMessage

func (*DeleteKeystoresResponse) ProtoMessage()

func (*DeleteKeystoresResponse) ProtoReflect

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

func (*DeleteKeystoresResponse) Reset

func (x *DeleteKeystoresResponse) Reset()

func (*DeleteKeystoresResponse) String

func (x *DeleteKeystoresResponse) String() string

type DeleteRemoteKeysRequest

type DeleteRemoteKeysRequest struct {
	Pubkeys [][]byte `protobuf:"bytes,1,rep,name=pubkeys,proto3" json:"pubkeys,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRemoteKeysRequest) Descriptor deprecated

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

Deprecated: Use DeleteRemoteKeysRequest.ProtoReflect.Descriptor instead.

func (*DeleteRemoteKeysRequest) GetPubkeys

func (x *DeleteRemoteKeysRequest) GetPubkeys() [][]byte

func (*DeleteRemoteKeysRequest) ProtoMessage

func (*DeleteRemoteKeysRequest) ProtoMessage()

func (*DeleteRemoteKeysRequest) ProtoReflect

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

func (*DeleteRemoteKeysRequest) Reset

func (x *DeleteRemoteKeysRequest) Reset()

func (*DeleteRemoteKeysRequest) String

func (x *DeleteRemoteKeysRequest) String() string

type DeleteRemoteKeysResponse

type DeleteRemoteKeysResponse struct {
	Data []*DeletedRemoteKeysStatus `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRemoteKeysResponse) Descriptor deprecated

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

Deprecated: Use DeleteRemoteKeysResponse.ProtoReflect.Descriptor instead.

func (*DeleteRemoteKeysResponse) GetData

func (*DeleteRemoteKeysResponse) ProtoMessage

func (*DeleteRemoteKeysResponse) ProtoMessage()

func (*DeleteRemoteKeysResponse) ProtoReflect

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

func (*DeleteRemoteKeysResponse) Reset

func (x *DeleteRemoteKeysResponse) Reset()

func (*DeleteRemoteKeysResponse) String

func (x *DeleteRemoteKeysResponse) String() string

type DeletedKeystoreStatus

type DeletedKeystoreStatus struct {
	Status  DeletedKeystoreStatus_Status `protobuf:"varint,1,opt,name=status,proto3,enum=ethereum.eth.service.DeletedKeystoreStatus_Status" json:"status,omitempty"`
	Message string                       `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletedKeystoreStatus) Descriptor deprecated

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

Deprecated: Use DeletedKeystoreStatus.ProtoReflect.Descriptor instead.

func (*DeletedKeystoreStatus) GetMessage

func (x *DeletedKeystoreStatus) GetMessage() string

func (*DeletedKeystoreStatus) GetStatus

func (*DeletedKeystoreStatus) ProtoMessage

func (*DeletedKeystoreStatus) ProtoMessage()

func (*DeletedKeystoreStatus) ProtoReflect

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

func (*DeletedKeystoreStatus) Reset

func (x *DeletedKeystoreStatus) Reset()

func (*DeletedKeystoreStatus) String

func (x *DeletedKeystoreStatus) String() string

type DeletedKeystoreStatus_Status

type DeletedKeystoreStatus_Status int32
const (
	DeletedKeystoreStatus_DELETED    DeletedKeystoreStatus_Status = 0
	DeletedKeystoreStatus_NOT_FOUND  DeletedKeystoreStatus_Status = 1
	DeletedKeystoreStatus_NOT_ACTIVE DeletedKeystoreStatus_Status = 2
	DeletedKeystoreStatus_ERROR      DeletedKeystoreStatus_Status = 3
)

func (DeletedKeystoreStatus_Status) Descriptor

func (DeletedKeystoreStatus_Status) Enum

func (DeletedKeystoreStatus_Status) EnumDescriptor deprecated

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

Deprecated: Use DeletedKeystoreStatus_Status.Descriptor instead.

func (DeletedKeystoreStatus_Status) Number

func (DeletedKeystoreStatus_Status) String

func (DeletedKeystoreStatus_Status) Type

type DeletedRemoteKeysStatus

type DeletedRemoteKeysStatus struct {
	Status  DeletedRemoteKeysStatus_Status `protobuf:"varint,1,opt,name=status,proto3,enum=ethereum.eth.service.DeletedRemoteKeysStatus_Status" json:"status,omitempty"`
	Message string                         `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletedRemoteKeysStatus) Descriptor deprecated

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

Deprecated: Use DeletedRemoteKeysStatus.ProtoReflect.Descriptor instead.

func (*DeletedRemoteKeysStatus) GetMessage

func (x *DeletedRemoteKeysStatus) GetMessage() string

func (*DeletedRemoteKeysStatus) GetStatus

func (*DeletedRemoteKeysStatus) ProtoMessage

func (*DeletedRemoteKeysStatus) ProtoMessage()

func (*DeletedRemoteKeysStatus) ProtoReflect

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

func (*DeletedRemoteKeysStatus) Reset

func (x *DeletedRemoteKeysStatus) Reset()

func (*DeletedRemoteKeysStatus) String

func (x *DeletedRemoteKeysStatus) String() string

type DeletedRemoteKeysStatus_Status

type DeletedRemoteKeysStatus_Status int32
const (
	DeletedRemoteKeysStatus_NOT_FOUND DeletedRemoteKeysStatus_Status = 0
	DeletedRemoteKeysStatus_DELETED   DeletedRemoteKeysStatus_Status = 1
	DeletedRemoteKeysStatus_ERROR     DeletedRemoteKeysStatus_Status = 3
)

func (DeletedRemoteKeysStatus_Status) Descriptor

func (DeletedRemoteKeysStatus_Status) Enum

func (DeletedRemoteKeysStatus_Status) EnumDescriptor deprecated

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

Deprecated: Use DeletedRemoteKeysStatus_Status.Descriptor instead.

func (DeletedRemoteKeysStatus_Status) Number

func (DeletedRemoteKeysStatus_Status) String

func (DeletedRemoteKeysStatus_Status) Type

type EventsClient

type EventsClient interface {
	StreamEvents(ctx context.Context, in *v1.StreamEventsRequest, opts ...grpc.CallOption) (Events_StreamEventsClient, error)
}

EventsClient is the client API for Events service.

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

func NewEventsClient

func NewEventsClient(cc grpc.ClientConnInterface) EventsClient

type EventsServer

type EventsServer interface {
	StreamEvents(*v1.StreamEventsRequest, Events_StreamEventsServer) error
}

EventsServer is the server API for Events service.

type Events_StreamEventsClient

type Events_StreamEventsClient interface {
	Recv() (*gateway.EventSource, error)
	grpc.ClientStream
}

type Events_StreamEventsServer

type Events_StreamEventsServer interface {
	Send(*gateway.EventSource) error
	grpc.ServerStream
}

type GetFeeRecipientByPubkeyResponse

type GetFeeRecipientByPubkeyResponse struct {
	Data *GetFeeRecipientByPubkeyResponse_FeeRecipient `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFeeRecipientByPubkeyResponse) Descriptor deprecated

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

Deprecated: Use GetFeeRecipientByPubkeyResponse.ProtoReflect.Descriptor instead.

func (*GetFeeRecipientByPubkeyResponse) GetData

func (*GetFeeRecipientByPubkeyResponse) ProtoMessage

func (*GetFeeRecipientByPubkeyResponse) ProtoMessage()

func (*GetFeeRecipientByPubkeyResponse) ProtoReflect

func (*GetFeeRecipientByPubkeyResponse) Reset

func (*GetFeeRecipientByPubkeyResponse) String

type GetFeeRecipientByPubkeyResponse_FeeRecipient

type GetFeeRecipientByPubkeyResponse_FeeRecipient struct {
	Pubkey     []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	Ethaddress []byte `protobuf:"bytes,2,opt,name=ethaddress,proto3" json:"ethaddress,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFeeRecipientByPubkeyResponse_FeeRecipient) Descriptor deprecated

Deprecated: Use GetFeeRecipientByPubkeyResponse_FeeRecipient.ProtoReflect.Descriptor instead.

func (*GetFeeRecipientByPubkeyResponse_FeeRecipient) GetEthaddress

func (*GetFeeRecipientByPubkeyResponse_FeeRecipient) GetPubkey

func (*GetFeeRecipientByPubkeyResponse_FeeRecipient) ProtoMessage

func (*GetFeeRecipientByPubkeyResponse_FeeRecipient) ProtoReflect

func (*GetFeeRecipientByPubkeyResponse_FeeRecipient) Reset

func (*GetFeeRecipientByPubkeyResponse_FeeRecipient) String

type GetGasLimitResponse

type GetGasLimitResponse struct {
	Data *GetGasLimitResponse_GasLimit `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGasLimitResponse) Descriptor deprecated

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

Deprecated: Use GetGasLimitResponse.ProtoReflect.Descriptor instead.

func (*GetGasLimitResponse) GetData

func (*GetGasLimitResponse) ProtoMessage

func (*GetGasLimitResponse) ProtoMessage()

func (*GetGasLimitResponse) ProtoReflect

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

func (*GetGasLimitResponse) Reset

func (x *GetGasLimitResponse) Reset()

func (*GetGasLimitResponse) String

func (x *GetGasLimitResponse) String() string

type GetGasLimitResponse_GasLimit

type GetGasLimitResponse_GasLimit struct {
	Pubkey   []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	GasLimit uint64 `protobuf:"varint,2,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGasLimitResponse_GasLimit) Descriptor deprecated

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

Deprecated: Use GetGasLimitResponse_GasLimit.ProtoReflect.Descriptor instead.

func (*GetGasLimitResponse_GasLimit) GetGasLimit

func (x *GetGasLimitResponse_GasLimit) GetGasLimit() uint64

func (*GetGasLimitResponse_GasLimit) GetPubkey

func (x *GetGasLimitResponse_GasLimit) GetPubkey() []byte

func (*GetGasLimitResponse_GasLimit) ProtoMessage

func (*GetGasLimitResponse_GasLimit) ProtoMessage()

func (*GetGasLimitResponse_GasLimit) ProtoReflect

func (*GetGasLimitResponse_GasLimit) Reset

func (x *GetGasLimitResponse_GasLimit) Reset()

func (*GetGasLimitResponse_GasLimit) String

type ImportKeystoresRequest

type ImportKeystoresRequest struct {
	Keystores          []string `protobuf:"bytes,1,rep,name=keystores,proto3" json:"keystores,omitempty"`
	Passwords          []string `protobuf:"bytes,2,rep,name=passwords,proto3" json:"passwords,omitempty"`
	SlashingProtection string   `protobuf:"bytes,3,opt,name=slashing_protection,json=slashingProtection,proto3" json:"slashing_protection,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportKeystoresRequest) Descriptor deprecated

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

Deprecated: Use ImportKeystoresRequest.ProtoReflect.Descriptor instead.

func (*ImportKeystoresRequest) GetKeystores

func (x *ImportKeystoresRequest) GetKeystores() []string

func (*ImportKeystoresRequest) GetPasswords

func (x *ImportKeystoresRequest) GetPasswords() []string

func (*ImportKeystoresRequest) GetSlashingProtection

func (x *ImportKeystoresRequest) GetSlashingProtection() string

func (*ImportKeystoresRequest) ProtoMessage

func (*ImportKeystoresRequest) ProtoMessage()

func (*ImportKeystoresRequest) ProtoReflect

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

func (*ImportKeystoresRequest) Reset

func (x *ImportKeystoresRequest) Reset()

func (*ImportKeystoresRequest) String

func (x *ImportKeystoresRequest) String() string

type ImportKeystoresResponse

type ImportKeystoresResponse struct {
	Data []*ImportedKeystoreStatus `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportKeystoresResponse) Descriptor deprecated

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

Deprecated: Use ImportKeystoresResponse.ProtoReflect.Descriptor instead.

func (*ImportKeystoresResponse) GetData

func (*ImportKeystoresResponse) ProtoMessage

func (*ImportKeystoresResponse) ProtoMessage()

func (*ImportKeystoresResponse) ProtoReflect

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

func (*ImportKeystoresResponse) Reset

func (x *ImportKeystoresResponse) Reset()

func (*ImportKeystoresResponse) String

func (x *ImportKeystoresResponse) String() string

type ImportRemoteKeysRequest

type ImportRemoteKeysRequest struct {
	RemoteKeys []*ImportRemoteKeysRequest_Keystore `protobuf:"bytes,1,rep,name=remote_keys,json=remoteKeys,proto3" json:"remote_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportRemoteKeysRequest) Descriptor deprecated

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

Deprecated: Use ImportRemoteKeysRequest.ProtoReflect.Descriptor instead.

func (*ImportRemoteKeysRequest) GetRemoteKeys

func (*ImportRemoteKeysRequest) ProtoMessage

func (*ImportRemoteKeysRequest) ProtoMessage()

func (*ImportRemoteKeysRequest) ProtoReflect

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

func (*ImportRemoteKeysRequest) Reset

func (x *ImportRemoteKeysRequest) Reset()

func (*ImportRemoteKeysRequest) String

func (x *ImportRemoteKeysRequest) String() string

type ImportRemoteKeysRequest_Keystore

type ImportRemoteKeysRequest_Keystore struct {
	Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	Url    string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportRemoteKeysRequest_Keystore) Descriptor deprecated

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

Deprecated: Use ImportRemoteKeysRequest_Keystore.ProtoReflect.Descriptor instead.

func (*ImportRemoteKeysRequest_Keystore) GetPubkey

func (x *ImportRemoteKeysRequest_Keystore) GetPubkey() []byte

func (*ImportRemoteKeysRequest_Keystore) GetUrl

func (*ImportRemoteKeysRequest_Keystore) ProtoMessage

func (*ImportRemoteKeysRequest_Keystore) ProtoMessage()

func (*ImportRemoteKeysRequest_Keystore) ProtoReflect

func (*ImportRemoteKeysRequest_Keystore) Reset

func (*ImportRemoteKeysRequest_Keystore) String

type ImportRemoteKeysResponse

type ImportRemoteKeysResponse struct {
	Data []*ImportedRemoteKeysStatus `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportRemoteKeysResponse) Descriptor deprecated

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

Deprecated: Use ImportRemoteKeysResponse.ProtoReflect.Descriptor instead.

func (*ImportRemoteKeysResponse) GetData

func (*ImportRemoteKeysResponse) ProtoMessage

func (*ImportRemoteKeysResponse) ProtoMessage()

func (*ImportRemoteKeysResponse) ProtoReflect

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

func (*ImportRemoteKeysResponse) Reset

func (x *ImportRemoteKeysResponse) Reset()

func (*ImportRemoteKeysResponse) String

func (x *ImportRemoteKeysResponse) String() string

type ImportedKeystoreStatus

type ImportedKeystoreStatus struct {
	Status  ImportedKeystoreStatus_Status `protobuf:"varint,1,opt,name=status,proto3,enum=ethereum.eth.service.ImportedKeystoreStatus_Status" json:"status,omitempty"`
	Message string                        `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportedKeystoreStatus) Descriptor deprecated

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

Deprecated: Use ImportedKeystoreStatus.ProtoReflect.Descriptor instead.

func (*ImportedKeystoreStatus) GetMessage

func (x *ImportedKeystoreStatus) GetMessage() string

func (*ImportedKeystoreStatus) GetStatus

func (*ImportedKeystoreStatus) ProtoMessage

func (*ImportedKeystoreStatus) ProtoMessage()

func (*ImportedKeystoreStatus) ProtoReflect

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

func (*ImportedKeystoreStatus) Reset

func (x *ImportedKeystoreStatus) Reset()

func (*ImportedKeystoreStatus) String

func (x *ImportedKeystoreStatus) String() string

type ImportedKeystoreStatus_Status

type ImportedKeystoreStatus_Status int32
const (
	ImportedKeystoreStatus_IMPORTED  ImportedKeystoreStatus_Status = 0
	ImportedKeystoreStatus_DUPLICATE ImportedKeystoreStatus_Status = 1
	ImportedKeystoreStatus_ERROR     ImportedKeystoreStatus_Status = 2
)

func (ImportedKeystoreStatus_Status) Descriptor

func (ImportedKeystoreStatus_Status) Enum

func (ImportedKeystoreStatus_Status) EnumDescriptor deprecated

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

Deprecated: Use ImportedKeystoreStatus_Status.Descriptor instead.

func (ImportedKeystoreStatus_Status) Number

func (ImportedKeystoreStatus_Status) String

func (ImportedKeystoreStatus_Status) Type

type ImportedRemoteKeysStatus

type ImportedRemoteKeysStatus struct {
	Status  ImportedRemoteKeysStatus_Status `protobuf:"varint,1,opt,name=status,proto3,enum=ethereum.eth.service.ImportedRemoteKeysStatus_Status" json:"status,omitempty"`
	Message string                          `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportedRemoteKeysStatus) Descriptor deprecated

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

Deprecated: Use ImportedRemoteKeysStatus.ProtoReflect.Descriptor instead.

func (*ImportedRemoteKeysStatus) GetMessage

func (x *ImportedRemoteKeysStatus) GetMessage() string

func (*ImportedRemoteKeysStatus) GetStatus

func (*ImportedRemoteKeysStatus) ProtoMessage

func (*ImportedRemoteKeysStatus) ProtoMessage()

func (*ImportedRemoteKeysStatus) ProtoReflect

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

func (*ImportedRemoteKeysStatus) Reset

func (x *ImportedRemoteKeysStatus) Reset()

func (*ImportedRemoteKeysStatus) String

func (x *ImportedRemoteKeysStatus) String() string

type ImportedRemoteKeysStatus_Status

type ImportedRemoteKeysStatus_Status int32
const (
	ImportedRemoteKeysStatus_UNKNOWN   ImportedRemoteKeysStatus_Status = 0
	ImportedRemoteKeysStatus_IMPORTED  ImportedRemoteKeysStatus_Status = 1
	ImportedRemoteKeysStatus_DUPLICATE ImportedRemoteKeysStatus_Status = 2
	ImportedRemoteKeysStatus_ERROR     ImportedRemoteKeysStatus_Status = 3
)

func (ImportedRemoteKeysStatus_Status) Descriptor

func (ImportedRemoteKeysStatus_Status) Enum

func (ImportedRemoteKeysStatus_Status) EnumDescriptor deprecated

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

Deprecated: Use ImportedRemoteKeysStatus_Status.Descriptor instead.

func (ImportedRemoteKeysStatus_Status) Number

func (ImportedRemoteKeysStatus_Status) String

func (ImportedRemoteKeysStatus_Status) Type

type KeyManagementClient

type KeyManagementClient interface {
	ListKeystores(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ListKeystoresResponse, error)
	ImportKeystores(ctx context.Context, in *ImportKeystoresRequest, opts ...grpc.CallOption) (*ImportKeystoresResponse, error)
	DeleteKeystores(ctx context.Context, in *DeleteKeystoresRequest, opts ...grpc.CallOption) (*DeleteKeystoresResponse, error)
	ListRemoteKeys(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ListRemoteKeysResponse, error)
	ImportRemoteKeys(ctx context.Context, in *ImportRemoteKeysRequest, opts ...grpc.CallOption) (*ImportRemoteKeysResponse, error)
	DeleteRemoteKeys(ctx context.Context, in *DeleteRemoteKeysRequest, opts ...grpc.CallOption) (*DeleteRemoteKeysResponse, error)
	ListFeeRecipientByPubkey(ctx context.Context, in *PubkeyRequest, opts ...grpc.CallOption) (*GetFeeRecipientByPubkeyResponse, error)
	SetFeeRecipientByPubkey(ctx context.Context, in *SetFeeRecipientByPubkeyRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	DeleteFeeRecipientByPubkey(ctx context.Context, in *PubkeyRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	GetGasLimit(ctx context.Context, in *PubkeyRequest, opts ...grpc.CallOption) (*GetGasLimitResponse, error)
	SetGasLimit(ctx context.Context, in *SetGasLimitRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

KeyManagementClient is the client API for KeyManagement service.

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

type KeyManagementServer

KeyManagementServer is the server API for KeyManagement service.

type ListKeystoresResponse

type ListKeystoresResponse struct {
	Data []*ListKeystoresResponse_Keystore `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKeystoresResponse) Descriptor deprecated

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

Deprecated: Use ListKeystoresResponse.ProtoReflect.Descriptor instead.

func (*ListKeystoresResponse) GetData

func (*ListKeystoresResponse) ProtoMessage

func (*ListKeystoresResponse) ProtoMessage()

func (*ListKeystoresResponse) ProtoReflect

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

func (*ListKeystoresResponse) Reset

func (x *ListKeystoresResponse) Reset()

func (*ListKeystoresResponse) String

func (x *ListKeystoresResponse) String() string

type ListKeystoresResponse_Keystore

type ListKeystoresResponse_Keystore struct {
	ValidatingPubkey []byte `protobuf:"bytes,1,opt,name=validating_pubkey,json=validatingPubkey,proto3" json:"validating_pubkey,omitempty"`
	DerivationPath   string `protobuf:"bytes,2,opt,name=derivation_path,json=derivationPath,proto3" json:"derivation_path,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKeystoresResponse_Keystore) Descriptor deprecated

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

Deprecated: Use ListKeystoresResponse_Keystore.ProtoReflect.Descriptor instead.

func (*ListKeystoresResponse_Keystore) GetDerivationPath

func (x *ListKeystoresResponse_Keystore) GetDerivationPath() string

func (*ListKeystoresResponse_Keystore) GetValidatingPubkey

func (x *ListKeystoresResponse_Keystore) GetValidatingPubkey() []byte

func (*ListKeystoresResponse_Keystore) ProtoMessage

func (*ListKeystoresResponse_Keystore) ProtoMessage()

func (*ListKeystoresResponse_Keystore) ProtoReflect

func (*ListKeystoresResponse_Keystore) Reset

func (x *ListKeystoresResponse_Keystore) Reset()

func (*ListKeystoresResponse_Keystore) String

type ListRemoteKeysResponse

type ListRemoteKeysResponse struct {
	Data []*ListRemoteKeysResponse_Keystore `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRemoteKeysResponse) Descriptor deprecated

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

Deprecated: Use ListRemoteKeysResponse.ProtoReflect.Descriptor instead.

func (*ListRemoteKeysResponse) GetData

func (*ListRemoteKeysResponse) ProtoMessage

func (*ListRemoteKeysResponse) ProtoMessage()

func (*ListRemoteKeysResponse) ProtoReflect

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

func (*ListRemoteKeysResponse) Reset

func (x *ListRemoteKeysResponse) Reset()

func (*ListRemoteKeysResponse) String

func (x *ListRemoteKeysResponse) String() string

type ListRemoteKeysResponse_Keystore

type ListRemoteKeysResponse_Keystore struct {
	Pubkey   []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	Url      string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	Readonly bool   `protobuf:"varint,3,opt,name=readonly,proto3" json:"readonly,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRemoteKeysResponse_Keystore) Descriptor deprecated

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

Deprecated: Use ListRemoteKeysResponse_Keystore.ProtoReflect.Descriptor instead.

func (*ListRemoteKeysResponse_Keystore) GetPubkey

func (x *ListRemoteKeysResponse_Keystore) GetPubkey() []byte

func (*ListRemoteKeysResponse_Keystore) GetReadonly

func (x *ListRemoteKeysResponse_Keystore) GetReadonly() bool

func (*ListRemoteKeysResponse_Keystore) GetUrl

func (*ListRemoteKeysResponse_Keystore) ProtoMessage

func (*ListRemoteKeysResponse_Keystore) ProtoMessage()

func (*ListRemoteKeysResponse_Keystore) ProtoReflect

func (*ListRemoteKeysResponse_Keystore) Reset

func (*ListRemoteKeysResponse_Keystore) String

type PubkeyRequest

type PubkeyRequest struct {
	Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	// contains filtered or unexported fields
}

func (*PubkeyRequest) Descriptor deprecated

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

Deprecated: Use PubkeyRequest.ProtoReflect.Descriptor instead.

func (*PubkeyRequest) GetPubkey

func (x *PubkeyRequest) GetPubkey() []byte

func (*PubkeyRequest) ProtoMessage

func (*PubkeyRequest) ProtoMessage()

func (*PubkeyRequest) ProtoReflect

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

func (*PubkeyRequest) Reset

func (x *PubkeyRequest) Reset()

func (*PubkeyRequest) String

func (x *PubkeyRequest) String() string

type SetFeeRecipientByPubkeyRequest

type SetFeeRecipientByPubkeyRequest struct {
	Pubkey     []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	Ethaddress []byte `protobuf:"bytes,2,opt,name=ethaddress,proto3" json:"ethaddress,omitempty"`
	// contains filtered or unexported fields
}

func (*SetFeeRecipientByPubkeyRequest) Descriptor deprecated

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

Deprecated: Use SetFeeRecipientByPubkeyRequest.ProtoReflect.Descriptor instead.

func (*SetFeeRecipientByPubkeyRequest) GetEthaddress

func (x *SetFeeRecipientByPubkeyRequest) GetEthaddress() []byte

func (*SetFeeRecipientByPubkeyRequest) GetPubkey

func (x *SetFeeRecipientByPubkeyRequest) GetPubkey() []byte

func (*SetFeeRecipientByPubkeyRequest) ProtoMessage

func (*SetFeeRecipientByPubkeyRequest) ProtoMessage()

func (*SetFeeRecipientByPubkeyRequest) ProtoReflect

func (*SetFeeRecipientByPubkeyRequest) Reset

func (x *SetFeeRecipientByPubkeyRequest) Reset()

func (*SetFeeRecipientByPubkeyRequest) String

type SetGasLimitRequest

type SetGasLimitRequest struct {
	Pubkey   []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	GasLimit uint64 `protobuf:"varint,2,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*SetGasLimitRequest) Descriptor deprecated

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

Deprecated: Use SetGasLimitRequest.ProtoReflect.Descriptor instead.

func (*SetGasLimitRequest) GetGasLimit

func (x *SetGasLimitRequest) GetGasLimit() uint64

func (*SetGasLimitRequest) GetPubkey

func (x *SetGasLimitRequest) GetPubkey() []byte

func (*SetGasLimitRequest) ProtoMessage

func (*SetGasLimitRequest) ProtoMessage()

func (*SetGasLimitRequest) ProtoReflect

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

func (*SetGasLimitRequest) Reset

func (x *SetGasLimitRequest) Reset()

func (*SetGasLimitRequest) String

func (x *SetGasLimitRequest) String() string

type UnimplementedBeaconChainServer

type UnimplementedBeaconChainServer struct {
}

UnimplementedBeaconChainServer can be embedded to have forward compatible implementations.

func (*UnimplementedBeaconChainServer) GetBlock

func (*UnimplementedBeaconChainServer) GetBlockHeader

func (*UnimplementedBeaconChainServer) GetBlockRoot

func (*UnimplementedBeaconChainServer) GetBlockSSZ

func (*UnimplementedBeaconChainServer) GetBlockSSZV2

func (*UnimplementedBeaconChainServer) GetBlockV2

func (*UnimplementedBeaconChainServer) GetDepositContract

func (*UnimplementedBeaconChainServer) GetFinalityCheckpoints

func (*UnimplementedBeaconChainServer) GetForkSchedule

func (*UnimplementedBeaconChainServer) GetGenesis

func (*UnimplementedBeaconChainServer) GetSpec

func (*UnimplementedBeaconChainServer) GetStateFork

func (*UnimplementedBeaconChainServer) GetStateRoot

func (*UnimplementedBeaconChainServer) GetValidator

func (*UnimplementedBeaconChainServer) GetWeakSubjectivity

func (*UnimplementedBeaconChainServer) ListBlockAttestations

func (*UnimplementedBeaconChainServer) ListBlockHeaders

func (*UnimplementedBeaconChainServer) ListCommittees

func (*UnimplementedBeaconChainServer) ListPoolAttestations

func (*UnimplementedBeaconChainServer) ListPoolAttesterSlashings

func (*UnimplementedBeaconChainServer) ListPoolProposerSlashings

func (*UnimplementedBeaconChainServer) ListPoolVoluntaryExits

func (*UnimplementedBeaconChainServer) ListSyncCommittees

func (*UnimplementedBeaconChainServer) ListValidatorBalances

func (*UnimplementedBeaconChainServer) ListValidators

func (*UnimplementedBeaconChainServer) SubmitAttestations

func (*UnimplementedBeaconChainServer) SubmitAttesterSlashing

func (*UnimplementedBeaconChainServer) SubmitBlindedBlock

func (*UnimplementedBeaconChainServer) SubmitBlindedBlockSSZ

func (*UnimplementedBeaconChainServer) SubmitBlock

func (*UnimplementedBeaconChainServer) SubmitBlockSSZ

func (*UnimplementedBeaconChainServer) SubmitPoolSyncCommitteeSignatures

func (*UnimplementedBeaconChainServer) SubmitProposerSlashing

func (*UnimplementedBeaconChainServer) SubmitVoluntaryExit

type UnimplementedBeaconDebugServer

type UnimplementedBeaconDebugServer struct {
}

UnimplementedBeaconDebugServer can be embedded to have forward compatible implementations.

func (*UnimplementedBeaconDebugServer) GetBeaconStateSSZ

func (*UnimplementedBeaconDebugServer) GetBeaconStateSSZV2

func (*UnimplementedBeaconDebugServer) GetBeaconStateV2

func (*UnimplementedBeaconDebugServer) ListForkChoiceHeadsV2

type UnimplementedBeaconNodeServer

type UnimplementedBeaconNodeServer struct {
}

UnimplementedBeaconNodeServer can be embedded to have forward compatible implementations.

func (*UnimplementedBeaconNodeServer) GetHealth

func (*UnimplementedBeaconNodeServer) GetIdentity

func (*UnimplementedBeaconNodeServer) GetPeer

func (*UnimplementedBeaconNodeServer) GetSyncStatus

func (*UnimplementedBeaconNodeServer) GetVersion

func (*UnimplementedBeaconNodeServer) ListPeers

func (*UnimplementedBeaconNodeServer) PeerCount

type UnimplementedBeaconValidatorServer

type UnimplementedBeaconValidatorServer struct {
}

UnimplementedBeaconValidatorServer can be embedded to have forward compatible implementations.

func (*UnimplementedBeaconValidatorServer) GetAggregateAttestation

func (*UnimplementedBeaconValidatorServer) GetAttesterDuties

func (*UnimplementedBeaconValidatorServer) GetProposerDuties

func (*UnimplementedBeaconValidatorServer) GetSyncCommitteeDuties

func (*UnimplementedBeaconValidatorServer) PrepareBeaconProposer

func (*UnimplementedBeaconValidatorServer) ProduceBlindedBlock

func (*UnimplementedBeaconValidatorServer) ProduceBlindedBlockSSZ

func (*UnimplementedBeaconValidatorServer) ProduceBlockV2

func (*UnimplementedBeaconValidatorServer) ProduceBlockV2SSZ

func (*UnimplementedBeaconValidatorServer) SubmitAggregateAndProofs

func (*UnimplementedBeaconValidatorServer) SubmitBeaconCommitteeSubscription

func (*UnimplementedBeaconValidatorServer) SubmitContributionAndProofs

func (*UnimplementedBeaconValidatorServer) SubmitSyncCommitteeSubscription

func (*UnimplementedBeaconValidatorServer) SubmitValidatorRegistration

type UnimplementedEventsServer

type UnimplementedEventsServer struct {
}

UnimplementedEventsServer can be embedded to have forward compatible implementations.

func (*UnimplementedEventsServer) StreamEvents

type UnimplementedKeyManagementServer

type UnimplementedKeyManagementServer struct {
}

UnimplementedKeyManagementServer can be embedded to have forward compatible implementations.

func (*UnimplementedKeyManagementServer) DeleteFeeRecipientByPubkey

func (*UnimplementedKeyManagementServer) DeleteFeeRecipientByPubkey(context.Context, *PubkeyRequest) (*empty.Empty, error)

func (*UnimplementedKeyManagementServer) DeleteKeystores

func (*UnimplementedKeyManagementServer) DeleteRemoteKeys

func (*UnimplementedKeyManagementServer) GetGasLimit

func (*UnimplementedKeyManagementServer) ImportKeystores

func (*UnimplementedKeyManagementServer) ImportRemoteKeys

func (*UnimplementedKeyManagementServer) ListFeeRecipientByPubkey

func (*UnimplementedKeyManagementServer) ListKeystores

func (*UnimplementedKeyManagementServer) ListRemoteKeys

func (*UnimplementedKeyManagementServer) SetFeeRecipientByPubkey

func (*UnimplementedKeyManagementServer) SetGasLimit

Jump to

Keyboard shortcuts

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