Documentation ¶
Overview ¶
Package pbvc is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterAccountsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAccountsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AccountsClient) error
- func RegisterAccountsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAccountsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AccountsServer) error
- func RegisterAccountsServer(s *grpc.Server, srv AccountsServer)
- func RegisterAuthHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAuthHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthClient) error
- func RegisterAuthHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAuthHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthServer) error
- func RegisterAuthServer(s *grpc.Server, srv AuthServer)
- func RegisterBeaconHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterBeaconHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BeaconClient) error
- func RegisterBeaconHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterBeaconHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BeaconServer) error
- func RegisterBeaconServer(s *grpc.Server, srv BeaconServer)
- func RegisterHealthHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterHealthHandlerClient(ctx context.Context, mux *runtime.ServeMux, client HealthClient) error
- func RegisterHealthHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterHealthHandlerServer(ctx context.Context, mux *runtime.ServeMux, server HealthServer) error
- func RegisterHealthServer(s *grpc.Server, srv HealthServer)
- func RegisterSlashingProtectionHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSlashingProtectionHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SlashingProtectionClient) error
- func RegisterSlashingProtectionHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSlashingProtectionHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SlashingProtectionServer) error
- func RegisterSlashingProtectionServer(s *grpc.Server, srv SlashingProtectionServer)
- func RegisterWalletHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterWalletHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WalletClient) error
- func RegisterWalletHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterWalletHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WalletServer) error
- func RegisterWalletServer(s *grpc.Server, srv WalletServer)
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetAccountName() string
- func (x *Account) GetDepositTxData() []byte
- func (x *Account) GetDerivationPath() string
- func (x *Account) GetValidatingPublicKey() []byte
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type AccountRequest
- func (*AccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AccountRequest) GetIndices() []uint64
- func (x *AccountRequest) GetPublicKeys() [][]byte
- func (*AccountRequest) ProtoMessage()
- func (x *AccountRequest) ProtoReflect() protoreflect.Message
- func (x *AccountRequest) Reset()
- func (x *AccountRequest) String() string
- type AccountsClient
- type AccountsServer
- type AuthClient
- type AuthServer
- type BackupAccountsRequest
- func (*BackupAccountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BackupAccountsRequest) GetBackupPassword() string
- func (x *BackupAccountsRequest) GetPublicKeys() [][]byte
- func (*BackupAccountsRequest) ProtoMessage()
- func (x *BackupAccountsRequest) ProtoReflect() protoreflect.Message
- func (x *BackupAccountsRequest) Reset()
- func (x *BackupAccountsRequest) String() string
- type BackupAccountsResponse
- func (*BackupAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BackupAccountsResponse) GetZipFile() []byte
- func (*BackupAccountsResponse) ProtoMessage()
- func (x *BackupAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *BackupAccountsResponse) Reset()
- func (x *BackupAccountsResponse) String() string
- type BeaconClient
- type BeaconServer
- type BeaconStatusResponse
- func (*BeaconStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BeaconStatusResponse) GetChainHead() *consensus.ChainHead
- func (x *BeaconStatusResponse) GetConnected() bool
- func (x *BeaconStatusResponse) GetGenesisTime() uint64
- func (x *BeaconStatusResponse) GetNodeEndpoint() string
- func (x *BeaconStatusResponse) GetSyncing() bool
- func (*BeaconStatusResponse) ProtoMessage()
- func (x *BeaconStatusResponse) ProtoReflect() protoreflect.Message
- func (x *BeaconStatusResponse) Reset()
- func (x *BeaconStatusResponse) String() string
- type CreateWalletRequest
- func (*CreateWalletRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWalletRequest) GetMnemonic() string
- func (x *CreateWalletRequest) GetNumAccounts() uint64
- func (x *CreateWalletRequest) GetRemoteAddr() string
- func (x *CreateWalletRequest) GetRemoteCaCrtPath() string
- func (x *CreateWalletRequest) GetRemoteCrtPath() string
- func (x *CreateWalletRequest) GetRemoteKeyPath() string
- func (x *CreateWalletRequest) GetWalletPassword() string
- func (*CreateWalletRequest) ProtoMessage()
- func (x *CreateWalletRequest) ProtoReflect() protoreflect.Message
- func (x *CreateWalletRequest) Reset()
- func (x *CreateWalletRequest) String() string
- type CreateWalletResponse
- func (*CreateWalletResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWalletResponse) GetWallet() *WalletResponse
- func (*CreateWalletResponse) ProtoMessage()
- func (x *CreateWalletResponse) ProtoReflect() protoreflect.Message
- func (x *CreateWalletResponse) Reset()
- func (x *CreateWalletResponse) String() string
- type DeleteAccountsRequest
- func (*DeleteAccountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAccountsRequest) GetPublicKeysToDelete() [][]byte
- func (*DeleteAccountsRequest) ProtoMessage()
- func (x *DeleteAccountsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAccountsRequest) Reset()
- func (x *DeleteAccountsRequest) String() string
- type DeleteAccountsResponse
- func (*DeleteAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAccountsResponse) GetDeletedKeys() [][]byte
- func (*DeleteAccountsResponse) ProtoMessage()
- func (x *DeleteAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteAccountsResponse) Reset()
- func (x *DeleteAccountsResponse) String() string
- type EditWalletConfigRequest
- func (*EditWalletConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EditWalletConfigRequest) GetRemoteAddr() string
- func (x *EditWalletConfigRequest) GetRemoteCaCrtPath() string
- func (x *EditWalletConfigRequest) GetRemoteCrtPath() string
- func (x *EditWalletConfigRequest) GetRemoteKeyPath() string
- func (*EditWalletConfigRequest) ProtoMessage()
- func (x *EditWalletConfigRequest) ProtoReflect() protoreflect.Message
- func (x *EditWalletConfigRequest) Reset()
- func (x *EditWalletConfigRequest) String() string
- type ExportSlashingProtectionResponse
- func (*ExportSlashingProtectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExportSlashingProtectionResponse) GetFile() string
- func (*ExportSlashingProtectionResponse) ProtoMessage()
- func (x *ExportSlashingProtectionResponse) ProtoReflect() protoreflect.Message
- func (x *ExportSlashingProtectionResponse) Reset()
- func (x *ExportSlashingProtectionResponse) String() string
- type GenerateMnemonicResponse
- func (*GenerateMnemonicResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateMnemonicResponse) GetMnemonic() string
- func (*GenerateMnemonicResponse) ProtoMessage()
- func (x *GenerateMnemonicResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateMnemonicResponse) Reset()
- func (x *GenerateMnemonicResponse) String() string
- type HasWalletResponse
- func (*HasWalletResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HasWalletResponse) GetWalletExists() bool
- func (*HasWalletResponse) ProtoMessage()
- func (x *HasWalletResponse) ProtoReflect() protoreflect.Message
- func (x *HasWalletResponse) Reset()
- func (x *HasWalletResponse) String() string
- type HealthClient
- type HealthServer
- type ImportAccountsRequest
- func (*ImportAccountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportAccountsRequest) GetKeystoresImported() []string
- func (x *ImportAccountsRequest) GetKeystoresPassword() string
- func (*ImportAccountsRequest) ProtoMessage()
- func (x *ImportAccountsRequest) ProtoReflect() protoreflect.Message
- func (x *ImportAccountsRequest) Reset()
- func (x *ImportAccountsRequest) String() string
- type ImportAccountsResponse
- func (*ImportAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImportAccountsResponse) GetImportedPublicKeys() [][]byte
- func (*ImportAccountsResponse) ProtoMessage()
- func (x *ImportAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *ImportAccountsResponse) Reset()
- func (x *ImportAccountsResponse) String() string
- type ImportSlashingProtectionRequest
- func (*ImportSlashingProtectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportSlashingProtectionRequest) GetSlashingProtectionJson() string
- func (*ImportSlashingProtectionRequest) ProtoMessage()
- func (x *ImportSlashingProtectionRequest) ProtoReflect() protoreflect.Message
- func (x *ImportSlashingProtectionRequest) Reset()
- func (x *ImportSlashingProtectionRequest) String() string
- type InitializeAuthRequest
- func (*InitializeAuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitializeAuthRequest) GetToken() string
- func (*InitializeAuthRequest) ProtoMessage()
- func (x *InitializeAuthRequest) ProtoReflect() protoreflect.Message
- func (x *InitializeAuthRequest) Reset()
- func (x *InitializeAuthRequest) String() string
- type InitializeAuthResponse
- func (*InitializeAuthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitializeAuthResponse) GetHasSignedUp() bool
- func (x *InitializeAuthResponse) GetHasWallet() bool
- func (*InitializeAuthResponse) ProtoMessage()
- func (x *InitializeAuthResponse) ProtoReflect() protoreflect.Message
- func (x *InitializeAuthResponse) Reset()
- func (x *InitializeAuthResponse) String() string
- type ListAccountsRequest
- func (*ListAccountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountsRequest) GetAll() bool
- func (x *ListAccountsRequest) GetGetDepositTxData() bool
- func (x *ListAccountsRequest) GetPageSize() int32
- func (x *ListAccountsRequest) GetPageToken() string
- func (*ListAccountsRequest) ProtoMessage()
- func (x *ListAccountsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAccountsRequest) Reset()
- func (x *ListAccountsRequest) String() string
- type ListAccountsResponse
- func (*ListAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountsResponse) GetAccounts() []*Account
- func (x *ListAccountsResponse) GetNextPageToken() string
- func (x *ListAccountsResponse) GetTotalSize() int32
- func (*ListAccountsResponse) ProtoMessage()
- func (x *ListAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAccountsResponse) Reset()
- func (x *ListAccountsResponse) String() string
- type NodeConnectionResponse
- func (*NodeConnectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NodeConnectionResponse) GetConnected() bool
- func (x *NodeConnectionResponse) GetGenesisTime() uint64
- func (x *NodeConnectionResponse) GetNodeEndpoint() string
- func (x *NodeConnectionResponse) GetSyncing() bool
- func (*NodeConnectionResponse) ProtoMessage()
- func (x *NodeConnectionResponse) ProtoReflect() protoreflect.Message
- func (x *NodeConnectionResponse) Reset()
- func (x *NodeConnectionResponse) String() string
- type RecoverWalletRequest
- func (*RecoverWalletRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RecoverWalletRequest) GetLanguage() string
- func (x *RecoverWalletRequest) GetMnemonic() string
- func (x *RecoverWalletRequest) GetMnemonic25ThWord() string
- func (x *RecoverWalletRequest) GetNumAccounts() uint64
- func (x *RecoverWalletRequest) GetWalletPassword() string
- func (*RecoverWalletRequest) ProtoMessage()
- func (x *RecoverWalletRequest) ProtoReflect() protoreflect.Message
- func (x *RecoverWalletRequest) Reset()
- func (x *RecoverWalletRequest) String() string
- type SlashingProtectionClient
- type SlashingProtectionServer
- type UnimplementedAccountsServer
- func (*UnimplementedAccountsServer) BackupAccounts(context.Context, *BackupAccountsRequest) (*BackupAccountsResponse, error)
- func (*UnimplementedAccountsServer) DeleteAccounts(context.Context, *DeleteAccountsRequest) (*DeleteAccountsResponse, error)
- func (*UnimplementedAccountsServer) ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error)
- type UnimplementedAuthServer
- type UnimplementedBeaconServer
- func (*UnimplementedBeaconServer) GetBeaconStatus(context.Context, *emptypb.Empty) (*BeaconStatusResponse, error)
- func (*UnimplementedBeaconServer) GetPeers(context.Context, *emptypb.Empty) (*consensus.Peers, error)
- func (*UnimplementedBeaconServer) GetValidatorBalances(context.Context, *consensus.ListValidatorBalancesRequest) (*consensus.ValidatorBalances, error)
- func (*UnimplementedBeaconServer) GetValidatorParticipation(context.Context, *consensus.GetValidatorParticipationRequest) (*consensus.ValidatorParticipationResponse, error)
- func (*UnimplementedBeaconServer) GetValidatorPerformance(context.Context, *consensus.ValidatorPerformanceRequest) (*consensus.ValidatorPerformanceResponse, error)
- func (*UnimplementedBeaconServer) GetValidatorQueue(context.Context, *emptypb.Empty) (*consensus.ValidatorQueue, error)
- func (*UnimplementedBeaconServer) GetValidators(context.Context, *consensus.ListValidatorsRequest) (*consensus.Validators, error)
- type UnimplementedHealthServer
- type UnimplementedSlashingProtectionServer
- type UnimplementedWalletServer
- func (*UnimplementedWalletServer) CreateWallet(context.Context, *CreateWalletRequest) (*CreateWalletResponse, error)
- func (*UnimplementedWalletServer) ImportAccounts(context.Context, *ImportAccountsRequest) (*ImportAccountsResponse, error)
- func (*UnimplementedWalletServer) RecoverWallet(context.Context, *RecoverWalletRequest) (*CreateWalletResponse, error)
- func (*UnimplementedWalletServer) ValidateKeystores(context.Context, *ValidateKeystoresRequest) (*emptypb.Empty, error)
- type ValidateKeystoresRequest
- func (*ValidateKeystoresRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateKeystoresRequest) GetKeystores() []string
- func (x *ValidateKeystoresRequest) GetKeystoresPassword() string
- func (*ValidateKeystoresRequest) ProtoMessage()
- func (x *ValidateKeystoresRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateKeystoresRequest) Reset()
- func (x *ValidateKeystoresRequest) String() string
- type VersionResponse
- func (*VersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VersionResponse) GetBeacon() string
- func (x *VersionResponse) GetValidator() string
- func (*VersionResponse) ProtoMessage()
- func (x *VersionResponse) ProtoReflect() protoreflect.Message
- func (x *VersionResponse) Reset()
- func (x *VersionResponse) String() string
- type WalletClient
- type WalletResponse
- type WalletServer
Constants ¶
This section is empty.
Variables ¶
var File_consensus_validator_client_web_api_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAccountsHandler ¶
func RegisterAccountsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAccountsHandler registers the http handlers for service Accounts to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAccountsHandlerClient ¶
func RegisterAccountsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AccountsClient) error
RegisterAccountsHandlerClient registers the http handlers for service Accounts to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AccountsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AccountsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AccountsClient" to call the correct interceptors.
func RegisterAccountsHandlerFromEndpoint ¶
func RegisterAccountsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAccountsHandlerFromEndpoint is same as RegisterAccountsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAccountsHandlerServer ¶
func RegisterAccountsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AccountsServer) error
RegisterAccountsHandlerServer registers the http handlers for service Accounts to "mux". UnaryRPC :call AccountsServer 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 RegisterAccountsHandlerFromEndpoint instead.
func RegisterAccountsServer ¶
func RegisterAccountsServer(s *grpc.Server, srv AccountsServer)
func RegisterAuthHandler ¶
RegisterAuthHandler registers the http handlers for service Auth to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAuthHandlerClient ¶
RegisterAuthHandlerClient registers the http handlers for service Auth to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AuthClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AuthClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AuthClient" to call the correct interceptors.
func RegisterAuthHandlerFromEndpoint ¶
func RegisterAuthHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAuthHandlerFromEndpoint is same as RegisterAuthHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAuthHandlerServer ¶
RegisterAuthHandlerServer registers the http handlers for service Auth to "mux". UnaryRPC :call AuthServer 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 RegisterAuthHandlerFromEndpoint instead.
func RegisterAuthServer ¶
func RegisterAuthServer(s *grpc.Server, srv AuthServer)
func RegisterBeaconHandler ¶
RegisterBeaconHandler registers the http handlers for service Beacon to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterBeaconHandlerClient ¶
func RegisterBeaconHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BeaconClient) error
RegisterBeaconHandlerClient registers the http handlers for service Beacon to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BeaconClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BeaconClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "BeaconClient" to call the correct interceptors.
func RegisterBeaconHandlerFromEndpoint ¶
func RegisterBeaconHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterBeaconHandlerFromEndpoint is same as RegisterBeaconHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterBeaconHandlerServer ¶
func RegisterBeaconHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BeaconServer) error
RegisterBeaconHandlerServer registers the http handlers for service Beacon to "mux". UnaryRPC :call BeaconServer 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 RegisterBeaconHandlerFromEndpoint instead.
func RegisterBeaconServer ¶
func RegisterBeaconServer(s *grpc.Server, srv BeaconServer)
func RegisterHealthHandler ¶
RegisterHealthHandler registers the http handlers for service Health to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterHealthHandlerClient ¶
func RegisterHealthHandlerClient(ctx context.Context, mux *runtime.ServeMux, client HealthClient) error
RegisterHealthHandlerClient registers the http handlers for service Health to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "HealthClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "HealthClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "HealthClient" to call the correct interceptors.
func RegisterHealthHandlerFromEndpoint ¶
func RegisterHealthHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterHealthHandlerFromEndpoint is same as RegisterHealthHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterHealthHandlerServer ¶
func RegisterHealthHandlerServer(ctx context.Context, mux *runtime.ServeMux, server HealthServer) error
RegisterHealthHandlerServer registers the http handlers for service Health to "mux". UnaryRPC :call HealthServer 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 RegisterHealthHandlerFromEndpoint instead.
func RegisterHealthServer ¶
func RegisterHealthServer(s *grpc.Server, srv HealthServer)
func RegisterSlashingProtectionHandler ¶
func RegisterSlashingProtectionHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSlashingProtectionHandler registers the http handlers for service SlashingProtection to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSlashingProtectionHandlerClient ¶
func RegisterSlashingProtectionHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SlashingProtectionClient) error
RegisterSlashingProtectionHandlerClient registers the http handlers for service SlashingProtection to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SlashingProtectionClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SlashingProtectionClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SlashingProtectionClient" to call the correct interceptors.
func RegisterSlashingProtectionHandlerFromEndpoint ¶
func RegisterSlashingProtectionHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSlashingProtectionHandlerFromEndpoint is same as RegisterSlashingProtectionHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSlashingProtectionHandlerServer ¶
func RegisterSlashingProtectionHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SlashingProtectionServer) error
RegisterSlashingProtectionHandlerServer registers the http handlers for service SlashingProtection to "mux". UnaryRPC :call SlashingProtectionServer 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 RegisterSlashingProtectionHandlerFromEndpoint instead.
func RegisterSlashingProtectionServer ¶
func RegisterSlashingProtectionServer(s *grpc.Server, srv SlashingProtectionServer)
func RegisterWalletHandler ¶
RegisterWalletHandler registers the http handlers for service Wallet to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterWalletHandlerClient ¶
func RegisterWalletHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WalletClient) error
RegisterWalletHandlerClient registers the http handlers for service Wallet to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "WalletClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "WalletClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "WalletClient" to call the correct interceptors.
func RegisterWalletHandlerFromEndpoint ¶
func RegisterWalletHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterWalletHandlerFromEndpoint is same as RegisterWalletHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterWalletHandlerServer ¶
func RegisterWalletHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WalletServer) error
RegisterWalletHandlerServer registers the http handlers for service Wallet to "mux". UnaryRPC :call WalletServer 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 RegisterWalletHandlerFromEndpoint instead.
func RegisterWalletServer ¶
func RegisterWalletServer(s *grpc.Server, srv WalletServer)
Types ¶
type Account ¶
type Account struct { // The validating public key. ValidatingPublicKey []byte `protobuf:"bytes,1,opt,name=validating_public_key,json=validatingPublicKey,proto3" json:"validating_public_key,omitempty"` // The human readable account name. AccountName string `protobuf:"bytes,2,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` // The deposit data transaction RLP bytes. DepositTxData []byte `protobuf:"bytes,3,opt,name=deposit_tx_data,json=depositTxData,proto3" json:"deposit_tx_data,omitempty"` // The derivation path (if using HD wallet). DerivationPath string `protobuf:"bytes,4,opt,name=derivation_path,json=derivationPath,proto3" json:"derivation_path,omitempty"` // contains filtered or unexported fields }
func (*Account) Descriptor
deprecated
func (*Account) GetAccountName ¶
func (*Account) GetDepositTxData ¶
func (*Account) GetDerivationPath ¶
func (*Account) GetValidatingPublicKey ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type AccountRequest ¶
type AccountRequest struct { // A list of validator public keys. PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` // A list of validator indices. Indices []uint64 `protobuf:"varint,2,rep,packed,name=indices,proto3" json:"indices,omitempty"` // contains filtered or unexported fields }
func (*AccountRequest) Descriptor
deprecated
func (*AccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use AccountRequest.ProtoReflect.Descriptor instead.
func (*AccountRequest) GetIndices ¶
func (x *AccountRequest) GetIndices() []uint64
func (*AccountRequest) GetPublicKeys ¶
func (x *AccountRequest) GetPublicKeys() [][]byte
func (*AccountRequest) ProtoMessage ¶
func (*AccountRequest) ProtoMessage()
func (*AccountRequest) ProtoReflect ¶
func (x *AccountRequest) ProtoReflect() protoreflect.Message
func (*AccountRequest) Reset ¶
func (x *AccountRequest) Reset()
func (*AccountRequest) String ¶
func (x *AccountRequest) String() string
type AccountsClient ¶
type AccountsClient interface { ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*ListAccountsResponse, error) BackupAccounts(ctx context.Context, in *BackupAccountsRequest, opts ...grpc.CallOption) (*BackupAccountsResponse, error) DeleteAccounts(ctx context.Context, in *DeleteAccountsRequest, opts ...grpc.CallOption) (*DeleteAccountsResponse, error) }
AccountsClient is the client API for Accounts service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAccountsClient ¶
func NewAccountsClient(cc grpc.ClientConnInterface) AccountsClient
type AccountsServer ¶
type AccountsServer interface { ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error) BackupAccounts(context.Context, *BackupAccountsRequest) (*BackupAccountsResponse, error) DeleteAccounts(context.Context, *DeleteAccountsRequest) (*DeleteAccountsResponse, error) }
AccountsServer is the server API for Accounts service.
type AuthClient ¶
type AuthClient interface {
Initialize(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*InitializeAuthResponse, error)
}
AuthClient is the client API for Auth service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAuthClient ¶
func NewAuthClient(cc grpc.ClientConnInterface) AuthClient
type AuthServer ¶
type AuthServer interface {
Initialize(context.Context, *emptypb.Empty) (*InitializeAuthResponse, error)
}
AuthServer is the server API for Auth service.
type BackupAccountsRequest ¶
type BackupAccountsRequest struct { // List of public keys to backup. PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` BackupPassword string `protobuf:"bytes,2,opt,name=backup_password,json=backupPassword,proto3" json:"backup_password,omitempty"` // contains filtered or unexported fields }
func (*BackupAccountsRequest) Descriptor
deprecated
func (*BackupAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BackupAccountsRequest.ProtoReflect.Descriptor instead.
func (*BackupAccountsRequest) GetBackupPassword ¶
func (x *BackupAccountsRequest) GetBackupPassword() string
func (*BackupAccountsRequest) GetPublicKeys ¶
func (x *BackupAccountsRequest) GetPublicKeys() [][]byte
func (*BackupAccountsRequest) ProtoMessage ¶
func (*BackupAccountsRequest) ProtoMessage()
func (*BackupAccountsRequest) ProtoReflect ¶
func (x *BackupAccountsRequest) ProtoReflect() protoreflect.Message
func (*BackupAccountsRequest) Reset ¶
func (x *BackupAccountsRequest) Reset()
func (*BackupAccountsRequest) String ¶
func (x *BackupAccountsRequest) String() string
type BackupAccountsResponse ¶
type BackupAccountsResponse struct { // Zip file containing backed up keystores. ZipFile []byte `protobuf:"bytes,1,opt,name=zip_file,json=zipFile,proto3" json:"zip_file,omitempty"` // contains filtered or unexported fields }
func (*BackupAccountsResponse) Descriptor
deprecated
func (*BackupAccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BackupAccountsResponse.ProtoReflect.Descriptor instead.
func (*BackupAccountsResponse) GetZipFile ¶
func (x *BackupAccountsResponse) GetZipFile() []byte
func (*BackupAccountsResponse) ProtoMessage ¶
func (*BackupAccountsResponse) ProtoMessage()
func (*BackupAccountsResponse) ProtoReflect ¶
func (x *BackupAccountsResponse) ProtoReflect() protoreflect.Message
func (*BackupAccountsResponse) Reset ¶
func (x *BackupAccountsResponse) Reset()
func (*BackupAccountsResponse) String ¶
func (x *BackupAccountsResponse) String() string
type BeaconClient ¶
type BeaconClient interface { GetBeaconStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*BeaconStatusResponse, error) GetValidatorParticipation(ctx context.Context, in *consensus.GetValidatorParticipationRequest, opts ...grpc.CallOption) (*consensus.ValidatorParticipationResponse, error) GetValidatorPerformance(ctx context.Context, in *consensus.ValidatorPerformanceRequest, opts ...grpc.CallOption) (*consensus.ValidatorPerformanceResponse, error) GetValidators(ctx context.Context, in *consensus.ListValidatorsRequest, opts ...grpc.CallOption) (*consensus.Validators, error) GetValidatorBalances(ctx context.Context, in *consensus.ListValidatorBalancesRequest, opts ...grpc.CallOption) (*consensus.ValidatorBalances, error) GetValidatorQueue(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*consensus.ValidatorQueue, error) GetPeers(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*consensus.Peers, error) }
BeaconClient is the client API for Beacon service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBeaconClient ¶
func NewBeaconClient(cc grpc.ClientConnInterface) BeaconClient
type BeaconServer ¶
type BeaconServer interface { GetBeaconStatus(context.Context, *emptypb.Empty) (*BeaconStatusResponse, error) GetValidatorParticipation(context.Context, *consensus.GetValidatorParticipationRequest) (*consensus.ValidatorParticipationResponse, error) GetValidatorPerformance(context.Context, *consensus.ValidatorPerformanceRequest) (*consensus.ValidatorPerformanceResponse, error) GetValidators(context.Context, *consensus.ListValidatorsRequest) (*consensus.Validators, error) GetValidatorBalances(context.Context, *consensus.ListValidatorBalancesRequest) (*consensus.ValidatorBalances, error) GetValidatorQueue(context.Context, *emptypb.Empty) (*consensus.ValidatorQueue, error) GetPeers(context.Context, *emptypb.Empty) (*consensus.Peers, error) }
BeaconServer is the server API for Beacon service.
type BeaconStatusResponse ¶
type BeaconStatusResponse struct { // The host address of the node the validator // client is connected to. NodeEndpoint string `protobuf:"bytes,1,opt,name=node_endpoint,json=nodeEndpoint,proto3" json:"node_endpoint,omitempty"` // Whether the connection is active. Connected bool `protobuf:"varint,2,opt,name=connected,proto3" json:"connected,omitempty"` // Whether the node is currently synchronizing to chain head. Syncing bool `protobuf:"varint,3,opt,name=syncing,proto3" json:"syncing,omitempty"` // The chain genesis time. GenesisTime uint64 `protobuf:"varint,4,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` // The head of the chain from the node. ChainHead *consensus.ChainHead `protobuf:"bytes,6,opt,name=chain_head,json=chainHead,proto3" json:"chain_head,omitempty"` // contains filtered or unexported fields }
func (*BeaconStatusResponse) Descriptor
deprecated
func (*BeaconStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use BeaconStatusResponse.ProtoReflect.Descriptor instead.
func (*BeaconStatusResponse) GetChainHead ¶
func (x *BeaconStatusResponse) GetChainHead() *consensus.ChainHead
func (*BeaconStatusResponse) GetConnected ¶
func (x *BeaconStatusResponse) GetConnected() bool
func (*BeaconStatusResponse) GetGenesisTime ¶
func (x *BeaconStatusResponse) GetGenesisTime() uint64
func (*BeaconStatusResponse) GetNodeEndpoint ¶
func (x *BeaconStatusResponse) GetNodeEndpoint() string
func (*BeaconStatusResponse) GetSyncing ¶
func (x *BeaconStatusResponse) GetSyncing() bool
func (*BeaconStatusResponse) ProtoMessage ¶
func (*BeaconStatusResponse) ProtoMessage()
func (*BeaconStatusResponse) ProtoReflect ¶
func (x *BeaconStatusResponse) ProtoReflect() protoreflect.Message
func (*BeaconStatusResponse) Reset ¶
func (x *BeaconStatusResponse) Reset()
func (*BeaconStatusResponse) String ¶
func (x *BeaconStatusResponse) String() string
type CreateWalletRequest ¶
type CreateWalletRequest struct { // Password for the wallet. WalletPassword string `protobuf:"bytes,2,opt,name=wallet_password,json=walletPassword,proto3" json:"wallet_password,omitempty"` // Mnemonic in case the user is creating a derived wallet. Mnemonic string `protobuf:"bytes,3,opt,name=mnemonic,proto3" json:"mnemonic,omitempty"` // Number of accounts. NumAccounts uint64 `protobuf:"varint,4,opt,name=num_accounts,json=numAccounts,proto3" json:"num_accounts,omitempty"` // Remote address such as host.example.com:4000 for a gRPC remote signer server. RemoteAddr string `protobuf:"bytes,5,opt,name=remote_addr,json=remoteAddr,proto3" json:"remote_addr,omitempty"` // Path to client.crt for secure TLS connections to a remote signer server. RemoteCrtPath string `protobuf:"bytes,6,opt,name=remote_crt_path,json=remoteCrtPath,proto3" json:"remote_crt_path,omitempty"` // Path to client.key for secure TLS connections to a remote signer server. RemoteKeyPath string `protobuf:"bytes,7,opt,name=remote_key_path,json=remoteKeyPath,proto3" json:"remote_key_path,omitempty"` // Path to ca.crt for secure TLS connections to a remote signer server. RemoteCaCrtPath string `protobuf:"bytes,8,opt,name=remote_ca_crt_path,json=remoteCaCrtPath,proto3" json:"remote_ca_crt_path,omitempty"` // contains filtered or unexported fields }
func (*CreateWalletRequest) Descriptor
deprecated
func (*CreateWalletRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateWalletRequest.ProtoReflect.Descriptor instead.
func (*CreateWalletRequest) GetMnemonic ¶
func (x *CreateWalletRequest) GetMnemonic() string
func (*CreateWalletRequest) GetNumAccounts ¶
func (x *CreateWalletRequest) GetNumAccounts() uint64
func (*CreateWalletRequest) GetRemoteAddr ¶
func (x *CreateWalletRequest) GetRemoteAddr() string
func (*CreateWalletRequest) GetRemoteCaCrtPath ¶
func (x *CreateWalletRequest) GetRemoteCaCrtPath() string
func (*CreateWalletRequest) GetRemoteCrtPath ¶
func (x *CreateWalletRequest) GetRemoteCrtPath() string
func (*CreateWalletRequest) GetRemoteKeyPath ¶
func (x *CreateWalletRequest) GetRemoteKeyPath() string
func (*CreateWalletRequest) GetWalletPassword ¶
func (x *CreateWalletRequest) GetWalletPassword() string
func (*CreateWalletRequest) ProtoMessage ¶
func (*CreateWalletRequest) ProtoMessage()
func (*CreateWalletRequest) ProtoReflect ¶
func (x *CreateWalletRequest) ProtoReflect() protoreflect.Message
func (*CreateWalletRequest) Reset ¶
func (x *CreateWalletRequest) Reset()
func (*CreateWalletRequest) String ¶
func (x *CreateWalletRequest) String() string
type CreateWalletResponse ¶
type CreateWalletResponse struct { Wallet *WalletResponse `protobuf:"bytes,1,opt,name=wallet,proto3" json:"wallet,omitempty"` // contains filtered or unexported fields }
func (*CreateWalletResponse) Descriptor
deprecated
func (*CreateWalletResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateWalletResponse.ProtoReflect.Descriptor instead.
func (*CreateWalletResponse) GetWallet ¶
func (x *CreateWalletResponse) GetWallet() *WalletResponse
func (*CreateWalletResponse) ProtoMessage ¶
func (*CreateWalletResponse) ProtoMessage()
func (*CreateWalletResponse) ProtoReflect ¶
func (x *CreateWalletResponse) ProtoReflect() protoreflect.Message
func (*CreateWalletResponse) Reset ¶
func (x *CreateWalletResponse) Reset()
func (*CreateWalletResponse) String ¶
func (x *CreateWalletResponse) String() string
type DeleteAccountsRequest ¶
type DeleteAccountsRequest struct { // List of public keys to delete. PublicKeysToDelete [][]byte `protobuf:"bytes,1,rep,name=public_keys_to_delete,json=publicKeysToDelete,proto3" json:"public_keys_to_delete,omitempty"` // contains filtered or unexported fields }
func (*DeleteAccountsRequest) Descriptor
deprecated
func (*DeleteAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAccountsRequest.ProtoReflect.Descriptor instead.
func (*DeleteAccountsRequest) GetPublicKeysToDelete ¶
func (x *DeleteAccountsRequest) GetPublicKeysToDelete() [][]byte
func (*DeleteAccountsRequest) ProtoMessage ¶
func (*DeleteAccountsRequest) ProtoMessage()
func (*DeleteAccountsRequest) ProtoReflect ¶
func (x *DeleteAccountsRequest) ProtoReflect() protoreflect.Message
func (*DeleteAccountsRequest) Reset ¶
func (x *DeleteAccountsRequest) Reset()
func (*DeleteAccountsRequest) String ¶
func (x *DeleteAccountsRequest) String() string
type DeleteAccountsResponse ¶
type DeleteAccountsResponse struct { // List of public keys successfully deleted. DeletedKeys [][]byte `protobuf:"bytes,1,rep,name=deleted_keys,json=deletedKeys,proto3" json:"deleted_keys,omitempty"` // contains filtered or unexported fields }
func (*DeleteAccountsResponse) Descriptor
deprecated
func (*DeleteAccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAccountsResponse.ProtoReflect.Descriptor instead.
func (*DeleteAccountsResponse) GetDeletedKeys ¶
func (x *DeleteAccountsResponse) GetDeletedKeys() [][]byte
func (*DeleteAccountsResponse) ProtoMessage ¶
func (*DeleteAccountsResponse) ProtoMessage()
func (*DeleteAccountsResponse) ProtoReflect ¶
func (x *DeleteAccountsResponse) ProtoReflect() protoreflect.Message
func (*DeleteAccountsResponse) Reset ¶
func (x *DeleteAccountsResponse) Reset()
func (*DeleteAccountsResponse) String ¶
func (x *DeleteAccountsResponse) String() string
type EditWalletConfigRequest ¶
type EditWalletConfigRequest struct { RemoteAddr string `protobuf:"bytes,1,opt,name=remote_addr,json=remoteAddr,proto3" json:"remote_addr,omitempty"` RemoteCrtPath string `protobuf:"bytes,2,opt,name=remote_crt_path,json=remoteCrtPath,proto3" json:"remote_crt_path,omitempty"` RemoteKeyPath string `protobuf:"bytes,3,opt,name=remote_key_path,json=remoteKeyPath,proto3" json:"remote_key_path,omitempty"` RemoteCaCrtPath string `protobuf:"bytes,4,opt,name=remote_ca_crt_path,json=remoteCaCrtPath,proto3" json:"remote_ca_crt_path,omitempty"` // contains filtered or unexported fields }
func (*EditWalletConfigRequest) Descriptor
deprecated
func (*EditWalletConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use EditWalletConfigRequest.ProtoReflect.Descriptor instead.
func (*EditWalletConfigRequest) GetRemoteAddr ¶
func (x *EditWalletConfigRequest) GetRemoteAddr() string
func (*EditWalletConfigRequest) GetRemoteCaCrtPath ¶
func (x *EditWalletConfigRequest) GetRemoteCaCrtPath() string
func (*EditWalletConfigRequest) GetRemoteCrtPath ¶
func (x *EditWalletConfigRequest) GetRemoteCrtPath() string
func (*EditWalletConfigRequest) GetRemoteKeyPath ¶
func (x *EditWalletConfigRequest) GetRemoteKeyPath() string
func (*EditWalletConfigRequest) ProtoMessage ¶
func (*EditWalletConfigRequest) ProtoMessage()
func (*EditWalletConfigRequest) ProtoReflect ¶
func (x *EditWalletConfigRequest) ProtoReflect() protoreflect.Message
func (*EditWalletConfigRequest) Reset ¶
func (x *EditWalletConfigRequest) Reset()
func (*EditWalletConfigRequest) String ¶
func (x *EditWalletConfigRequest) String() string
type ExportSlashingProtectionResponse ¶
type ExportSlashingProtectionResponse struct { // JSON representation of the slash protection File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` // contains filtered or unexported fields }
func (*ExportSlashingProtectionResponse) Descriptor
deprecated
func (*ExportSlashingProtectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExportSlashingProtectionResponse.ProtoReflect.Descriptor instead.
func (*ExportSlashingProtectionResponse) GetFile ¶
func (x *ExportSlashingProtectionResponse) GetFile() string
func (*ExportSlashingProtectionResponse) ProtoMessage ¶
func (*ExportSlashingProtectionResponse) ProtoMessage()
func (*ExportSlashingProtectionResponse) ProtoReflect ¶
func (x *ExportSlashingProtectionResponse) ProtoReflect() protoreflect.Message
func (*ExportSlashingProtectionResponse) Reset ¶
func (x *ExportSlashingProtectionResponse) Reset()
func (*ExportSlashingProtectionResponse) String ¶
func (x *ExportSlashingProtectionResponse) String() string
type GenerateMnemonicResponse ¶
type GenerateMnemonicResponse struct { Mnemonic string `protobuf:"bytes,1,opt,name=mnemonic,proto3" json:"mnemonic,omitempty"` // contains filtered or unexported fields }
func (*GenerateMnemonicResponse) Descriptor
deprecated
func (*GenerateMnemonicResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateMnemonicResponse.ProtoReflect.Descriptor instead.
func (*GenerateMnemonicResponse) GetMnemonic ¶
func (x *GenerateMnemonicResponse) GetMnemonic() string
func (*GenerateMnemonicResponse) ProtoMessage ¶
func (*GenerateMnemonicResponse) ProtoMessage()
func (*GenerateMnemonicResponse) ProtoReflect ¶
func (x *GenerateMnemonicResponse) ProtoReflect() protoreflect.Message
func (*GenerateMnemonicResponse) Reset ¶
func (x *GenerateMnemonicResponse) Reset()
func (*GenerateMnemonicResponse) String ¶
func (x *GenerateMnemonicResponse) String() string
type HasWalletResponse ¶
type HasWalletResponse struct { // Whether or not the user has a wallet on disk. WalletExists bool `protobuf:"varint,1,opt,name=wallet_exists,json=walletExists,proto3" json:"wallet_exists,omitempty"` // contains filtered or unexported fields }
func (*HasWalletResponse) Descriptor
deprecated
func (*HasWalletResponse) Descriptor() ([]byte, []int)
Deprecated: Use HasWalletResponse.ProtoReflect.Descriptor instead.
func (*HasWalletResponse) GetWalletExists ¶
func (x *HasWalletResponse) GetWalletExists() bool
func (*HasWalletResponse) ProtoMessage ¶
func (*HasWalletResponse) ProtoMessage()
func (*HasWalletResponse) ProtoReflect ¶
func (x *HasWalletResponse) ProtoReflect() protoreflect.Message
func (*HasWalletResponse) Reset ¶
func (x *HasWalletResponse) Reset()
func (*HasWalletResponse) String ¶
func (x *HasWalletResponse) String() string
type HealthClient ¶
type HealthClient interface { GetNodeConnection(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NodeConnectionResponse, error) GetVersion(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VersionResponse, error) }
HealthClient is the client API for Health service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewHealthClient ¶
func NewHealthClient(cc grpc.ClientConnInterface) HealthClient
type HealthServer ¶
type HealthServer interface { GetNodeConnection(context.Context, *emptypb.Empty) (*NodeConnectionResponse, error) GetVersion(context.Context, *emptypb.Empty) (*VersionResponse, error) }
HealthServer is the server API for Health service.
type ImportAccountsRequest ¶
type ImportAccountsRequest struct { // JSON-encoded keystore files to import during wallet creation. KeystoresImported []string `protobuf:"bytes,1,rep,name=keystores_imported,json=keystoresImported,proto3" json:"keystores_imported,omitempty"` // Password to unlock imported keystore files. KeystoresPassword string `protobuf:"bytes,2,opt,name=keystores_password,json=keystoresPassword,proto3" json:"keystores_password,omitempty"` // contains filtered or unexported fields }
func (*ImportAccountsRequest) Descriptor
deprecated
func (*ImportAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportAccountsRequest.ProtoReflect.Descriptor instead.
func (*ImportAccountsRequest) GetKeystoresImported ¶
func (x *ImportAccountsRequest) GetKeystoresImported() []string
func (*ImportAccountsRequest) GetKeystoresPassword ¶
func (x *ImportAccountsRequest) GetKeystoresPassword() string
func (*ImportAccountsRequest) ProtoMessage ¶
func (*ImportAccountsRequest) ProtoMessage()
func (*ImportAccountsRequest) ProtoReflect ¶
func (x *ImportAccountsRequest) ProtoReflect() protoreflect.Message
func (*ImportAccountsRequest) Reset ¶
func (x *ImportAccountsRequest) Reset()
func (*ImportAccountsRequest) String ¶
func (x *ImportAccountsRequest) String() string
type ImportAccountsResponse ¶
type ImportAccountsResponse struct { ImportedPublicKeys [][]byte `protobuf:"bytes,1,rep,name=imported_public_keys,json=importedPublicKeys,proto3" json:"imported_public_keys,omitempty"` // contains filtered or unexported fields }
func (*ImportAccountsResponse) Descriptor
deprecated
func (*ImportAccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportAccountsResponse.ProtoReflect.Descriptor instead.
func (*ImportAccountsResponse) GetImportedPublicKeys ¶
func (x *ImportAccountsResponse) GetImportedPublicKeys() [][]byte
func (*ImportAccountsResponse) ProtoMessage ¶
func (*ImportAccountsResponse) ProtoMessage()
func (*ImportAccountsResponse) ProtoReflect ¶
func (x *ImportAccountsResponse) ProtoReflect() protoreflect.Message
func (*ImportAccountsResponse) Reset ¶
func (x *ImportAccountsResponse) Reset()
func (*ImportAccountsResponse) String ¶
func (x *ImportAccountsResponse) String() string
type ImportSlashingProtectionRequest ¶
type ImportSlashingProtectionRequest struct { // JSON representation of the slash protection SlashingProtectionJson string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ImportSlashingProtectionRequest) Descriptor
deprecated
func (*ImportSlashingProtectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportSlashingProtectionRequest.ProtoReflect.Descriptor instead.
func (*ImportSlashingProtectionRequest) GetSlashingProtectionJson ¶
func (x *ImportSlashingProtectionRequest) GetSlashingProtectionJson() string
func (*ImportSlashingProtectionRequest) ProtoMessage ¶
func (*ImportSlashingProtectionRequest) ProtoMessage()
func (*ImportSlashingProtectionRequest) ProtoReflect ¶
func (x *ImportSlashingProtectionRequest) ProtoReflect() protoreflect.Message
func (*ImportSlashingProtectionRequest) Reset ¶
func (x *ImportSlashingProtectionRequest) Reset()
func (*ImportSlashingProtectionRequest) String ¶
func (x *ImportSlashingProtectionRequest) String() string
type InitializeAuthRequest ¶
type InitializeAuthRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*InitializeAuthRequest) Descriptor
deprecated
func (*InitializeAuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitializeAuthRequest.ProtoReflect.Descriptor instead.
func (*InitializeAuthRequest) GetToken ¶
func (x *InitializeAuthRequest) GetToken() string
func (*InitializeAuthRequest) ProtoMessage ¶
func (*InitializeAuthRequest) ProtoMessage()
func (*InitializeAuthRequest) ProtoReflect ¶
func (x *InitializeAuthRequest) ProtoReflect() protoreflect.Message
func (*InitializeAuthRequest) Reset ¶
func (x *InitializeAuthRequest) Reset()
func (*InitializeAuthRequest) String ¶
func (x *InitializeAuthRequest) String() string
type InitializeAuthResponse ¶
type InitializeAuthResponse struct { HasSignedUp bool `protobuf:"varint,1,opt,name=has_signed_up,json=hasSignedUp,proto3" json:"has_signed_up,omitempty"` HasWallet bool `protobuf:"varint,2,opt,name=has_wallet,json=hasWallet,proto3" json:"has_wallet,omitempty"` // contains filtered or unexported fields }
func (*InitializeAuthResponse) Descriptor
deprecated
func (*InitializeAuthResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitializeAuthResponse.ProtoReflect.Descriptor instead.
func (*InitializeAuthResponse) GetHasSignedUp ¶
func (x *InitializeAuthResponse) GetHasSignedUp() bool
func (*InitializeAuthResponse) GetHasWallet ¶
func (x *InitializeAuthResponse) GetHasWallet() bool
func (*InitializeAuthResponse) ProtoMessage ¶
func (*InitializeAuthResponse) ProtoMessage()
func (*InitializeAuthResponse) ProtoReflect ¶
func (x *InitializeAuthResponse) ProtoReflect() protoreflect.Message
func (*InitializeAuthResponse) Reset ¶
func (x *InitializeAuthResponse) Reset()
func (*InitializeAuthResponse) String ¶
func (x *InitializeAuthResponse) String() string
type ListAccountsRequest ¶
type ListAccountsRequest struct { // Whether or not to return the raw RLP deposit tx data. GetDepositTxData bool `protobuf:"varint,1,opt,name=get_deposit_tx_data,json=getDepositTxData,proto3" json:"get_deposit_tx_data,omitempty"` // The maximum number of accounts to return in the response. // This field is optional. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A pagination token returned from a previous call to `ListAccounts` // that indicates where this listing should continue from. // This field is optional. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Whether to return all available accounts in a single response. All bool `protobuf:"varint,4,opt,name=all,proto3" json:"all,omitempty"` // contains filtered or unexported fields }
func (*ListAccountsRequest) Descriptor
deprecated
func (*ListAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountsRequest.ProtoReflect.Descriptor instead.
func (*ListAccountsRequest) GetAll ¶
func (x *ListAccountsRequest) GetAll() bool
func (*ListAccountsRequest) GetGetDepositTxData ¶
func (x *ListAccountsRequest) GetGetDepositTxData() bool
func (*ListAccountsRequest) GetPageSize ¶
func (x *ListAccountsRequest) GetPageSize() int32
func (*ListAccountsRequest) GetPageToken ¶
func (x *ListAccountsRequest) GetPageToken() string
func (*ListAccountsRequest) ProtoMessage ¶
func (*ListAccountsRequest) ProtoMessage()
func (*ListAccountsRequest) ProtoReflect ¶
func (x *ListAccountsRequest) ProtoReflect() protoreflect.Message
func (*ListAccountsRequest) Reset ¶
func (x *ListAccountsRequest) Reset()
func (*ListAccountsRequest) String ¶
func (x *ListAccountsRequest) String() string
type ListAccountsResponse ¶
type ListAccountsResponse struct { Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` // A pagination token returned from a previous call to `ListAccounts` // that indicates from where listing should continue. // This field is optional. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // Total count matching the request. TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // contains filtered or unexported fields }
func (*ListAccountsResponse) Descriptor
deprecated
func (*ListAccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountsResponse.ProtoReflect.Descriptor instead.
func (*ListAccountsResponse) GetAccounts ¶
func (x *ListAccountsResponse) GetAccounts() []*Account
func (*ListAccountsResponse) GetNextPageToken ¶
func (x *ListAccountsResponse) GetNextPageToken() string
func (*ListAccountsResponse) GetTotalSize ¶
func (x *ListAccountsResponse) GetTotalSize() int32
func (*ListAccountsResponse) ProtoMessage ¶
func (*ListAccountsResponse) ProtoMessage()
func (*ListAccountsResponse) ProtoReflect ¶
func (x *ListAccountsResponse) ProtoReflect() protoreflect.Message
func (*ListAccountsResponse) Reset ¶
func (x *ListAccountsResponse) Reset()
func (*ListAccountsResponse) String ¶
func (x *ListAccountsResponse) String() string
type NodeConnectionResponse ¶
type NodeConnectionResponse struct { // The host address of the node the validator // client is connected to. NodeEndpoint string `protobuf:"bytes,1,opt,name=node_endpoint,json=nodeEndpoint,proto3" json:"node_endpoint,omitempty"` // Whether the connection is active. Connected bool `protobuf:"varint,2,opt,name=connected,proto3" json:"connected,omitempty"` // Whether the node is currently synchronizing to chain head. Syncing bool `protobuf:"varint,3,opt,name=syncing,proto3" json:"syncing,omitempty"` // The chain genesis time. GenesisTime uint64 `protobuf:"varint,4,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` // contains filtered or unexported fields }
func (*NodeConnectionResponse) Descriptor
deprecated
func (*NodeConnectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use NodeConnectionResponse.ProtoReflect.Descriptor instead.
func (*NodeConnectionResponse) GetConnected ¶
func (x *NodeConnectionResponse) GetConnected() bool
func (*NodeConnectionResponse) GetGenesisTime ¶
func (x *NodeConnectionResponse) GetGenesisTime() uint64
func (*NodeConnectionResponse) GetNodeEndpoint ¶
func (x *NodeConnectionResponse) GetNodeEndpoint() string
func (*NodeConnectionResponse) GetSyncing ¶
func (x *NodeConnectionResponse) GetSyncing() bool
func (*NodeConnectionResponse) ProtoMessage ¶
func (*NodeConnectionResponse) ProtoMessage()
func (*NodeConnectionResponse) ProtoReflect ¶
func (x *NodeConnectionResponse) ProtoReflect() protoreflect.Message
func (*NodeConnectionResponse) Reset ¶
func (x *NodeConnectionResponse) Reset()
func (*NodeConnectionResponse) String ¶
func (x *NodeConnectionResponse) String() string
type RecoverWalletRequest ¶
type RecoverWalletRequest struct { Mnemonic string `protobuf:"bytes,1,opt,name=mnemonic,proto3" json:"mnemonic,omitempty"` NumAccounts uint64 `protobuf:"varint,2,opt,name=num_accounts,json=numAccounts,proto3" json:"num_accounts,omitempty"` WalletPassword string `protobuf:"bytes,3,opt,name=wallet_password,json=walletPassword,proto3" json:"wallet_password,omitempty"` Language string `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"` Mnemonic25ThWord string `protobuf:"bytes,5,opt,name=mnemonic25th_word,json=mnemonic25thWord,proto3" json:"mnemonic25th_word,omitempty"` // contains filtered or unexported fields }
func (*RecoverWalletRequest) Descriptor
deprecated
func (*RecoverWalletRequest) Descriptor() ([]byte, []int)
Deprecated: Use RecoverWalletRequest.ProtoReflect.Descriptor instead.
func (*RecoverWalletRequest) GetLanguage ¶
func (x *RecoverWalletRequest) GetLanguage() string
func (*RecoverWalletRequest) GetMnemonic ¶
func (x *RecoverWalletRequest) GetMnemonic() string
func (*RecoverWalletRequest) GetMnemonic25ThWord ¶
func (x *RecoverWalletRequest) GetMnemonic25ThWord() string
func (*RecoverWalletRequest) GetNumAccounts ¶
func (x *RecoverWalletRequest) GetNumAccounts() uint64
func (*RecoverWalletRequest) GetWalletPassword ¶
func (x *RecoverWalletRequest) GetWalletPassword() string
func (*RecoverWalletRequest) ProtoMessage ¶
func (*RecoverWalletRequest) ProtoMessage()
func (*RecoverWalletRequest) ProtoReflect ¶
func (x *RecoverWalletRequest) ProtoReflect() protoreflect.Message
func (*RecoverWalletRequest) Reset ¶
func (x *RecoverWalletRequest) Reset()
func (*RecoverWalletRequest) String ¶
func (x *RecoverWalletRequest) String() string
type SlashingProtectionClient ¶
type SlashingProtectionClient interface { ExportSlashingProtection(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ExportSlashingProtectionResponse, error) ImportSlashingProtection(ctx context.Context, in *ImportSlashingProtectionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
SlashingProtectionClient is the client API for SlashingProtection service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSlashingProtectionClient ¶
func NewSlashingProtectionClient(cc grpc.ClientConnInterface) SlashingProtectionClient
type SlashingProtectionServer ¶
type SlashingProtectionServer interface { ExportSlashingProtection(context.Context, *emptypb.Empty) (*ExportSlashingProtectionResponse, error) ImportSlashingProtection(context.Context, *ImportSlashingProtectionRequest) (*emptypb.Empty, error) }
SlashingProtectionServer is the server API for SlashingProtection service.
type UnimplementedAccountsServer ¶
type UnimplementedAccountsServer struct { }
UnimplementedAccountsServer can be embedded to have forward compatible implementations.
func (*UnimplementedAccountsServer) BackupAccounts ¶
func (*UnimplementedAccountsServer) BackupAccounts(context.Context, *BackupAccountsRequest) (*BackupAccountsResponse, error)
func (*UnimplementedAccountsServer) DeleteAccounts ¶
func (*UnimplementedAccountsServer) DeleteAccounts(context.Context, *DeleteAccountsRequest) (*DeleteAccountsResponse, error)
func (*UnimplementedAccountsServer) ListAccounts ¶
func (*UnimplementedAccountsServer) ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error)
type UnimplementedAuthServer ¶
type UnimplementedAuthServer struct { }
UnimplementedAuthServer can be embedded to have forward compatible implementations.
func (*UnimplementedAuthServer) Initialize ¶
func (*UnimplementedAuthServer) Initialize(context.Context, *emptypb.Empty) (*InitializeAuthResponse, error)
type UnimplementedBeaconServer ¶
type UnimplementedBeaconServer struct { }
UnimplementedBeaconServer can be embedded to have forward compatible implementations.
func (*UnimplementedBeaconServer) GetBeaconStatus ¶
func (*UnimplementedBeaconServer) GetBeaconStatus(context.Context, *emptypb.Empty) (*BeaconStatusResponse, error)
func (*UnimplementedBeaconServer) GetValidatorBalances ¶
func (*UnimplementedBeaconServer) GetValidatorBalances(context.Context, *consensus.ListValidatorBalancesRequest) (*consensus.ValidatorBalances, error)
func (*UnimplementedBeaconServer) GetValidatorParticipation ¶
func (*UnimplementedBeaconServer) GetValidatorParticipation(context.Context, *consensus.GetValidatorParticipationRequest) (*consensus.ValidatorParticipationResponse, error)
func (*UnimplementedBeaconServer) GetValidatorPerformance ¶
func (*UnimplementedBeaconServer) GetValidatorPerformance(context.Context, *consensus.ValidatorPerformanceRequest) (*consensus.ValidatorPerformanceResponse, error)
func (*UnimplementedBeaconServer) GetValidatorQueue ¶
func (*UnimplementedBeaconServer) GetValidatorQueue(context.Context, *emptypb.Empty) (*consensus.ValidatorQueue, error)
func (*UnimplementedBeaconServer) GetValidators ¶
func (*UnimplementedBeaconServer) GetValidators(context.Context, *consensus.ListValidatorsRequest) (*consensus.Validators, error)
type UnimplementedHealthServer ¶
type UnimplementedHealthServer struct { }
UnimplementedHealthServer can be embedded to have forward compatible implementations.
func (*UnimplementedHealthServer) GetNodeConnection ¶
func (*UnimplementedHealthServer) GetNodeConnection(context.Context, *emptypb.Empty) (*NodeConnectionResponse, error)
func (*UnimplementedHealthServer) GetVersion ¶
func (*UnimplementedHealthServer) GetVersion(context.Context, *emptypb.Empty) (*VersionResponse, error)
type UnimplementedSlashingProtectionServer ¶
type UnimplementedSlashingProtectionServer struct { }
UnimplementedSlashingProtectionServer can be embedded to have forward compatible implementations.
func (*UnimplementedSlashingProtectionServer) ExportSlashingProtection ¶
func (*UnimplementedSlashingProtectionServer) ExportSlashingProtection(context.Context, *emptypb.Empty) (*ExportSlashingProtectionResponse, error)
func (*UnimplementedSlashingProtectionServer) ImportSlashingProtection ¶
func (*UnimplementedSlashingProtectionServer) ImportSlashingProtection(context.Context, *ImportSlashingProtectionRequest) (*emptypb.Empty, error)
type UnimplementedWalletServer ¶
type UnimplementedWalletServer struct { }
UnimplementedWalletServer can be embedded to have forward compatible implementations.
func (*UnimplementedWalletServer) CreateWallet ¶
func (*UnimplementedWalletServer) CreateWallet(context.Context, *CreateWalletRequest) (*CreateWalletResponse, error)
func (*UnimplementedWalletServer) ImportAccounts ¶
func (*UnimplementedWalletServer) ImportAccounts(context.Context, *ImportAccountsRequest) (*ImportAccountsResponse, error)
func (*UnimplementedWalletServer) RecoverWallet ¶
func (*UnimplementedWalletServer) RecoverWallet(context.Context, *RecoverWalletRequest) (*CreateWalletResponse, error)
func (*UnimplementedWalletServer) ValidateKeystores ¶
func (*UnimplementedWalletServer) ValidateKeystores(context.Context, *ValidateKeystoresRequest) (*emptypb.Empty, error)
type ValidateKeystoresRequest ¶
type ValidateKeystoresRequest struct { // JSON-encoded keystore files to validate. Keystores []string `protobuf:"bytes,1,rep,name=keystores,proto3" json:"keystores,omitempty"` // Password for the keystore files. KeystoresPassword string `protobuf:"bytes,2,opt,name=keystores_password,json=keystoresPassword,proto3" json:"keystores_password,omitempty"` // contains filtered or unexported fields }
func (*ValidateKeystoresRequest) Descriptor
deprecated
func (*ValidateKeystoresRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateKeystoresRequest.ProtoReflect.Descriptor instead.
func (*ValidateKeystoresRequest) GetKeystores ¶
func (x *ValidateKeystoresRequest) GetKeystores() []string
func (*ValidateKeystoresRequest) GetKeystoresPassword ¶
func (x *ValidateKeystoresRequest) GetKeystoresPassword() string
func (*ValidateKeystoresRequest) ProtoMessage ¶
func (*ValidateKeystoresRequest) ProtoMessage()
func (*ValidateKeystoresRequest) ProtoReflect ¶
func (x *ValidateKeystoresRequest) ProtoReflect() protoreflect.Message
func (*ValidateKeystoresRequest) Reset ¶
func (x *ValidateKeystoresRequest) Reset()
func (*ValidateKeystoresRequest) String ¶
func (x *ValidateKeystoresRequest) String() string
type VersionResponse ¶
type VersionResponse struct { Beacon string `protobuf:"bytes,1,opt,name=beacon,proto3" json:"beacon,omitempty"` Validator string `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator,omitempty"` // contains filtered or unexported fields }
func (*VersionResponse) Descriptor
deprecated
func (*VersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.
func (*VersionResponse) GetBeacon ¶
func (x *VersionResponse) GetBeacon() string
func (*VersionResponse) GetValidator ¶
func (x *VersionResponse) GetValidator() string
func (*VersionResponse) ProtoMessage ¶
func (*VersionResponse) ProtoMessage()
func (*VersionResponse) ProtoReflect ¶
func (x *VersionResponse) ProtoReflect() protoreflect.Message
func (*VersionResponse) Reset ¶
func (x *VersionResponse) Reset()
func (*VersionResponse) String ¶
func (x *VersionResponse) String() string
type WalletClient ¶
type WalletClient interface { CreateWallet(ctx context.Context, in *CreateWalletRequest, opts ...grpc.CallOption) (*CreateWalletResponse, error) // //rpc WalletConfig(google.protobuf.Empty) returns (WalletResponse) { //option (google.api.http) = { //get: "/v2/validator/wallet" //}; //} RecoverWallet(ctx context.Context, in *RecoverWalletRequest, opts ...grpc.CallOption) (*CreateWalletResponse, error) ImportAccounts(ctx context.Context, in *ImportAccountsRequest, opts ...grpc.CallOption) (*ImportAccountsResponse, error) ValidateKeystores(ctx context.Context, in *ValidateKeystoresRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
WalletClient is the client API for Wallet service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewWalletClient ¶
func NewWalletClient(cc grpc.ClientConnInterface) WalletClient
type WalletResponse ¶
type WalletResponse struct { WalletPath string `protobuf:"bytes,1,opt,name=wallet_path,json=walletPath,proto3" json:"wallet_path,omitempty"` // contains filtered or unexported fields }
func (*WalletResponse) Descriptor
deprecated
func (*WalletResponse) Descriptor() ([]byte, []int)
Deprecated: Use WalletResponse.ProtoReflect.Descriptor instead.
func (*WalletResponse) GetWalletPath ¶
func (x *WalletResponse) GetWalletPath() string
func (*WalletResponse) ProtoMessage ¶
func (*WalletResponse) ProtoMessage()
func (*WalletResponse) ProtoReflect ¶
func (x *WalletResponse) ProtoReflect() protoreflect.Message
func (*WalletResponse) Reset ¶
func (x *WalletResponse) Reset()
func (*WalletResponse) String ¶
func (x *WalletResponse) String() string
type WalletServer ¶
type WalletServer interface { CreateWallet(context.Context, *CreateWalletRequest) (*CreateWalletResponse, error) // //rpc WalletConfig(google.protobuf.Empty) returns (WalletResponse) { //option (google.api.http) = { //get: "/v2/validator/wallet" //}; //} RecoverWallet(context.Context, *RecoverWalletRequest) (*CreateWalletResponse, error) ImportAccounts(context.Context, *ImportAccountsRequest) (*ImportAccountsResponse, error) ValidateKeystores(context.Context, *ValidateKeystoresRequest) (*emptypb.Empty, error) }
WalletServer is the server API for Wallet service.