ethereum_validator_accounts_v2

package
v1.0.0-alpha.28 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Overview

Package ethereum_validator_accounts_v2 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package ethereum_validator_accounts_v2 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var KeymanagerKind_name = map[int32]string{
	0: "DERIVED",
	1: "DIRECT",
	2: "REMOTE",
}
View Source
var KeymanagerKind_value = map[string]int32{
	"DERIVED": 0,
	"DIRECT":  1,
	"REMOTE":  2,
}
View Source
var SignResponse_Status_name = map[int32]string{
	0: "UNKNOWN",
	1: "SUCCEEDED",
	2: "DENIED",
	3: "FAILED",
}
View Source
var SignResponse_Status_value = map[string]int32{
	"UNKNOWN":   0,
	"SUCCEEDED": 1,
	"DENIED":    2,
	"FAILED":    3,
}

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.

func RegisterAccountsServer

func RegisterAccountsServer(s *grpc.Server, srv AccountsServer)

func RegisterAuthHandler

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

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

func RegisterAuthHandlerClient

func RegisterAuthHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthClient) error

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

func RegisterAuthHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthServer) error

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.

func RegisterAuthServer

func RegisterAuthServer(s *grpc.Server, srv AuthServer)

func RegisterHealthHandler

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

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.

func RegisterHealthServer

func RegisterHealthServer(s *grpc.Server, srv HealthServer)

func RegisterRemoteSignerHandler

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

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

func RegisterRemoteSignerHandlerClient

func RegisterRemoteSignerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RemoteSignerClient) error

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

func RegisterRemoteSignerHandlerFromEndpoint

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

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

func RegisterRemoteSignerHandlerServer

func RegisterRemoteSignerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RemoteSignerServer) error

RegisterRemoteSignerHandlerServer registers the http handlers for service RemoteSigner to "mux". UnaryRPC :call RemoteSignerServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterRemoteSignerServer

func RegisterRemoteSignerServer(s *grpc.Server, srv RemoteSignerServer)

func RegisterWalletHandler

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

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.

func RegisterWalletServer

func RegisterWalletServer(s *grpc.Server, srv WalletServer)

Types

type Account

type Account struct {
	ValidatingPublicKey  []byte   `protobuf:"bytes,1,opt,name=validating_public_key,json=validatingPublicKey,proto3" json:"validating_public_key,omitempty"`
	AccountName          string   `protobuf:"bytes,2,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	DepositTxData        []byte   `protobuf:"bytes,3,opt,name=deposit_tx_data,json=depositTxData,proto3" json:"deposit_tx_data,omitempty"`
	DerivationPath       string   `protobuf:"bytes,4,opt,name=derivation_path,json=derivationPath,proto3" json:"derivation_path,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Account) Descriptor

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

func (*Account) GetAccountName

func (m *Account) GetAccountName() string

func (*Account) GetDepositTxData

func (m *Account) GetDepositTxData() []byte

func (*Account) GetDerivationPath

func (m *Account) GetDerivationPath() string

func (*Account) GetValidatingPublicKey

func (m *Account) GetValidatingPublicKey() []byte

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) Reset

func (m *Account) Reset()

func (*Account) String

func (m *Account) String() string

func (*Account) XXX_DiscardUnknown

func (m *Account) XXX_DiscardUnknown()

func (*Account) XXX_Marshal

func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Account) XXX_Merge

func (m *Account) XXX_Merge(src proto.Message)

func (*Account) XXX_Size

func (m *Account) XXX_Size() int

func (*Account) XXX_Unmarshal

func (m *Account) XXX_Unmarshal(b []byte) error

type AccountRequest

type AccountRequest struct {
	PublicKeys           [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"`
	Indices              []uint64 `protobuf:"varint,2,rep,packed,name=indices,proto3" json:"indices,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AccountRequest) Descriptor

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

func (*AccountRequest) GetIndices

func (m *AccountRequest) GetIndices() []uint64

func (*AccountRequest) GetPublicKeys

func (m *AccountRequest) GetPublicKeys() [][]byte

func (*AccountRequest) ProtoMessage

func (*AccountRequest) ProtoMessage()

func (*AccountRequest) Reset

func (m *AccountRequest) Reset()

func (*AccountRequest) String

func (m *AccountRequest) String() string

func (*AccountRequest) XXX_DiscardUnknown

func (m *AccountRequest) XXX_DiscardUnknown()

func (*AccountRequest) XXX_Marshal

func (m *AccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountRequest) XXX_Merge

func (m *AccountRequest) XXX_Merge(src proto.Message)

func (*AccountRequest) XXX_Size

func (m *AccountRequest) XXX_Size() int

func (*AccountRequest) XXX_Unmarshal

func (m *AccountRequest) XXX_Unmarshal(b []byte) error

type AccountsClient

type AccountsClient interface {
	CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...grpc.CallOption) (*DepositDataResponse, error)
	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

AccountsServer is the server API for Accounts service.

type AuthClient

type AuthClient interface {
	Login(ctx context.Context, in *AuthRequest, opts ...grpc.CallOption) (*AuthResponse, error)
	Signup(ctx context.Context, in *AuthRequest, opts ...grpc.CallOption) (*AuthResponse, 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 AuthRequest

type AuthRequest struct {
	Password             string   `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthRequest) Descriptor

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

func (*AuthRequest) GetPassword

func (m *AuthRequest) GetPassword() string

func (*AuthRequest) ProtoMessage

func (*AuthRequest) ProtoMessage()

func (*AuthRequest) Reset

func (m *AuthRequest) Reset()

func (*AuthRequest) String

func (m *AuthRequest) String() string

func (*AuthRequest) XXX_DiscardUnknown

func (m *AuthRequest) XXX_DiscardUnknown()

func (*AuthRequest) XXX_Marshal

func (m *AuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuthRequest) XXX_Merge

func (m *AuthRequest) XXX_Merge(src proto.Message)

func (*AuthRequest) XXX_Size

func (m *AuthRequest) XXX_Size() int

func (*AuthRequest) XXX_Unmarshal

func (m *AuthRequest) XXX_Unmarshal(b []byte) error

type AuthResponse

type AuthResponse struct {
	Token                string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	TokenExpiration      uint64   `protobuf:"varint,2,opt,name=token_expiration,json=tokenExpiration,proto3" json:"token_expiration,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthResponse) Descriptor

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

func (*AuthResponse) GetToken

func (m *AuthResponse) GetToken() string

func (*AuthResponse) GetTokenExpiration

func (m *AuthResponse) GetTokenExpiration() uint64

func (*AuthResponse) ProtoMessage

func (*AuthResponse) ProtoMessage()

func (*AuthResponse) Reset

func (m *AuthResponse) Reset()

func (*AuthResponse) String

func (m *AuthResponse) String() string

func (*AuthResponse) XXX_DiscardUnknown

func (m *AuthResponse) XXX_DiscardUnknown()

func (*AuthResponse) XXX_Marshal

func (m *AuthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuthResponse) XXX_Merge

func (m *AuthResponse) XXX_Merge(src proto.Message)

func (*AuthResponse) XXX_Size

func (m *AuthResponse) XXX_Size() int

func (*AuthResponse) XXX_Unmarshal

func (m *AuthResponse) XXX_Unmarshal(b []byte) error

type AuthServer

type AuthServer interface {
	Login(context.Context, *AuthRequest) (*AuthResponse, error)
	Signup(context.Context, *AuthRequest) (*AuthResponse, error)
}

AuthServer is the server API for Auth service.

type BackupAccountsRequest added in v1.2.0

type BackupAccountsRequest struct {
	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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BackupAccountsRequest) Descriptor added in v1.2.0

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

func (*BackupAccountsRequest) GetBackupPassword added in v1.2.0

func (m *BackupAccountsRequest) GetBackupPassword() string

func (*BackupAccountsRequest) GetPublicKeys added in v1.2.0

func (m *BackupAccountsRequest) GetPublicKeys() [][]byte

func (*BackupAccountsRequest) ProtoMessage added in v1.2.0

func (*BackupAccountsRequest) ProtoMessage()

func (*BackupAccountsRequest) Reset added in v1.2.0

func (m *BackupAccountsRequest) Reset()

func (*BackupAccountsRequest) String added in v1.2.0

func (m *BackupAccountsRequest) String() string

func (*BackupAccountsRequest) XXX_DiscardUnknown

func (m *BackupAccountsRequest) XXX_DiscardUnknown()

func (*BackupAccountsRequest) XXX_Marshal

func (m *BackupAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupAccountsRequest) XXX_Merge

func (m *BackupAccountsRequest) XXX_Merge(src proto.Message)

func (*BackupAccountsRequest) XXX_Size

func (m *BackupAccountsRequest) XXX_Size() int

func (*BackupAccountsRequest) XXX_Unmarshal

func (m *BackupAccountsRequest) XXX_Unmarshal(b []byte) error

type BackupAccountsResponse added in v1.2.0

type BackupAccountsResponse struct {
	ZipFile              []byte   `protobuf:"bytes,1,opt,name=zip_file,json=zipFile,proto3" json:"zip_file,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BackupAccountsResponse) Descriptor added in v1.2.0

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

func (*BackupAccountsResponse) GetZipFile added in v1.2.0

func (m *BackupAccountsResponse) GetZipFile() []byte

func (*BackupAccountsResponse) ProtoMessage added in v1.2.0

func (*BackupAccountsResponse) ProtoMessage()

func (*BackupAccountsResponse) Reset added in v1.2.0

func (m *BackupAccountsResponse) Reset()

func (*BackupAccountsResponse) String added in v1.2.0

func (m *BackupAccountsResponse) String() string

func (*BackupAccountsResponse) XXX_DiscardUnknown

func (m *BackupAccountsResponse) XXX_DiscardUnknown()

func (*BackupAccountsResponse) XXX_Marshal

func (m *BackupAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupAccountsResponse) XXX_Merge

func (m *BackupAccountsResponse) XXX_Merge(src proto.Message)

func (*BackupAccountsResponse) XXX_Size

func (m *BackupAccountsResponse) XXX_Size() int

func (*BackupAccountsResponse) XXX_Unmarshal

func (m *BackupAccountsResponse) XXX_Unmarshal(b []byte) error

type ChangePasswordRequest

type ChangePasswordRequest struct {
	Password             string   `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	PasswordConfirmation string   `protobuf:"bytes,2,opt,name=password_confirmation,json=passwordConfirmation,proto3" json:"password_confirmation,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChangePasswordRequest) Descriptor

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

func (*ChangePasswordRequest) GetPassword

func (m *ChangePasswordRequest) GetPassword() string

func (*ChangePasswordRequest) GetPasswordConfirmation

func (m *ChangePasswordRequest) GetPasswordConfirmation() string

func (*ChangePasswordRequest) ProtoMessage

func (*ChangePasswordRequest) ProtoMessage()

func (*ChangePasswordRequest) Reset

func (m *ChangePasswordRequest) Reset()

func (*ChangePasswordRequest) String

func (m *ChangePasswordRequest) String() string

func (*ChangePasswordRequest) XXX_DiscardUnknown

func (m *ChangePasswordRequest) XXX_DiscardUnknown()

func (*ChangePasswordRequest) XXX_Marshal

func (m *ChangePasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChangePasswordRequest) XXX_Merge

func (m *ChangePasswordRequest) XXX_Merge(src proto.Message)

func (*ChangePasswordRequest) XXX_Size

func (m *ChangePasswordRequest) XXX_Size() int

func (*ChangePasswordRequest) XXX_Unmarshal

func (m *ChangePasswordRequest) XXX_Unmarshal(b []byte) error

type CreateAccountRequest

type CreateAccountRequest struct {
	NumAccounts          uint64   `protobuf:"varint,1,opt,name=num_accounts,json=numAccounts,proto3" json:"num_accounts,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateAccountRequest) Descriptor

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

func (*CreateAccountRequest) GetNumAccounts

func (m *CreateAccountRequest) GetNumAccounts() uint64

func (*CreateAccountRequest) ProtoMessage

func (*CreateAccountRequest) ProtoMessage()

func (*CreateAccountRequest) Reset

func (m *CreateAccountRequest) Reset()

func (*CreateAccountRequest) String

func (m *CreateAccountRequest) String() string

func (*CreateAccountRequest) XXX_DiscardUnknown

func (m *CreateAccountRequest) XXX_DiscardUnknown()

func (*CreateAccountRequest) XXX_Marshal

func (m *CreateAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateAccountRequest) XXX_Merge

func (m *CreateAccountRequest) XXX_Merge(src proto.Message)

func (*CreateAccountRequest) XXX_Size

func (m *CreateAccountRequest) XXX_Size() int

func (*CreateAccountRequest) XXX_Unmarshal

func (m *CreateAccountRequest) XXX_Unmarshal(b []byte) error

type CreateWalletRequest

type CreateWalletRequest struct {
	WalletPath           string         `protobuf:"bytes,1,opt,name=wallet_path,json=walletPath,proto3" json:"wallet_path,omitempty"`
	Keymanager           KeymanagerKind `protobuf:"varint,2,opt,name=keymanager,proto3,enum=ethereum.validator.accounts.v2.KeymanagerKind" json:"keymanager,omitempty"`
	WalletPassword       string         `protobuf:"bytes,3,opt,name=wallet_password,json=walletPassword,proto3" json:"wallet_password,omitempty"`
	Mnemonic             string         `protobuf:"bytes,4,opt,name=mnemonic,proto3" json:"mnemonic,omitempty"`
	NumAccounts          uint64         `protobuf:"varint,5,opt,name=num_accounts,json=numAccounts,proto3" json:"num_accounts,omitempty"`
	KeystoresImported    []string       `protobuf:"bytes,6,rep,name=keystores_imported,json=keystoresImported,proto3" json:"keystores_imported,omitempty"`
	KeystoresPassword    string         `protobuf:"bytes,7,opt,name=keystores_password,json=keystoresPassword,proto3" json:"keystores_password,omitempty"`
	RemoteAddr           string         `protobuf:"bytes,8,opt,name=remote_addr,json=remoteAddr,proto3" json:"remote_addr,omitempty"`
	RemoteCrtPath        string         `protobuf:"bytes,9,opt,name=remote_crt_path,json=remoteCrtPath,proto3" json:"remote_crt_path,omitempty"`
	RemoteKeyPath        string         `protobuf:"bytes,10,opt,name=remote_key_path,json=remoteKeyPath,proto3" json:"remote_key_path,omitempty"`
	RemoteCaCrtPath      string         `protobuf:"bytes,11,opt,name=remote_ca_crt_path,json=remoteCaCrtPath,proto3" json:"remote_ca_crt_path,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*CreateWalletRequest) Descriptor

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

func (*CreateWalletRequest) GetKeymanager

func (m *CreateWalletRequest) GetKeymanager() KeymanagerKind

func (*CreateWalletRequest) GetKeystoresImported

func (m *CreateWalletRequest) GetKeystoresImported() []string

func (*CreateWalletRequest) GetKeystoresPassword

func (m *CreateWalletRequest) GetKeystoresPassword() string

func (*CreateWalletRequest) GetMnemonic

func (m *CreateWalletRequest) GetMnemonic() string

func (*CreateWalletRequest) GetNumAccounts

func (m *CreateWalletRequest) GetNumAccounts() uint64

func (*CreateWalletRequest) GetRemoteAddr

func (m *CreateWalletRequest) GetRemoteAddr() string

func (*CreateWalletRequest) GetRemoteCaCrtPath

func (m *CreateWalletRequest) GetRemoteCaCrtPath() string

func (*CreateWalletRequest) GetRemoteCrtPath

func (m *CreateWalletRequest) GetRemoteCrtPath() string

func (*CreateWalletRequest) GetRemoteKeyPath

func (m *CreateWalletRequest) GetRemoteKeyPath() string

func (*CreateWalletRequest) GetWalletPassword

func (m *CreateWalletRequest) GetWalletPassword() string

func (*CreateWalletRequest) GetWalletPath

func (m *CreateWalletRequest) GetWalletPath() string

func (*CreateWalletRequest) ProtoMessage

func (*CreateWalletRequest) ProtoMessage()

func (*CreateWalletRequest) Reset

func (m *CreateWalletRequest) Reset()

func (*CreateWalletRequest) String

func (m *CreateWalletRequest) String() string

func (*CreateWalletRequest) XXX_DiscardUnknown

func (m *CreateWalletRequest) XXX_DiscardUnknown()

func (*CreateWalletRequest) XXX_Marshal

func (m *CreateWalletRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateWalletRequest) XXX_Merge

func (m *CreateWalletRequest) XXX_Merge(src proto.Message)

func (*CreateWalletRequest) XXX_Size

func (m *CreateWalletRequest) XXX_Size() int

func (*CreateWalletRequest) XXX_Unmarshal

func (m *CreateWalletRequest) XXX_Unmarshal(b []byte) error

type DeleteAccountsRequest added in v1.3.6

type DeleteAccountsRequest struct {
	PublicKeys           [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteAccountsRequest) Descriptor added in v1.3.6

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

func (*DeleteAccountsRequest) GetPublicKeys

func (m *DeleteAccountsRequest) GetPublicKeys() [][]byte

func (*DeleteAccountsRequest) ProtoMessage added in v1.3.6

func (*DeleteAccountsRequest) ProtoMessage()

func (*DeleteAccountsRequest) Reset added in v1.3.6

func (m *DeleteAccountsRequest) Reset()

func (*DeleteAccountsRequest) String added in v1.3.6

func (m *DeleteAccountsRequest) String() string

func (*DeleteAccountsRequest) XXX_DiscardUnknown

func (m *DeleteAccountsRequest) XXX_DiscardUnknown()

func (*DeleteAccountsRequest) XXX_Marshal

func (m *DeleteAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteAccountsRequest) XXX_Merge

func (m *DeleteAccountsRequest) XXX_Merge(src proto.Message)

func (*DeleteAccountsRequest) XXX_Size

func (m *DeleteAccountsRequest) XXX_Size() int

func (*DeleteAccountsRequest) XXX_Unmarshal

func (m *DeleteAccountsRequest) XXX_Unmarshal(b []byte) error

type DeleteAccountsResponse added in v1.3.6

type DeleteAccountsResponse struct {
	DeletedKeys          [][]byte `protobuf:"bytes,1,rep,name=deleted_keys,json=deletedKeys,proto3" json:"deleted_keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteAccountsResponse) Descriptor added in v1.3.6

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

func (*DeleteAccountsResponse) GetDeletedKeys added in v1.3.6

func (m *DeleteAccountsResponse) GetDeletedKeys() [][]byte

func (*DeleteAccountsResponse) ProtoMessage added in v1.3.6

func (*DeleteAccountsResponse) ProtoMessage()

func (*DeleteAccountsResponse) Reset added in v1.3.6

func (m *DeleteAccountsResponse) Reset()

func (*DeleteAccountsResponse) String added in v1.3.6

func (m *DeleteAccountsResponse) String() string

func (*DeleteAccountsResponse) XXX_DiscardUnknown

func (m *DeleteAccountsResponse) XXX_DiscardUnknown()

func (*DeleteAccountsResponse) XXX_Marshal

func (m *DeleteAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteAccountsResponse) XXX_Merge

func (m *DeleteAccountsResponse) XXX_Merge(src proto.Message)

func (*DeleteAccountsResponse) XXX_Size

func (m *DeleteAccountsResponse) XXX_Size() int

func (*DeleteAccountsResponse) XXX_Unmarshal

func (m *DeleteAccountsResponse) XXX_Unmarshal(b []byte) error

type DepositDataResponse

type DepositDataResponse struct {
	DepositDataList      []*DepositDataResponse_DepositData `protobuf:"bytes,1,rep,name=deposit_data_list,json=depositDataList,proto3" json:"deposit_data_list,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

func (*DepositDataResponse) Descriptor

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

func (*DepositDataResponse) GetDepositDataList

func (m *DepositDataResponse) GetDepositDataList() []*DepositDataResponse_DepositData

func (*DepositDataResponse) ProtoMessage

func (*DepositDataResponse) ProtoMessage()

func (*DepositDataResponse) Reset

func (m *DepositDataResponse) Reset()

func (*DepositDataResponse) String

func (m *DepositDataResponse) String() string

func (*DepositDataResponse) XXX_DiscardUnknown

func (m *DepositDataResponse) XXX_DiscardUnknown()

func (*DepositDataResponse) XXX_Marshal

func (m *DepositDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DepositDataResponse) XXX_Merge

func (m *DepositDataResponse) XXX_Merge(src proto.Message)

func (*DepositDataResponse) XXX_Size

func (m *DepositDataResponse) XXX_Size() int

func (*DepositDataResponse) XXX_Unmarshal

func (m *DepositDataResponse) XXX_Unmarshal(b []byte) error

type DepositDataResponse_DepositData

type DepositDataResponse_DepositData struct {
	Data                 map[string]string `` /* 149-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*DepositDataResponse_DepositData) Descriptor

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

func (*DepositDataResponse_DepositData) GetData

func (*DepositDataResponse_DepositData) ProtoMessage

func (*DepositDataResponse_DepositData) ProtoMessage()

func (*DepositDataResponse_DepositData) Reset

func (*DepositDataResponse_DepositData) String

func (*DepositDataResponse_DepositData) XXX_DiscardUnknown

func (m *DepositDataResponse_DepositData) XXX_DiscardUnknown()

func (*DepositDataResponse_DepositData) XXX_Marshal

func (m *DepositDataResponse_DepositData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DepositDataResponse_DepositData) XXX_Merge

func (m *DepositDataResponse_DepositData) XXX_Merge(src proto.Message)

func (*DepositDataResponse_DepositData) XXX_Size

func (m *DepositDataResponse_DepositData) XXX_Size() int

func (*DepositDataResponse_DepositData) XXX_Unmarshal

func (m *DepositDataResponse_DepositData) XXX_Unmarshal(b []byte) error

type DepositMessage

type DepositMessage struct {
	Pubkey                []byte   `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	WithdrawalCredentials []byte   `protobuf:"bytes,2,opt,name=withdrawal_credentials,json=withdrawalCredentials,proto3" json:"withdrawal_credentials,omitempty"`
	Amount                uint64   `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	XXX_NoUnkeyedLiteral  struct{} `json:"-"`
	XXX_unrecognized      []byte   `json:"-"`
	XXX_sizecache         int32    `json:"-"`
}

func (*DepositMessage) Descriptor

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

func (*DepositMessage) GetAmount

func (m *DepositMessage) GetAmount() uint64

func (*DepositMessage) GetPubkey

func (m *DepositMessage) GetPubkey() []byte

func (*DepositMessage) GetWithdrawalCredentials

func (m *DepositMessage) GetWithdrawalCredentials() []byte

func (*DepositMessage) ProtoMessage

func (*DepositMessage) ProtoMessage()

func (*DepositMessage) Reset

func (m *DepositMessage) Reset()

func (*DepositMessage) String

func (m *DepositMessage) String() string

func (*DepositMessage) XXX_DiscardUnknown

func (m *DepositMessage) XXX_DiscardUnknown()

func (*DepositMessage) XXX_Marshal

func (m *DepositMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DepositMessage) XXX_Merge

func (m *DepositMessage) XXX_Merge(src proto.Message)

func (*DepositMessage) XXX_Size

func (m *DepositMessage) XXX_Size() int

func (*DepositMessage) XXX_Unmarshal

func (m *DepositMessage) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EditWalletConfigRequest) Descriptor

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

func (*EditWalletConfigRequest) GetRemoteAddr

func (m *EditWalletConfigRequest) GetRemoteAddr() string

func (*EditWalletConfigRequest) GetRemoteCaCrtPath

func (m *EditWalletConfigRequest) GetRemoteCaCrtPath() string

func (*EditWalletConfigRequest) GetRemoteCrtPath

func (m *EditWalletConfigRequest) GetRemoteCrtPath() string

func (*EditWalletConfigRequest) GetRemoteKeyPath

func (m *EditWalletConfigRequest) GetRemoteKeyPath() string

func (*EditWalletConfigRequest) ProtoMessage

func (*EditWalletConfigRequest) ProtoMessage()

func (*EditWalletConfigRequest) Reset

func (m *EditWalletConfigRequest) Reset()

func (*EditWalletConfigRequest) String

func (m *EditWalletConfigRequest) String() string

func (*EditWalletConfigRequest) XXX_DiscardUnknown

func (m *EditWalletConfigRequest) XXX_DiscardUnknown()

func (*EditWalletConfigRequest) XXX_Marshal

func (m *EditWalletConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EditWalletConfigRequest) XXX_Merge

func (m *EditWalletConfigRequest) XXX_Merge(src proto.Message)

func (*EditWalletConfigRequest) XXX_Size

func (m *EditWalletConfigRequest) XXX_Size() int

func (*EditWalletConfigRequest) XXX_Unmarshal

func (m *EditWalletConfigRequest) XXX_Unmarshal(b []byte) error

type GenerateMnemonicResponse

type GenerateMnemonicResponse struct {
	Mnemonic             string   `protobuf:"bytes,1,opt,name=mnemonic,proto3" json:"mnemonic,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GenerateMnemonicResponse) Descriptor

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

func (*GenerateMnemonicResponse) GetMnemonic

func (m *GenerateMnemonicResponse) GetMnemonic() string

func (*GenerateMnemonicResponse) ProtoMessage

func (*GenerateMnemonicResponse) ProtoMessage()

func (*GenerateMnemonicResponse) Reset

func (m *GenerateMnemonicResponse) Reset()

func (*GenerateMnemonicResponse) String

func (m *GenerateMnemonicResponse) String() string

func (*GenerateMnemonicResponse) XXX_DiscardUnknown

func (m *GenerateMnemonicResponse) XXX_DiscardUnknown()

func (*GenerateMnemonicResponse) XXX_Marshal

func (m *GenerateMnemonicResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenerateMnemonicResponse) XXX_Merge

func (m *GenerateMnemonicResponse) XXX_Merge(src proto.Message)

func (*GenerateMnemonicResponse) XXX_Size

func (m *GenerateMnemonicResponse) XXX_Size() int

func (*GenerateMnemonicResponse) XXX_Unmarshal

func (m *GenerateMnemonicResponse) XXX_Unmarshal(b []byte) error

type HasWalletResponse

type HasWalletResponse struct {
	WalletExists         bool     `protobuf:"varint,1,opt,name=wallet_exists,json=walletExists,proto3" json:"wallet_exists,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HasWalletResponse) Descriptor

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

func (*HasWalletResponse) GetWalletExists

func (m *HasWalletResponse) GetWalletExists() bool

func (*HasWalletResponse) ProtoMessage

func (*HasWalletResponse) ProtoMessage()

func (*HasWalletResponse) Reset

func (m *HasWalletResponse) Reset()

func (*HasWalletResponse) String

func (m *HasWalletResponse) String() string

func (*HasWalletResponse) XXX_DiscardUnknown

func (m *HasWalletResponse) XXX_DiscardUnknown()

func (*HasWalletResponse) XXX_Marshal

func (m *HasWalletResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HasWalletResponse) XXX_Merge

func (m *HasWalletResponse) XXX_Merge(src proto.Message)

func (*HasWalletResponse) XXX_Size

func (m *HasWalletResponse) XXX_Size() int

func (*HasWalletResponse) XXX_Unmarshal

func (m *HasWalletResponse) XXX_Unmarshal(b []byte) error

type HealthClient

type HealthClient interface {
	GetBeaconNodeConnection(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*NodeConnectionResponse, 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 {
	GetBeaconNodeConnection(context.Context, *empty.Empty) (*NodeConnectionResponse, error)
}

HealthServer is the server API for Health service.

type ImportKeystoresRequest

type ImportKeystoresRequest struct {
	KeystoresImported    []string `protobuf:"bytes,1,rep,name=keystores_imported,json=keystoresImported,proto3" json:"keystores_imported,omitempty"`
	KeystoresPassword    string   `protobuf:"bytes,2,opt,name=keystores_password,json=keystoresPassword,proto3" json:"keystores_password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ImportKeystoresRequest) Descriptor

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

func (*ImportKeystoresRequest) GetKeystoresImported

func (m *ImportKeystoresRequest) GetKeystoresImported() []string

func (*ImportKeystoresRequest) GetKeystoresPassword

func (m *ImportKeystoresRequest) GetKeystoresPassword() string

func (*ImportKeystoresRequest) ProtoMessage

func (*ImportKeystoresRequest) ProtoMessage()

func (*ImportKeystoresRequest) Reset

func (m *ImportKeystoresRequest) Reset()

func (*ImportKeystoresRequest) String

func (m *ImportKeystoresRequest) String() string

func (*ImportKeystoresRequest) XXX_DiscardUnknown

func (m *ImportKeystoresRequest) XXX_DiscardUnknown()

func (*ImportKeystoresRequest) XXX_Marshal

func (m *ImportKeystoresRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImportKeystoresRequest) XXX_Merge

func (m *ImportKeystoresRequest) XXX_Merge(src proto.Message)

func (*ImportKeystoresRequest) XXX_Size

func (m *ImportKeystoresRequest) XXX_Size() int

func (*ImportKeystoresRequest) XXX_Unmarshal

func (m *ImportKeystoresRequest) XXX_Unmarshal(b []byte) error

type ImportKeystoresResponse

type ImportKeystoresResponse struct {
	ImportedPublicKeys   [][]byte `protobuf:"bytes,1,rep,name=imported_public_keys,json=importedPublicKeys,proto3" json:"imported_public_keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ImportKeystoresResponse) Descriptor

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

func (*ImportKeystoresResponse) GetImportedPublicKeys

func (m *ImportKeystoresResponse) GetImportedPublicKeys() [][]byte

func (*ImportKeystoresResponse) ProtoMessage

func (*ImportKeystoresResponse) ProtoMessage()

func (*ImportKeystoresResponse) Reset

func (m *ImportKeystoresResponse) Reset()

func (*ImportKeystoresResponse) String

func (m *ImportKeystoresResponse) String() string

func (*ImportKeystoresResponse) XXX_DiscardUnknown

func (m *ImportKeystoresResponse) XXX_DiscardUnknown()

func (*ImportKeystoresResponse) XXX_Marshal

func (m *ImportKeystoresResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImportKeystoresResponse) XXX_Merge

func (m *ImportKeystoresResponse) XXX_Merge(src proto.Message)

func (*ImportKeystoresResponse) XXX_Size

func (m *ImportKeystoresResponse) XXX_Size() int

func (*ImportKeystoresResponse) XXX_Unmarshal

func (m *ImportKeystoresResponse) XXX_Unmarshal(b []byte) error

type KeymanagerKind

type KeymanagerKind int32
const (
	KeymanagerKind_DERIVED KeymanagerKind = 0
	KeymanagerKind_DIRECT  KeymanagerKind = 1
	KeymanagerKind_REMOTE  KeymanagerKind = 2
)

func (KeymanagerKind) EnumDescriptor

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

func (KeymanagerKind) String

func (x KeymanagerKind) String() string

type ListAccountsRequest

type ListAccountsRequest struct {
	GetDepositTxData     bool     `protobuf:"varint,1,opt,name=get_deposit_tx_data,json=getDepositTxData,proto3" json:"get_deposit_tx_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListAccountsRequest) Descriptor

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

func (*ListAccountsRequest) GetGetDepositTxData

func (m *ListAccountsRequest) GetGetDepositTxData() bool

func (*ListAccountsRequest) ProtoMessage

func (*ListAccountsRequest) ProtoMessage()

func (*ListAccountsRequest) Reset

func (m *ListAccountsRequest) Reset()

func (*ListAccountsRequest) String

func (m *ListAccountsRequest) String() string

func (*ListAccountsRequest) XXX_DiscardUnknown

func (m *ListAccountsRequest) XXX_DiscardUnknown()

func (*ListAccountsRequest) XXX_Marshal

func (m *ListAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListAccountsRequest) XXX_Merge

func (m *ListAccountsRequest) XXX_Merge(src proto.Message)

func (*ListAccountsRequest) XXX_Size

func (m *ListAccountsRequest) XXX_Size() int

func (*ListAccountsRequest) XXX_Unmarshal

func (m *ListAccountsRequest) XXX_Unmarshal(b []byte) error

type ListAccountsResponse

type ListAccountsResponse struct {
	Accounts             []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*ListAccountsResponse) Descriptor

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

func (*ListAccountsResponse) GetAccounts

func (m *ListAccountsResponse) GetAccounts() []*Account

func (*ListAccountsResponse) ProtoMessage

func (*ListAccountsResponse) ProtoMessage()

func (*ListAccountsResponse) Reset

func (m *ListAccountsResponse) Reset()

func (*ListAccountsResponse) String

func (m *ListAccountsResponse) String() string

func (*ListAccountsResponse) XXX_DiscardUnknown

func (m *ListAccountsResponse) XXX_DiscardUnknown()

func (*ListAccountsResponse) XXX_Marshal

func (m *ListAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListAccountsResponse) XXX_Merge

func (m *ListAccountsResponse) XXX_Merge(src proto.Message)

func (*ListAccountsResponse) XXX_Size

func (m *ListAccountsResponse) XXX_Size() int

func (*ListAccountsResponse) XXX_Unmarshal

func (m *ListAccountsResponse) XXX_Unmarshal(b []byte) error

type ListPublicKeysResponse

type ListPublicKeysResponse struct {
	ValidatingPublicKeys [][]byte `protobuf:"bytes,2,rep,name=validating_public_keys,json=validatingPublicKeys,proto3" json:"validating_public_keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListPublicKeysResponse) Descriptor

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

func (*ListPublicKeysResponse) GetValidatingPublicKeys

func (m *ListPublicKeysResponse) GetValidatingPublicKeys() [][]byte

func (*ListPublicKeysResponse) ProtoMessage

func (*ListPublicKeysResponse) ProtoMessage()

func (*ListPublicKeysResponse) Reset

func (m *ListPublicKeysResponse) Reset()

func (*ListPublicKeysResponse) String

func (m *ListPublicKeysResponse) String() string

func (*ListPublicKeysResponse) XXX_DiscardUnknown

func (m *ListPublicKeysResponse) XXX_DiscardUnknown()

func (*ListPublicKeysResponse) XXX_Marshal

func (m *ListPublicKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPublicKeysResponse) XXX_Merge

func (m *ListPublicKeysResponse) XXX_Merge(src proto.Message)

func (*ListPublicKeysResponse) XXX_Size

func (m *ListPublicKeysResponse) XXX_Size() int

func (*ListPublicKeysResponse) XXX_Unmarshal

func (m *ListPublicKeysResponse) XXX_Unmarshal(b []byte) error

type NodeConnectionResponse

type NodeConnectionResponse struct {
	BeaconNodeEndpoint     string   `protobuf:"bytes,1,opt,name=beacon_node_endpoint,json=beaconNodeEndpoint,proto3" json:"beacon_node_endpoint,omitempty"`
	Connected              bool     `protobuf:"varint,2,opt,name=connected,proto3" json:"connected,omitempty"`
	Syncing                bool     `protobuf:"varint,3,opt,name=syncing,proto3" json:"syncing,omitempty"`
	GenesisTime            uint64   `protobuf:"varint,4,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"`
	DepositContractAddress []byte   `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral   struct{} `json:"-"`
	XXX_unrecognized       []byte   `json:"-"`
	XXX_sizecache          int32    `json:"-"`
}

func (*NodeConnectionResponse) Descriptor

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

func (*NodeConnectionResponse) GetBeaconNodeEndpoint

func (m *NodeConnectionResponse) GetBeaconNodeEndpoint() string

func (*NodeConnectionResponse) GetConnected

func (m *NodeConnectionResponse) GetConnected() bool

func (*NodeConnectionResponse) GetDepositContractAddress

func (m *NodeConnectionResponse) GetDepositContractAddress() []byte

func (*NodeConnectionResponse) GetGenesisTime

func (m *NodeConnectionResponse) GetGenesisTime() uint64

func (*NodeConnectionResponse) GetSyncing

func (m *NodeConnectionResponse) GetSyncing() bool

func (*NodeConnectionResponse) ProtoMessage

func (*NodeConnectionResponse) ProtoMessage()

func (*NodeConnectionResponse) Reset

func (m *NodeConnectionResponse) Reset()

func (*NodeConnectionResponse) String

func (m *NodeConnectionResponse) String() string

func (*NodeConnectionResponse) XXX_DiscardUnknown

func (m *NodeConnectionResponse) XXX_DiscardUnknown()

func (*NodeConnectionResponse) XXX_Marshal

func (m *NodeConnectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeConnectionResponse) XXX_Merge

func (m *NodeConnectionResponse) XXX_Merge(src proto.Message)

func (*NodeConnectionResponse) XXX_Size

func (m *NodeConnectionResponse) XXX_Size() int

func (*NodeConnectionResponse) XXX_Unmarshal

func (m *NodeConnectionResponse) XXX_Unmarshal(b []byte) error

type RemoteSignerClient

type RemoteSignerClient interface {
	ListValidatingPublicKeys(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ListPublicKeysResponse, error)
	Sign(ctx context.Context, in *SignRequest, opts ...grpc.CallOption) (*SignResponse, error)
}

RemoteSignerClient is the client API for RemoteSigner service.

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

type RemoteSignerServer

type RemoteSignerServer interface {
	ListValidatingPublicKeys(context.Context, *empty.Empty) (*ListPublicKeysResponse, error)
	Sign(context.Context, *SignRequest) (*SignResponse, error)
}

RemoteSignerServer is the server API for RemoteSigner service.

type SignRequest

type SignRequest struct {
	PublicKey       []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	SigningRoot     []byte `protobuf:"bytes,2,opt,name=signing_root,json=signingRoot,proto3" json:"signing_root,omitempty"`
	SignatureDomain []byte `protobuf:"bytes,3,opt,name=signature_domain,json=signatureDomain,proto3" json:"signature_domain,omitempty"`
	// Types that are valid to be assigned to Object:
	//	*SignRequest_Block
	//	*SignRequest_AttestationData
	//	*SignRequest_AggregateAttestationAndProof
	//	*SignRequest_Exit
	//	*SignRequest_Slot
	//	*SignRequest_Epoch
	Object               isSignRequest_Object `protobuf_oneof:"object"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*SignRequest) Descriptor

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

func (*SignRequest) GetAggregateAttestationAndProof

func (m *SignRequest) GetAggregateAttestationAndProof() *v1alpha1.AggregateAttestationAndProof

func (*SignRequest) GetAttestationData

func (m *SignRequest) GetAttestationData() *v1alpha1.AttestationData

func (*SignRequest) GetBlock

func (m *SignRequest) GetBlock() *v1alpha1.BeaconBlock

func (*SignRequest) GetEpoch

func (m *SignRequest) GetEpoch() uint64

func (*SignRequest) GetExit

func (m *SignRequest) GetExit() *v1alpha1.VoluntaryExit

func (*SignRequest) GetObject

func (m *SignRequest) GetObject() isSignRequest_Object

func (*SignRequest) GetPublicKey

func (m *SignRequest) GetPublicKey() []byte

func (*SignRequest) GetSignatureDomain

func (m *SignRequest) GetSignatureDomain() []byte

func (*SignRequest) GetSigningRoot

func (m *SignRequest) GetSigningRoot() []byte

func (*SignRequest) GetSlot

func (m *SignRequest) GetSlot() uint64

func (*SignRequest) ProtoMessage

func (*SignRequest) ProtoMessage()

func (*SignRequest) Reset

func (m *SignRequest) Reset()

func (*SignRequest) String

func (m *SignRequest) String() string

func (*SignRequest) XXX_DiscardUnknown

func (m *SignRequest) XXX_DiscardUnknown()

func (*SignRequest) XXX_Marshal

func (m *SignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignRequest) XXX_Merge

func (m *SignRequest) XXX_Merge(src proto.Message)

func (*SignRequest) XXX_OneofWrappers

func (*SignRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*SignRequest) XXX_Size

func (m *SignRequest) XXX_Size() int

func (*SignRequest) XXX_Unmarshal

func (m *SignRequest) XXX_Unmarshal(b []byte) error

type SignRequest_AggregateAttestationAndProof

type SignRequest_AggregateAttestationAndProof struct {
	AggregateAttestationAndProof *v1alpha1.AggregateAttestationAndProof `protobuf:"bytes,103,opt,name=aggregate_attestation_and_proof,json=aggregateAttestationAndProof,proto3,oneof"`
}

type SignRequest_AttestationData

type SignRequest_AttestationData struct {
	AttestationData *v1alpha1.AttestationData `protobuf:"bytes,102,opt,name=attestation_data,json=attestationData,proto3,oneof"`
}

type SignRequest_Block

type SignRequest_Block struct {
	Block *v1alpha1.BeaconBlock `protobuf:"bytes,101,opt,name=block,proto3,oneof"`
}

type SignRequest_Epoch

type SignRequest_Epoch struct {
	Epoch uint64 `protobuf:"varint,106,opt,name=epoch,proto3,oneof"`
}

type SignRequest_Exit

type SignRequest_Exit struct {
	Exit *v1alpha1.VoluntaryExit `protobuf:"bytes,104,opt,name=exit,proto3,oneof"`
}

type SignRequest_Slot

type SignRequest_Slot struct {
	Slot uint64 `protobuf:"varint,105,opt,name=slot,proto3,oneof"`
}

type SignResponse

type SignResponse struct {
	Signature            []byte              `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	Status               SignResponse_Status `protobuf:"varint,2,opt,name=status,proto3,enum=ethereum.validator.accounts.v2.SignResponse_Status" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*SignResponse) Descriptor

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

func (*SignResponse) GetSignature

func (m *SignResponse) GetSignature() []byte

func (*SignResponse) GetStatus

func (m *SignResponse) GetStatus() SignResponse_Status

func (*SignResponse) ProtoMessage

func (*SignResponse) ProtoMessage()

func (*SignResponse) Reset

func (m *SignResponse) Reset()

func (*SignResponse) String

func (m *SignResponse) String() string

func (*SignResponse) XXX_DiscardUnknown

func (m *SignResponse) XXX_DiscardUnknown()

func (*SignResponse) XXX_Marshal

func (m *SignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignResponse) XXX_Merge

func (m *SignResponse) XXX_Merge(src proto.Message)

func (*SignResponse) XXX_Size

func (m *SignResponse) XXX_Size() int

func (*SignResponse) XXX_Unmarshal

func (m *SignResponse) XXX_Unmarshal(b []byte) error

type SignResponse_Status

type SignResponse_Status int32
const (
	SignResponse_UNKNOWN   SignResponse_Status = 0
	SignResponse_SUCCEEDED SignResponse_Status = 1
	SignResponse_DENIED    SignResponse_Status = 2
	SignResponse_FAILED    SignResponse_Status = 3
)

func (SignResponse_Status) EnumDescriptor

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

func (SignResponse_Status) String

func (x SignResponse_Status) String() string

type UnimplementedAccountsServer

type UnimplementedAccountsServer struct {
}

UnimplementedAccountsServer can be embedded to have forward compatible implementations.

func (*UnimplementedAccountsServer) BackupAccounts added in v1.2.0

func (*UnimplementedAccountsServer) CreateAccount

func (*UnimplementedAccountsServer) DeleteAccounts added in v1.3.6

func (*UnimplementedAccountsServer) ListAccounts

type UnimplementedAuthServer

type UnimplementedAuthServer struct {
}

UnimplementedAuthServer can be embedded to have forward compatible implementations.

func (*UnimplementedAuthServer) Login

func (*UnimplementedAuthServer) Signup

type UnimplementedHealthServer

type UnimplementedHealthServer struct {
}

UnimplementedHealthServer can be embedded to have forward compatible implementations.

func (*UnimplementedHealthServer) GetBeaconNodeConnection

func (*UnimplementedHealthServer) GetBeaconNodeConnection(ctx context.Context, req *empty.Empty) (*NodeConnectionResponse, error)

type UnimplementedRemoteSignerServer

type UnimplementedRemoteSignerServer struct {
}

UnimplementedRemoteSignerServer can be embedded to have forward compatible implementations.

func (*UnimplementedRemoteSignerServer) ListValidatingPublicKeys

func (*UnimplementedRemoteSignerServer) ListValidatingPublicKeys(ctx context.Context, req *empty.Empty) (*ListPublicKeysResponse, error)

func (*UnimplementedRemoteSignerServer) Sign

type UnimplementedWalletServer

type UnimplementedWalletServer struct {
}

UnimplementedWalletServer can be embedded to have forward compatible implementations.

func (*UnimplementedWalletServer) ChangePassword

func (*UnimplementedWalletServer) CreateWallet

func (*UnimplementedWalletServer) EditConfig

func (*UnimplementedWalletServer) GenerateMnemonic

func (*UnimplementedWalletServer) HasWallet

func (*UnimplementedWalletServer) ImportKeystores

func (*UnimplementedWalletServer) WalletConfig

type WalletClient

type WalletClient interface {
	HasWallet(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*HasWalletResponse, error)
	CreateWallet(ctx context.Context, in *CreateWalletRequest, opts ...grpc.CallOption) (*WalletResponse, error)
	EditConfig(ctx context.Context, in *EditWalletConfigRequest, opts ...grpc.CallOption) (*WalletResponse, error)
	WalletConfig(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*WalletResponse, error)
	GenerateMnemonic(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GenerateMnemonicResponse, error)
	ChangePassword(ctx context.Context, in *ChangePasswordRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	ImportKeystores(ctx context.Context, in *ImportKeystoresRequest, opts ...grpc.CallOption) (*ImportKeystoresResponse, 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"`
	KeymanagerKind       KeymanagerKind    `` /* 155-byte string literal not displayed */
	KeymanagerConfig     map[string]string `` /* 197-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*WalletResponse) Descriptor

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

func (*WalletResponse) GetKeymanagerConfig

func (m *WalletResponse) GetKeymanagerConfig() map[string]string

func (*WalletResponse) GetKeymanagerKind

func (m *WalletResponse) GetKeymanagerKind() KeymanagerKind

func (*WalletResponse) GetWalletPath

func (m *WalletResponse) GetWalletPath() string

func (*WalletResponse) ProtoMessage

func (*WalletResponse) ProtoMessage()

func (*WalletResponse) Reset

func (m *WalletResponse) Reset()

func (*WalletResponse) String

func (m *WalletResponse) String() string

func (*WalletResponse) XXX_DiscardUnknown

func (m *WalletResponse) XXX_DiscardUnknown()

func (*WalletResponse) XXX_Marshal

func (m *WalletResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WalletResponse) XXX_Merge

func (m *WalletResponse) XXX_Merge(src proto.Message)

func (*WalletResponse) XXX_Size

func (m *WalletResponse) XXX_Size() int

func (*WalletResponse) XXX_Unmarshal

func (m *WalletResponse) XXX_Unmarshal(b []byte) error

type WalletServer

WalletServer is the server API for Wallet service.

Jump to

Keyboard shortcuts

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