ethereum_validator_accounts_v2

package
v1.0.0-alpha.26 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2020 License: GPL-3.0 Imports: 12 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthKeymanager        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowKeymanager          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupKeymanager = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthWebApi        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowWebApi          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupWebApi = fmt.Errorf("proto: unexpected end of group")
)
View Source
var CreateWalletRequest_KeymanagerKind_name = map[int32]string{
	0: "DERIVED",
	1: "DIRECT",
	2: "REMOTE",
}
View Source
var CreateWalletRequest_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 RegisterAccountsServer

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

func RegisterAuthServer

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

func RegisterHealthServer

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

func RegisterRemoteSignerServer

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

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) Marshal

func (m *Account) Marshal() (dAtA []byte, err error)

func (*Account) MarshalTo

func (m *Account) MarshalTo(dAtA []byte) (int, error)

func (*Account) MarshalToSizedBuffer

func (m *Account) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) Reset

func (m *Account) Reset()

func (*Account) Size

func (m *Account) Size() (n int)

func (*Account) String

func (m *Account) String() string

func (*Account) Unmarshal

func (m *Account) Unmarshal(dAtA []byte) error

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) Marshal

func (m *AccountRequest) Marshal() (dAtA []byte, err error)

func (*AccountRequest) MarshalTo

func (m *AccountRequest) MarshalTo(dAtA []byte) (int, error)

func (*AccountRequest) MarshalToSizedBuffer

func (m *AccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountRequest) ProtoMessage

func (*AccountRequest) ProtoMessage()

func (*AccountRequest) Reset

func (m *AccountRequest) Reset()

func (*AccountRequest) Size

func (m *AccountRequest) Size() (n int)

func (*AccountRequest) String

func (m *AccountRequest) String() string

func (*AccountRequest) Unmarshal

func (m *AccountRequest) Unmarshal(dAtA []byte) error

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 *types.Empty, opts ...grpc.CallOption) (*CreateAccountResponse, error)
	ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*ListAccountsResponse, 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.ClientConn) AccountsClient

type AccountsServer

type AccountsServer interface {
	CreateAccount(context.Context, *types.Empty) (*CreateAccountResponse, error)
	ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error)
}

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.ClientConn) 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) Marshal

func (m *AuthRequest) Marshal() (dAtA []byte, err error)

func (*AuthRequest) MarshalTo

func (m *AuthRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuthRequest) MarshalToSizedBuffer

func (m *AuthRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthRequest) ProtoMessage

func (*AuthRequest) ProtoMessage()

func (*AuthRequest) Reset

func (m *AuthRequest) Reset()

func (*AuthRequest) Size

func (m *AuthRequest) Size() (n int)

func (*AuthRequest) String

func (m *AuthRequest) String() string

func (*AuthRequest) Unmarshal

func (m *AuthRequest) Unmarshal(dAtA []byte) error

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) Marshal

func (m *AuthResponse) Marshal() (dAtA []byte, err error)

func (*AuthResponse) MarshalTo

func (m *AuthResponse) MarshalTo(dAtA []byte) (int, error)

func (*AuthResponse) MarshalToSizedBuffer

func (m *AuthResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthResponse) ProtoMessage

func (*AuthResponse) ProtoMessage()

func (*AuthResponse) Reset

func (m *AuthResponse) Reset()

func (*AuthResponse) Size

func (m *AuthResponse) Size() (n int)

func (*AuthResponse) String

func (m *AuthResponse) String() string

func (*AuthResponse) Unmarshal

func (m *AuthResponse) Unmarshal(dAtA []byte) error

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 CreateAccountResponse

type CreateAccountResponse struct {
	Account              *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateAccountResponse) Descriptor

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

func (*CreateAccountResponse) GetAccount

func (m *CreateAccountResponse) GetAccount() *Account

func (*CreateAccountResponse) Marshal

func (m *CreateAccountResponse) Marshal() (dAtA []byte, err error)

func (*CreateAccountResponse) MarshalTo

func (m *CreateAccountResponse) MarshalTo(dAtA []byte) (int, error)

func (*CreateAccountResponse) MarshalToSizedBuffer

func (m *CreateAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateAccountResponse) ProtoMessage

func (*CreateAccountResponse) ProtoMessage()

func (*CreateAccountResponse) Reset

func (m *CreateAccountResponse) Reset()

func (*CreateAccountResponse) Size

func (m *CreateAccountResponse) Size() (n int)

func (*CreateAccountResponse) String

func (m *CreateAccountResponse) String() string

func (*CreateAccountResponse) Unmarshal

func (m *CreateAccountResponse) Unmarshal(dAtA []byte) error

func (*CreateAccountResponse) XXX_DiscardUnknown

func (m *CreateAccountResponse) XXX_DiscardUnknown()

func (*CreateAccountResponse) XXX_Marshal

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

func (*CreateAccountResponse) XXX_Merge

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

func (*CreateAccountResponse) XXX_Size

func (m *CreateAccountResponse) XXX_Size() int

func (*CreateAccountResponse) XXX_Unmarshal

func (m *CreateAccountResponse) 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           CreateWalletRequest_KeymanagerKind `` /* 145-byte string literal not displayed */
	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 (*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) Marshal

func (m *CreateWalletRequest) Marshal() (dAtA []byte, err error)

func (*CreateWalletRequest) MarshalTo

func (m *CreateWalletRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateWalletRequest) MarshalToSizedBuffer

func (m *CreateWalletRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateWalletRequest) ProtoMessage

func (*CreateWalletRequest) ProtoMessage()

func (*CreateWalletRequest) Reset

func (m *CreateWalletRequest) Reset()

func (*CreateWalletRequest) Size

func (m *CreateWalletRequest) Size() (n int)

func (*CreateWalletRequest) String

func (m *CreateWalletRequest) String() string

func (*CreateWalletRequest) Unmarshal

func (m *CreateWalletRequest) Unmarshal(dAtA []byte) error

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 CreateWalletRequest_KeymanagerKind

type CreateWalletRequest_KeymanagerKind int32
const (
	CreateWalletRequest_DERIVED CreateWalletRequest_KeymanagerKind = 0
	CreateWalletRequest_DIRECT  CreateWalletRequest_KeymanagerKind = 1
	CreateWalletRequest_REMOTE  CreateWalletRequest_KeymanagerKind = 2
)

func (CreateWalletRequest_KeymanagerKind) EnumDescriptor

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

func (CreateWalletRequest_KeymanagerKind) 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"`
	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) Marshal

func (m *EditWalletConfigRequest) Marshal() (dAtA []byte, err error)

func (*EditWalletConfigRequest) MarshalTo

func (m *EditWalletConfigRequest) MarshalTo(dAtA []byte) (int, error)

func (*EditWalletConfigRequest) MarshalToSizedBuffer

func (m *EditWalletConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EditWalletConfigRequest) ProtoMessage

func (*EditWalletConfigRequest) ProtoMessage()

func (*EditWalletConfigRequest) Reset

func (m *EditWalletConfigRequest) Reset()

func (*EditWalletConfigRequest) Size

func (m *EditWalletConfigRequest) Size() (n int)

func (*EditWalletConfigRequest) String

func (m *EditWalletConfigRequest) String() string

func (*EditWalletConfigRequest) Unmarshal

func (m *EditWalletConfigRequest) Unmarshal(dAtA []byte) error

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) Marshal

func (m *GenerateMnemonicResponse) Marshal() (dAtA []byte, err error)

func (*GenerateMnemonicResponse) MarshalTo

func (m *GenerateMnemonicResponse) MarshalTo(dAtA []byte) (int, error)

func (*GenerateMnemonicResponse) MarshalToSizedBuffer

func (m *GenerateMnemonicResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenerateMnemonicResponse) ProtoMessage

func (*GenerateMnemonicResponse) ProtoMessage()

func (*GenerateMnemonicResponse) Reset

func (m *GenerateMnemonicResponse) Reset()

func (*GenerateMnemonicResponse) Size

func (m *GenerateMnemonicResponse) Size() (n int)

func (*GenerateMnemonicResponse) String

func (m *GenerateMnemonicResponse) String() string

func (*GenerateMnemonicResponse) Unmarshal

func (m *GenerateMnemonicResponse) Unmarshal(dAtA []byte) error

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 HealthClient

type HealthClient interface {
	GetBeaconNodeConnection(ctx context.Context, in *types.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.ClientConn) HealthClient

type HealthServer

type HealthServer interface {
	GetBeaconNodeConnection(context.Context, *types.Empty) (*NodeConnectionResponse, error)
}

HealthServer is the server API for Health service.

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) Marshal

func (m *ListAccountsRequest) Marshal() (dAtA []byte, err error)

func (*ListAccountsRequest) MarshalTo

func (m *ListAccountsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListAccountsRequest) MarshalToSizedBuffer

func (m *ListAccountsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListAccountsRequest) ProtoMessage

func (*ListAccountsRequest) ProtoMessage()

func (*ListAccountsRequest) Reset

func (m *ListAccountsRequest) Reset()

func (*ListAccountsRequest) Size

func (m *ListAccountsRequest) Size() (n int)

func (*ListAccountsRequest) String

func (m *ListAccountsRequest) String() string

func (*ListAccountsRequest) Unmarshal

func (m *ListAccountsRequest) Unmarshal(dAtA []byte) error

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) Marshal

func (m *ListAccountsResponse) Marshal() (dAtA []byte, err error)

func (*ListAccountsResponse) MarshalTo

func (m *ListAccountsResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListAccountsResponse) MarshalToSizedBuffer

func (m *ListAccountsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListAccountsResponse) ProtoMessage

func (*ListAccountsResponse) ProtoMessage()

func (*ListAccountsResponse) Reset

func (m *ListAccountsResponse) Reset()

func (*ListAccountsResponse) Size

func (m *ListAccountsResponse) Size() (n int)

func (*ListAccountsResponse) String

func (m *ListAccountsResponse) String() string

func (*ListAccountsResponse) Unmarshal

func (m *ListAccountsResponse) Unmarshal(dAtA []byte) error

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) Marshal

func (m *ListPublicKeysResponse) Marshal() (dAtA []byte, err error)

func (*ListPublicKeysResponse) MarshalTo

func (m *ListPublicKeysResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListPublicKeysResponse) MarshalToSizedBuffer

func (m *ListPublicKeysResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListPublicKeysResponse) ProtoMessage

func (*ListPublicKeysResponse) ProtoMessage()

func (*ListPublicKeysResponse) Reset

func (m *ListPublicKeysResponse) Reset()

func (*ListPublicKeysResponse) Size

func (m *ListPublicKeysResponse) Size() (n int)

func (*ListPublicKeysResponse) String

func (m *ListPublicKeysResponse) String() string

func (*ListPublicKeysResponse) Unmarshal

func (m *ListPublicKeysResponse) Unmarshal(dAtA []byte) error

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) Marshal

func (m *NodeConnectionResponse) Marshal() (dAtA []byte, err error)

func (*NodeConnectionResponse) MarshalTo

func (m *NodeConnectionResponse) MarshalTo(dAtA []byte) (int, error)

func (*NodeConnectionResponse) MarshalToSizedBuffer

func (m *NodeConnectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodeConnectionResponse) ProtoMessage

func (*NodeConnectionResponse) ProtoMessage()

func (*NodeConnectionResponse) Reset

func (m *NodeConnectionResponse) Reset()

func (*NodeConnectionResponse) Size

func (m *NodeConnectionResponse) Size() (n int)

func (*NodeConnectionResponse) String

func (m *NodeConnectionResponse) String() string

func (*NodeConnectionResponse) Unmarshal

func (m *NodeConnectionResponse) Unmarshal(dAtA []byte) error

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 *types.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.

func NewRemoteSignerClient

func NewRemoteSignerClient(cc *grpc.ClientConn) RemoteSignerClient

type RemoteSignerServer

type RemoteSignerServer interface {
	ListValidatingPublicKeys(context.Context, *types.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) Marshal

func (m *SignRequest) Marshal() (dAtA []byte, err error)

func (*SignRequest) MarshalTo

func (m *SignRequest) MarshalTo(dAtA []byte) (int, error)

func (*SignRequest) MarshalToSizedBuffer

func (m *SignRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignRequest) ProtoMessage

func (*SignRequest) ProtoMessage()

func (*SignRequest) Reset

func (m *SignRequest) Reset()

func (*SignRequest) Size

func (m *SignRequest) Size() (n int)

func (*SignRequest) String

func (m *SignRequest) String() string

func (*SignRequest) Unmarshal

func (m *SignRequest) Unmarshal(dAtA []byte) error

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 `` /* 157-byte string literal not displayed */
}

func (*SignRequest_AggregateAttestationAndProof) MarshalTo

func (m *SignRequest_AggregateAttestationAndProof) MarshalTo(dAtA []byte) (int, error)

func (*SignRequest_AggregateAttestationAndProof) MarshalToSizedBuffer

func (m *SignRequest_AggregateAttestationAndProof) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignRequest_AggregateAttestationAndProof) Size

type SignRequest_AttestationData

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

func (*SignRequest_AttestationData) MarshalTo

func (m *SignRequest_AttestationData) MarshalTo(dAtA []byte) (int, error)

func (*SignRequest_AttestationData) MarshalToSizedBuffer

func (m *SignRequest_AttestationData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignRequest_AttestationData) Size

func (m *SignRequest_AttestationData) Size() (n int)

type SignRequest_Block

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

func (*SignRequest_Block) MarshalTo

func (m *SignRequest_Block) MarshalTo(dAtA []byte) (int, error)

func (*SignRequest_Block) MarshalToSizedBuffer

func (m *SignRequest_Block) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignRequest_Block) Size

func (m *SignRequest_Block) Size() (n int)

type SignRequest_Epoch

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

func (*SignRequest_Epoch) MarshalTo

func (m *SignRequest_Epoch) MarshalTo(dAtA []byte) (int, error)

func (*SignRequest_Epoch) MarshalToSizedBuffer

func (m *SignRequest_Epoch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignRequest_Epoch) Size

func (m *SignRequest_Epoch) Size() (n int)

type SignRequest_Exit

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

func (*SignRequest_Exit) MarshalTo

func (m *SignRequest_Exit) MarshalTo(dAtA []byte) (int, error)

func (*SignRequest_Exit) MarshalToSizedBuffer

func (m *SignRequest_Exit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignRequest_Exit) Size

func (m *SignRequest_Exit) Size() (n int)

type SignRequest_Slot

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

func (*SignRequest_Slot) MarshalTo

func (m *SignRequest_Slot) MarshalTo(dAtA []byte) (int, error)

func (*SignRequest_Slot) MarshalToSizedBuffer

func (m *SignRequest_Slot) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignRequest_Slot) Size

func (m *SignRequest_Slot) Size() (n int)

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) Marshal

func (m *SignResponse) Marshal() (dAtA []byte, err error)

func (*SignResponse) MarshalTo

func (m *SignResponse) MarshalTo(dAtA []byte) (int, error)

func (*SignResponse) MarshalToSizedBuffer

func (m *SignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignResponse) ProtoMessage

func (*SignResponse) ProtoMessage()

func (*SignResponse) Reset

func (m *SignResponse) Reset()

func (*SignResponse) Size

func (m *SignResponse) Size() (n int)

func (*SignResponse) String

func (m *SignResponse) String() string

func (*SignResponse) Unmarshal

func (m *SignResponse) Unmarshal(dAtA []byte) error

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) CreateAccount

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 *types.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 *types.Empty) (*ListPublicKeysResponse, error)

func (*UnimplementedRemoteSignerServer) Sign

type UnimplementedWalletServer

type UnimplementedWalletServer struct {
}

UnimplementedWalletServer can be embedded to have forward compatible implementations.

func (*UnimplementedWalletServer) CreateWallet

func (*UnimplementedWalletServer) EditConfig

func (*UnimplementedWalletServer) GenerateMnemonic

func (*UnimplementedWalletServer) WalletConfig

type WalletClient

type WalletClient interface {
	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 *types.Empty, opts ...grpc.CallOption) (*WalletResponse, error)
	GenerateMnemonic(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*GenerateMnemonicResponse, 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.ClientConn) WalletClient

type WalletResponse

type WalletResponse struct {
	WalletPath           string                           `protobuf:"bytes,1,opt,name=wallet_path,json=walletPath,proto3" json:"wallet_path,omitempty"`
	KeymanagerConfig     *WalletResponse_KeymanagerConfig `protobuf:"bytes,2,opt,name=keymanager_config,json=keymanagerConfig,proto3" json:"keymanager_config,omitempty"`
	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() *WalletResponse_KeymanagerConfig

func (*WalletResponse) GetWalletPath

func (m *WalletResponse) GetWalletPath() string

func (*WalletResponse) Marshal

func (m *WalletResponse) Marshal() (dAtA []byte, err error)

func (*WalletResponse) MarshalTo

func (m *WalletResponse) MarshalTo(dAtA []byte) (int, error)

func (*WalletResponse) MarshalToSizedBuffer

func (m *WalletResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WalletResponse) ProtoMessage

func (*WalletResponse) ProtoMessage()

func (*WalletResponse) Reset

func (m *WalletResponse) Reset()

func (*WalletResponse) Size

func (m *WalletResponse) Size() (n int)

func (*WalletResponse) String

func (m *WalletResponse) String() string

func (*WalletResponse) Unmarshal

func (m *WalletResponse) Unmarshal(dAtA []byte) error

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 WalletResponse_KeymanagerConfig

type WalletResponse_KeymanagerConfig struct {
	Configs              map[string]string `` /* 155-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*WalletResponse_KeymanagerConfig) Descriptor

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

func (*WalletResponse_KeymanagerConfig) GetConfigs

func (m *WalletResponse_KeymanagerConfig) GetConfigs() map[string]string

func (*WalletResponse_KeymanagerConfig) Marshal

func (m *WalletResponse_KeymanagerConfig) Marshal() (dAtA []byte, err error)

func (*WalletResponse_KeymanagerConfig) MarshalTo

func (m *WalletResponse_KeymanagerConfig) MarshalTo(dAtA []byte) (int, error)

func (*WalletResponse_KeymanagerConfig) MarshalToSizedBuffer

func (m *WalletResponse_KeymanagerConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WalletResponse_KeymanagerConfig) ProtoMessage

func (*WalletResponse_KeymanagerConfig) ProtoMessage()

func (*WalletResponse_KeymanagerConfig) Reset

func (*WalletResponse_KeymanagerConfig) Size

func (m *WalletResponse_KeymanagerConfig) Size() (n int)

func (*WalletResponse_KeymanagerConfig) String

func (*WalletResponse_KeymanagerConfig) Unmarshal

func (m *WalletResponse_KeymanagerConfig) Unmarshal(dAtA []byte) error

func (*WalletResponse_KeymanagerConfig) XXX_DiscardUnknown

func (m *WalletResponse_KeymanagerConfig) XXX_DiscardUnknown()

func (*WalletResponse_KeymanagerConfig) XXX_Marshal

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

func (*WalletResponse_KeymanagerConfig) XXX_Merge

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

func (*WalletResponse_KeymanagerConfig) XXX_Size

func (m *WalletResponse_KeymanagerConfig) XXX_Size() int

func (*WalletResponse_KeymanagerConfig) XXX_Unmarshal

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

type WalletServer

type WalletServer interface {
	CreateWallet(context.Context, *CreateWalletRequest) (*WalletResponse, error)
	EditConfig(context.Context, *EditWalletConfigRequest) (*WalletResponse, error)
	WalletConfig(context.Context, *types.Empty) (*WalletResponse, error)
	GenerateMnemonic(context.Context, *types.Empty) (*GenerateMnemonicResponse, error)
}

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