walletrpc

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: ISC Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NextAddressRequest_Kind_name = map[int32]string{
		0: "BIP0044_EXTERNAL",
		1: "BIP0044_INTERNAL",
	}
	NextAddressRequest_Kind_value = map[string]int32{
		"BIP0044_EXTERNAL": 0,
		"BIP0044_INTERNAL": 1,
	}
)

Enum value maps for NextAddressRequest_Kind.

View Source
var (
	ChangePassphraseRequest_Key_name = map[int32]string{
		0: "PRIVATE",
		1: "PUBLIC",
	}
	ChangePassphraseRequest_Key_value = map[string]int32{
		"PRIVATE": 0,
		"PUBLIC":  1,
	}
)

Enum value maps for ChangePassphraseRequest_Key.

View Source
var VersionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "walletrpc.VersionService",
	HandlerType: (*VersionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Version",
			Handler:    _VersionService_Version_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api.proto",
}

VersionService_ServiceDesc is the grpc.ServiceDesc for VersionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var WalletLoaderService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "walletrpc.WalletLoaderService",
	HandlerType: (*WalletLoaderServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "WalletExists",
			Handler:    _WalletLoaderService_WalletExists_Handler,
		},
		{
			MethodName: "CreateWallet",
			Handler:    _WalletLoaderService_CreateWallet_Handler,
		},
		{
			MethodName: "OpenWallet",
			Handler:    _WalletLoaderService_OpenWallet_Handler,
		},
		{
			MethodName: "CloseWallet",
			Handler:    _WalletLoaderService_CloseWallet_Handler,
		},
		{
			MethodName: "StartConsensusRpc",
			Handler:    _WalletLoaderService_StartConsensusRpc_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api.proto",
}

WalletLoaderService_ServiceDesc is the grpc.ServiceDesc for WalletLoaderService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var WalletService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "walletrpc.WalletService",
	HandlerType: (*WalletServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Ping",
			Handler:    _WalletService_Ping_Handler,
		},
		{
			MethodName: "Network",
			Handler:    _WalletService_Network_Handler,
		},
		{
			MethodName: "AccountNumber",
			Handler:    _WalletService_AccountNumber_Handler,
		},
		{
			MethodName: "Accounts",
			Handler:    _WalletService_Accounts_Handler,
		},
		{
			MethodName: "Balance",
			Handler:    _WalletService_Balance_Handler,
		},
		{
			MethodName: "GetTransactions",
			Handler:    _WalletService_GetTransactions_Handler,
		},
		{
			MethodName: "ChangePassphrase",
			Handler:    _WalletService_ChangePassphrase_Handler,
		},
		{
			MethodName: "RenameAccount",
			Handler:    _WalletService_RenameAccount_Handler,
		},
		{
			MethodName: "NextAccount",
			Handler:    _WalletService_NextAccount_Handler,
		},
		{
			MethodName: "NextAddress",
			Handler:    _WalletService_NextAddress_Handler,
		},
		{
			MethodName: "ImportPrivateKey",
			Handler:    _WalletService_ImportPrivateKey_Handler,
		},
		{
			MethodName: "FundTransaction",
			Handler:    _WalletService_FundTransaction_Handler,
		},
		{
			MethodName: "SignTransaction",
			Handler:    _WalletService_SignTransaction_Handler,
		},
		{
			MethodName: "PublishTransaction",
			Handler:    _WalletService_PublishTransaction_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "TransactionNotifications",
			Handler:       _WalletService_TransactionNotifications_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SpentnessNotifications",
			Handler:       _WalletService_SpentnessNotifications_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "AccountNotifications",
			Handler:       _WalletService_AccountNotifications_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "api.proto",
}

WalletService_ServiceDesc is the grpc.ServiceDesc for WalletService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterVersionServiceServer

func RegisterVersionServiceServer(s grpc.ServiceRegistrar, srv VersionServiceServer)

func RegisterWalletLoaderServiceServer

func RegisterWalletLoaderServiceServer(s grpc.ServiceRegistrar, srv WalletLoaderServiceServer)

func RegisterWalletServiceServer

func RegisterWalletServiceServer(s grpc.ServiceRegistrar, srv WalletServiceServer)

Types

type AccountBalance

type AccountBalance struct {
	Account      uint32 `protobuf:"varint,1,opt,name=account,proto3" json:"account,omitempty"`
	TotalBalance int64  `protobuf:"varint,2,opt,name=total_balance,json=totalBalance,proto3" json:"total_balance,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountBalance) Descriptor deprecated

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

Deprecated: Use AccountBalance.ProtoReflect.Descriptor instead.

func (*AccountBalance) GetAccount

func (x *AccountBalance) GetAccount() uint32

func (*AccountBalance) GetTotalBalance

func (x *AccountBalance) GetTotalBalance() int64

func (*AccountBalance) ProtoMessage

func (*AccountBalance) ProtoMessage()

func (*AccountBalance) ProtoReflect

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

func (*AccountBalance) Reset

func (x *AccountBalance) Reset()

func (*AccountBalance) String

func (x *AccountBalance) String() string

type AccountNotificationsRequest

type AccountNotificationsRequest struct {
	// contains filtered or unexported fields
}

func (*AccountNotificationsRequest) Descriptor deprecated

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

Deprecated: Use AccountNotificationsRequest.ProtoReflect.Descriptor instead.

func (*AccountNotificationsRequest) ProtoMessage

func (*AccountNotificationsRequest) ProtoMessage()

func (*AccountNotificationsRequest) ProtoReflect

func (*AccountNotificationsRequest) Reset

func (x *AccountNotificationsRequest) Reset()

func (*AccountNotificationsRequest) String

func (x *AccountNotificationsRequest) String() string

type AccountNotificationsResponse

type AccountNotificationsResponse struct {
	AccountNumber    uint32 `protobuf:"varint,1,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"`
	AccountName      string `protobuf:"bytes,2,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	ExternalKeyCount uint32 `protobuf:"varint,3,opt,name=external_key_count,json=externalKeyCount,proto3" json:"external_key_count,omitempty"`
	InternalKeyCount uint32 `protobuf:"varint,4,opt,name=internal_key_count,json=internalKeyCount,proto3" json:"internal_key_count,omitempty"`
	ImportedKeyCount uint32 `protobuf:"varint,5,opt,name=imported_key_count,json=importedKeyCount,proto3" json:"imported_key_count,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountNotificationsResponse) Descriptor deprecated

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

Deprecated: Use AccountNotificationsResponse.ProtoReflect.Descriptor instead.

func (*AccountNotificationsResponse) GetAccountName

func (x *AccountNotificationsResponse) GetAccountName() string

func (*AccountNotificationsResponse) GetAccountNumber

func (x *AccountNotificationsResponse) GetAccountNumber() uint32

func (*AccountNotificationsResponse) GetExternalKeyCount

func (x *AccountNotificationsResponse) GetExternalKeyCount() uint32

func (*AccountNotificationsResponse) GetImportedKeyCount

func (x *AccountNotificationsResponse) GetImportedKeyCount() uint32

func (*AccountNotificationsResponse) GetInternalKeyCount

func (x *AccountNotificationsResponse) GetInternalKeyCount() uint32

func (*AccountNotificationsResponse) ProtoMessage

func (*AccountNotificationsResponse) ProtoMessage()

func (*AccountNotificationsResponse) ProtoReflect

func (*AccountNotificationsResponse) Reset

func (x *AccountNotificationsResponse) Reset()

func (*AccountNotificationsResponse) String

type AccountNumberRequest

type AccountNumberRequest struct {
	AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountNumberRequest) Descriptor deprecated

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

Deprecated: Use AccountNumberRequest.ProtoReflect.Descriptor instead.

func (*AccountNumberRequest) GetAccountName

func (x *AccountNumberRequest) GetAccountName() string

func (*AccountNumberRequest) ProtoMessage

func (*AccountNumberRequest) ProtoMessage()

func (*AccountNumberRequest) ProtoReflect

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

func (*AccountNumberRequest) Reset

func (x *AccountNumberRequest) Reset()

func (*AccountNumberRequest) String

func (x *AccountNumberRequest) String() string

type AccountNumberResponse

type AccountNumberResponse struct {
	AccountNumber uint32 `protobuf:"varint,1,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountNumberResponse) Descriptor deprecated

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

Deprecated: Use AccountNumberResponse.ProtoReflect.Descriptor instead.

func (*AccountNumberResponse) GetAccountNumber

func (x *AccountNumberResponse) GetAccountNumber() uint32

func (*AccountNumberResponse) ProtoMessage

func (*AccountNumberResponse) ProtoMessage()

func (*AccountNumberResponse) ProtoReflect

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

func (*AccountNumberResponse) Reset

func (x *AccountNumberResponse) Reset()

func (*AccountNumberResponse) String

func (x *AccountNumberResponse) String() string

type AccountsRequest

type AccountsRequest struct {
	ChainId uint32 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountsRequest) Descriptor deprecated

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

Deprecated: Use AccountsRequest.ProtoReflect.Descriptor instead.

func (*AccountsRequest) GetChainId

func (x *AccountsRequest) GetChainId() uint32

func (*AccountsRequest) ProtoMessage

func (*AccountsRequest) ProtoMessage()

func (*AccountsRequest) ProtoReflect

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

func (*AccountsRequest) Reset

func (x *AccountsRequest) Reset()

func (*AccountsRequest) String

func (x *AccountsRequest) String() string

type AccountsResponse

type AccountsResponse struct {
	Accounts           []*AccountsResponse_Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	CurrentBlockHash   []byte                      `protobuf:"bytes,2,opt,name=current_block_hash,json=currentBlockHash,proto3" json:"current_block_hash,omitempty"`
	CurrentBlockHeight int32                       `protobuf:"varint,3,opt,name=current_block_height,json=currentBlockHeight,proto3" json:"current_block_height,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountsResponse) Descriptor deprecated

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

Deprecated: Use AccountsResponse.ProtoReflect.Descriptor instead.

func (*AccountsResponse) GetAccounts

func (x *AccountsResponse) GetAccounts() []*AccountsResponse_Account

func (*AccountsResponse) GetCurrentBlockHash

func (x *AccountsResponse) GetCurrentBlockHash() []byte

func (*AccountsResponse) GetCurrentBlockHeight

func (x *AccountsResponse) GetCurrentBlockHeight() int32

func (*AccountsResponse) ProtoMessage

func (*AccountsResponse) ProtoMessage()

func (*AccountsResponse) ProtoReflect

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

func (*AccountsResponse) Reset

func (x *AccountsResponse) Reset()

func (*AccountsResponse) String

func (x *AccountsResponse) String() string

type AccountsResponse_Account

type AccountsResponse_Account struct {
	AccountNumber    uint32 `protobuf:"varint,1,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"`
	AccountName      string `protobuf:"bytes,2,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	TotalBalance     int64  `protobuf:"varint,3,opt,name=total_balance,json=totalBalance,proto3" json:"total_balance,omitempty"`
	ExternalKeyCount uint32 `protobuf:"varint,4,opt,name=external_key_count,json=externalKeyCount,proto3" json:"external_key_count,omitempty"`
	InternalKeyCount uint32 `protobuf:"varint,5,opt,name=internal_key_count,json=internalKeyCount,proto3" json:"internal_key_count,omitempty"`
	ImportedKeyCount uint32 `protobuf:"varint,6,opt,name=imported_key_count,json=importedKeyCount,proto3" json:"imported_key_count,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountsResponse_Account) Descriptor deprecated

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

Deprecated: Use AccountsResponse_Account.ProtoReflect.Descriptor instead.

func (*AccountsResponse_Account) GetAccountName

func (x *AccountsResponse_Account) GetAccountName() string

func (*AccountsResponse_Account) GetAccountNumber

func (x *AccountsResponse_Account) GetAccountNumber() uint32

func (*AccountsResponse_Account) GetExternalKeyCount

func (x *AccountsResponse_Account) GetExternalKeyCount() uint32

func (*AccountsResponse_Account) GetImportedKeyCount

func (x *AccountsResponse_Account) GetImportedKeyCount() uint32

func (*AccountsResponse_Account) GetInternalKeyCount

func (x *AccountsResponse_Account) GetInternalKeyCount() uint32

func (*AccountsResponse_Account) GetTotalBalance

func (x *AccountsResponse_Account) GetTotalBalance() int64

func (*AccountsResponse_Account) ProtoMessage

func (*AccountsResponse_Account) ProtoMessage()

func (*AccountsResponse_Account) ProtoReflect

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

func (*AccountsResponse_Account) Reset

func (x *AccountsResponse_Account) Reset()

func (*AccountsResponse_Account) String

func (x *AccountsResponse_Account) String() string

type BalanceRequest

type BalanceRequest struct {
	ChainId               uint32 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	AccountNumber         uint32 `protobuf:"varint,2,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"`
	RequiredConfirmations int32  `protobuf:"varint,3,opt,name=required_confirmations,json=requiredConfirmations,proto3" json:"required_confirmations,omitempty"`
	// contains filtered or unexported fields
}

func (*BalanceRequest) Descriptor deprecated

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

Deprecated: Use BalanceRequest.ProtoReflect.Descriptor instead.

func (*BalanceRequest) GetAccountNumber

func (x *BalanceRequest) GetAccountNumber() uint32

func (*BalanceRequest) GetChainId

func (x *BalanceRequest) GetChainId() uint32

func (*BalanceRequest) GetRequiredConfirmations

func (x *BalanceRequest) GetRequiredConfirmations() int32

func (*BalanceRequest) ProtoMessage

func (*BalanceRequest) ProtoMessage()

func (*BalanceRequest) ProtoReflect

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

func (*BalanceRequest) Reset

func (x *BalanceRequest) Reset()

func (*BalanceRequest) String

func (x *BalanceRequest) String() string

type BalanceResponse

type BalanceResponse struct {
	Total          int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Spendable      int64 `protobuf:"varint,2,opt,name=spendable,proto3" json:"spendable,omitempty"`
	ImmatureReward int64 `protobuf:"varint,3,opt,name=immature_reward,json=immatureReward,proto3" json:"immature_reward,omitempty"`
	// contains filtered or unexported fields
}

func (*BalanceResponse) Descriptor deprecated

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

Deprecated: Use BalanceResponse.ProtoReflect.Descriptor instead.

func (*BalanceResponse) GetImmatureReward

func (x *BalanceResponse) GetImmatureReward() int64

func (*BalanceResponse) GetSpendable

func (x *BalanceResponse) GetSpendable() int64

func (*BalanceResponse) GetTotal

func (x *BalanceResponse) GetTotal() int64

func (*BalanceResponse) ProtoMessage

func (*BalanceResponse) ProtoMessage()

func (*BalanceResponse) ProtoReflect

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

func (*BalanceResponse) Reset

func (x *BalanceResponse) Reset()

func (*BalanceResponse) String

func (x *BalanceResponse) String() string

type BlockDetails

type BlockDetails struct {
	Hash         []byte                `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Height       int32                 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	Timestamp    int64                 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Transactions []*TransactionDetails `protobuf:"bytes,4,rep,name=transactions,proto3" json:"transactions,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockDetails) Descriptor deprecated

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

Deprecated: Use BlockDetails.ProtoReflect.Descriptor instead.

func (*BlockDetails) GetHash

func (x *BlockDetails) GetHash() []byte

func (*BlockDetails) GetHeight

func (x *BlockDetails) GetHeight() int32

func (*BlockDetails) GetTimestamp

func (x *BlockDetails) GetTimestamp() int64

func (*BlockDetails) GetTransactions

func (x *BlockDetails) GetTransactions() []*TransactionDetails

func (*BlockDetails) ProtoMessage

func (*BlockDetails) ProtoMessage()

func (*BlockDetails) ProtoReflect

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

func (*BlockDetails) Reset

func (x *BlockDetails) Reset()

func (*BlockDetails) String

func (x *BlockDetails) String() string

type ChangePassphraseRequest

type ChangePassphraseRequest struct {
	Key           ChangePassphraseRequest_Key `protobuf:"varint,1,opt,name=key,proto3,enum=walletrpc.ChangePassphraseRequest_Key" json:"key,omitempty"`
	OldPassphrase []byte                      `protobuf:"bytes,2,opt,name=old_passphrase,json=oldPassphrase,proto3" json:"old_passphrase,omitempty"`
	NewPassphrase []byte                      `protobuf:"bytes,3,opt,name=new_passphrase,json=newPassphrase,proto3" json:"new_passphrase,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangePassphraseRequest) Descriptor deprecated

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

Deprecated: Use ChangePassphraseRequest.ProtoReflect.Descriptor instead.

func (*ChangePassphraseRequest) GetKey

func (*ChangePassphraseRequest) GetNewPassphrase

func (x *ChangePassphraseRequest) GetNewPassphrase() []byte

func (*ChangePassphraseRequest) GetOldPassphrase

func (x *ChangePassphraseRequest) GetOldPassphrase() []byte

func (*ChangePassphraseRequest) ProtoMessage

func (*ChangePassphraseRequest) ProtoMessage()

func (*ChangePassphraseRequest) ProtoReflect

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

func (*ChangePassphraseRequest) Reset

func (x *ChangePassphraseRequest) Reset()

func (*ChangePassphraseRequest) String

func (x *ChangePassphraseRequest) String() string

type ChangePassphraseRequest_Key

type ChangePassphraseRequest_Key int32
const (
	ChangePassphraseRequest_PRIVATE ChangePassphraseRequest_Key = 0
	ChangePassphraseRequest_PUBLIC  ChangePassphraseRequest_Key = 1
)

func (ChangePassphraseRequest_Key) Descriptor

func (ChangePassphraseRequest_Key) Enum

func (ChangePassphraseRequest_Key) EnumDescriptor deprecated

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

Deprecated: Use ChangePassphraseRequest_Key.Descriptor instead.

func (ChangePassphraseRequest_Key) Number

func (ChangePassphraseRequest_Key) String

func (ChangePassphraseRequest_Key) Type

type ChangePassphraseResponse

type ChangePassphraseResponse struct {
	// contains filtered or unexported fields
}

func (*ChangePassphraseResponse) Descriptor deprecated

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

Deprecated: Use ChangePassphraseResponse.ProtoReflect.Descriptor instead.

func (*ChangePassphraseResponse) ProtoMessage

func (*ChangePassphraseResponse) ProtoMessage()

func (*ChangePassphraseResponse) ProtoReflect

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

func (*ChangePassphraseResponse) Reset

func (x *ChangePassphraseResponse) Reset()

func (*ChangePassphraseResponse) String

func (x *ChangePassphraseResponse) String() string

type CloseWalletRequest

type CloseWalletRequest struct {
	// contains filtered or unexported fields
}

func (*CloseWalletRequest) Descriptor deprecated

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

Deprecated: Use CloseWalletRequest.ProtoReflect.Descriptor instead.

func (*CloseWalletRequest) ProtoMessage

func (*CloseWalletRequest) ProtoMessage()

func (*CloseWalletRequest) ProtoReflect

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

func (*CloseWalletRequest) Reset

func (x *CloseWalletRequest) Reset()

func (*CloseWalletRequest) String

func (x *CloseWalletRequest) String() string

type CloseWalletResponse

type CloseWalletResponse struct {
	// contains filtered or unexported fields
}

func (*CloseWalletResponse) Descriptor deprecated

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

Deprecated: Use CloseWalletResponse.ProtoReflect.Descriptor instead.

func (*CloseWalletResponse) ProtoMessage

func (*CloseWalletResponse) ProtoMessage()

func (*CloseWalletResponse) ProtoReflect

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

func (*CloseWalletResponse) Reset

func (x *CloseWalletResponse) Reset()

func (*CloseWalletResponse) String

func (x *CloseWalletResponse) String() string

type CreateWalletRequest

type CreateWalletRequest struct {
	PublicPassphrase  []byte `protobuf:"bytes,1,opt,name=public_passphrase,json=publicPassphrase,proto3" json:"public_passphrase,omitempty"`
	PrivatePassphrase []byte `protobuf:"bytes,2,opt,name=private_passphrase,json=privatePassphrase,proto3" json:"private_passphrase,omitempty"`
	Seed              []byte `protobuf:"bytes,3,opt,name=seed,proto3" json:"seed,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateWalletRequest) Descriptor deprecated

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

Deprecated: Use CreateWalletRequest.ProtoReflect.Descriptor instead.

func (*CreateWalletRequest) GetPrivatePassphrase

func (x *CreateWalletRequest) GetPrivatePassphrase() []byte

func (*CreateWalletRequest) GetPublicPassphrase

func (x *CreateWalletRequest) GetPublicPassphrase() []byte

func (*CreateWalletRequest) GetSeed

func (x *CreateWalletRequest) GetSeed() []byte

func (*CreateWalletRequest) ProtoMessage

func (*CreateWalletRequest) ProtoMessage()

func (*CreateWalletRequest) ProtoReflect

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

func (*CreateWalletRequest) Reset

func (x *CreateWalletRequest) Reset()

func (*CreateWalletRequest) String

func (x *CreateWalletRequest) String() string

type CreateWalletResponse

type CreateWalletResponse struct {
	// contains filtered or unexported fields
}

func (*CreateWalletResponse) Descriptor deprecated

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

Deprecated: Use CreateWalletResponse.ProtoReflect.Descriptor instead.

func (*CreateWalletResponse) ProtoMessage

func (*CreateWalletResponse) ProtoMessage()

func (*CreateWalletResponse) ProtoReflect

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

func (*CreateWalletResponse) Reset

func (x *CreateWalletResponse) Reset()

func (*CreateWalletResponse) String

func (x *CreateWalletResponse) String() string

type FundTransactionRequest

type FundTransactionRequest struct {
	ChainId                  uint32 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Account                  uint32 `protobuf:"varint,2,opt,name=account,proto3" json:"account,omitempty"`
	TargetAmount             int64  `protobuf:"varint,3,opt,name=target_amount,json=targetAmount,proto3" json:"target_amount,omitempty"`
	RequiredConfirmations    int32  `protobuf:"varint,4,opt,name=required_confirmations,json=requiredConfirmations,proto3" json:"required_confirmations,omitempty"`
	IncludeImmatureCoinbases bool   `` /* 136-byte string literal not displayed */
	IncludeChangeScript      bool   `protobuf:"varint,6,opt,name=include_change_script,json=includeChangeScript,proto3" json:"include_change_script,omitempty"`
	// contains filtered or unexported fields
}

func (*FundTransactionRequest) Descriptor deprecated

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

Deprecated: Use FundTransactionRequest.ProtoReflect.Descriptor instead.

func (*FundTransactionRequest) GetAccount

func (x *FundTransactionRequest) GetAccount() uint32

func (*FundTransactionRequest) GetChainId

func (x *FundTransactionRequest) GetChainId() uint32

func (*FundTransactionRequest) GetIncludeChangeScript

func (x *FundTransactionRequest) GetIncludeChangeScript() bool

func (*FundTransactionRequest) GetIncludeImmatureCoinbases

func (x *FundTransactionRequest) GetIncludeImmatureCoinbases() bool

func (*FundTransactionRequest) GetRequiredConfirmations

func (x *FundTransactionRequest) GetRequiredConfirmations() int32

func (*FundTransactionRequest) GetTargetAmount

func (x *FundTransactionRequest) GetTargetAmount() int64

func (*FundTransactionRequest) ProtoMessage

func (*FundTransactionRequest) ProtoMessage()

func (*FundTransactionRequest) ProtoReflect

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

func (*FundTransactionRequest) Reset

func (x *FundTransactionRequest) Reset()

func (*FundTransactionRequest) String

func (x *FundTransactionRequest) String() string

type FundTransactionResponse

type FundTransactionResponse struct {
	SelectedOutputs []*FundTransactionResponse_PreviousOutput `protobuf:"bytes,1,rep,name=selected_outputs,json=selectedOutputs,proto3" json:"selected_outputs,omitempty"`
	TotalAmount     int64                                     `protobuf:"varint,2,opt,name=total_amount,json=totalAmount,proto3" json:"total_amount,omitempty"`
	ChangePkScript  []byte                                    `protobuf:"bytes,3,opt,name=change_pk_script,json=changePkScript,proto3" json:"change_pk_script,omitempty"`
	// contains filtered or unexported fields
}

func (*FundTransactionResponse) Descriptor deprecated

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

Deprecated: Use FundTransactionResponse.ProtoReflect.Descriptor instead.

func (*FundTransactionResponse) GetChangePkScript

func (x *FundTransactionResponse) GetChangePkScript() []byte

func (*FundTransactionResponse) GetSelectedOutputs

func (*FundTransactionResponse) GetTotalAmount

func (x *FundTransactionResponse) GetTotalAmount() int64

func (*FundTransactionResponse) ProtoMessage

func (*FundTransactionResponse) ProtoMessage()

func (*FundTransactionResponse) ProtoReflect

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

func (*FundTransactionResponse) Reset

func (x *FundTransactionResponse) Reset()

func (*FundTransactionResponse) String

func (x *FundTransactionResponse) String() string

type FundTransactionResponse_PreviousOutput

type FundTransactionResponse_PreviousOutput struct {
	TransactionHash []byte `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"`
	OutputIndex     uint32 `protobuf:"varint,2,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"`
	Amount          int64  `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	PkScript        []byte `protobuf:"bytes,4,opt,name=pk_script,json=pkScript,proto3" json:"pk_script,omitempty"`
	ReceiveTime     int64  `protobuf:"varint,5,opt,name=receive_time,json=receiveTime,proto3" json:"receive_time,omitempty"`
	FromCoinbase    bool   `protobuf:"varint,6,opt,name=from_coinbase,json=fromCoinbase,proto3" json:"from_coinbase,omitempty"`
	// contains filtered or unexported fields
}

func (*FundTransactionResponse_PreviousOutput) Descriptor deprecated

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

Deprecated: Use FundTransactionResponse_PreviousOutput.ProtoReflect.Descriptor instead.

func (*FundTransactionResponse_PreviousOutput) GetAmount

func (*FundTransactionResponse_PreviousOutput) GetFromCoinbase

func (x *FundTransactionResponse_PreviousOutput) GetFromCoinbase() bool

func (*FundTransactionResponse_PreviousOutput) GetOutputIndex

func (x *FundTransactionResponse_PreviousOutput) GetOutputIndex() uint32

func (*FundTransactionResponse_PreviousOutput) GetPkScript

func (x *FundTransactionResponse_PreviousOutput) GetPkScript() []byte

func (*FundTransactionResponse_PreviousOutput) GetReceiveTime

func (x *FundTransactionResponse_PreviousOutput) GetReceiveTime() int64

func (*FundTransactionResponse_PreviousOutput) GetTransactionHash

func (x *FundTransactionResponse_PreviousOutput) GetTransactionHash() []byte

func (*FundTransactionResponse_PreviousOutput) ProtoMessage

func (*FundTransactionResponse_PreviousOutput) ProtoReflect

func (*FundTransactionResponse_PreviousOutput) Reset

func (*FundTransactionResponse_PreviousOutput) String

type GetTransactionsRequest

type GetTransactionsRequest struct {
	ChainId uint32 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// Optionally specify the starting block from which to begin including all transactions.
	// Either the starting block hash or height may be specified, but not both.
	// If a block height is specified and is negative, the absolute value becomes the number of
	// last blocks to include.  That is, given a current chain height of 1000 and a starting block
	// height of -3, transaction notifications will be created for blocks 998, 999, and 1000.
	// If both options are excluded, transaction results are created for transactions since the
	// genesis block.
	StartingBlockHash   []byte `protobuf:"bytes,2,opt,name=starting_block_hash,json=startingBlockHash,proto3" json:"starting_block_hash,omitempty"`
	StartingBlockHeight int32  `protobuf:"zigzag32,3,opt,name=starting_block_height,json=startingBlockHeight,proto3" json:"starting_block_height,omitempty"`
	// Optionally specify the last block that transaction results may appear in.
	// Either the ending block hash or height may be specified, but not both.
	// If both are excluded, transaction results are created for all transactions
	// through the best block, and include all unmined transactions.
	EndingBlockHash   []byte `protobuf:"bytes,4,opt,name=ending_block_hash,json=endingBlockHash,proto3" json:"ending_block_hash,omitempty"`
	EndingBlockHeight int32  `protobuf:"varint,5,opt,name=ending_block_height,json=endingBlockHeight,proto3" json:"ending_block_height,omitempty"`
	// Include at least this many of the newest transactions if they exist.
	// Cannot be used when the ending block hash is specified.
	//
	// TODO: remove until spec adds it back in some way.
	MinimumRecentTransactions int32 `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetTransactionsRequest) Descriptor deprecated

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

Deprecated: Use GetTransactionsRequest.ProtoReflect.Descriptor instead.

func (*GetTransactionsRequest) GetChainId

func (x *GetTransactionsRequest) GetChainId() uint32

func (*GetTransactionsRequest) GetEndingBlockHash

func (x *GetTransactionsRequest) GetEndingBlockHash() []byte

func (*GetTransactionsRequest) GetEndingBlockHeight

func (x *GetTransactionsRequest) GetEndingBlockHeight() int32

func (*GetTransactionsRequest) GetMinimumRecentTransactions

func (x *GetTransactionsRequest) GetMinimumRecentTransactions() int32

func (*GetTransactionsRequest) GetStartingBlockHash

func (x *GetTransactionsRequest) GetStartingBlockHash() []byte

func (*GetTransactionsRequest) GetStartingBlockHeight

func (x *GetTransactionsRequest) GetStartingBlockHeight() int32

func (*GetTransactionsRequest) ProtoMessage

func (*GetTransactionsRequest) ProtoMessage()

func (*GetTransactionsRequest) ProtoReflect

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

func (*GetTransactionsRequest) Reset

func (x *GetTransactionsRequest) Reset()

func (*GetTransactionsRequest) String

func (x *GetTransactionsRequest) String() string

type GetTransactionsResponse

type GetTransactionsResponse struct {
	MinedTransactions   []*BlockDetails       `protobuf:"bytes,1,rep,name=mined_transactions,json=minedTransactions,proto3" json:"mined_transactions,omitempty"`
	UnminedTransactions []*TransactionDetails `protobuf:"bytes,2,rep,name=unmined_transactions,json=unminedTransactions,proto3" json:"unmined_transactions,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTransactionsResponse) Descriptor deprecated

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

Deprecated: Use GetTransactionsResponse.ProtoReflect.Descriptor instead.

func (*GetTransactionsResponse) GetMinedTransactions

func (x *GetTransactionsResponse) GetMinedTransactions() []*BlockDetails

func (*GetTransactionsResponse) GetUnminedTransactions

func (x *GetTransactionsResponse) GetUnminedTransactions() []*TransactionDetails

func (*GetTransactionsResponse) ProtoMessage

func (*GetTransactionsResponse) ProtoMessage()

func (*GetTransactionsResponse) ProtoReflect

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

func (*GetTransactionsResponse) Reset

func (x *GetTransactionsResponse) Reset()

func (*GetTransactionsResponse) String

func (x *GetTransactionsResponse) String() string

type ImportPrivateKeyRequest

type ImportPrivateKeyRequest struct {
	Passphrase    []byte `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	Account       uint32 `protobuf:"varint,2,opt,name=account,proto3" json:"account,omitempty"`
	PrivateKeyWif string `protobuf:"bytes,3,opt,name=private_key_wif,json=privateKeyWif,proto3" json:"private_key_wif,omitempty"`
	Rescan        bool   `protobuf:"varint,4,opt,name=rescan,proto3" json:"rescan,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportPrivateKeyRequest) Descriptor deprecated

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

Deprecated: Use ImportPrivateKeyRequest.ProtoReflect.Descriptor instead.

func (*ImportPrivateKeyRequest) GetAccount

func (x *ImportPrivateKeyRequest) GetAccount() uint32

func (*ImportPrivateKeyRequest) GetPassphrase

func (x *ImportPrivateKeyRequest) GetPassphrase() []byte

func (*ImportPrivateKeyRequest) GetPrivateKeyWif

func (x *ImportPrivateKeyRequest) GetPrivateKeyWif() string

func (*ImportPrivateKeyRequest) GetRescan

func (x *ImportPrivateKeyRequest) GetRescan() bool

func (*ImportPrivateKeyRequest) ProtoMessage

func (*ImportPrivateKeyRequest) ProtoMessage()

func (*ImportPrivateKeyRequest) ProtoReflect

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

func (*ImportPrivateKeyRequest) Reset

func (x *ImportPrivateKeyRequest) Reset()

func (*ImportPrivateKeyRequest) String

func (x *ImportPrivateKeyRequest) String() string

type ImportPrivateKeyResponse

type ImportPrivateKeyResponse struct {
	// contains filtered or unexported fields
}

func (*ImportPrivateKeyResponse) Descriptor deprecated

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

Deprecated: Use ImportPrivateKeyResponse.ProtoReflect.Descriptor instead.

func (*ImportPrivateKeyResponse) ProtoMessage

func (*ImportPrivateKeyResponse) ProtoMessage()

func (*ImportPrivateKeyResponse) ProtoReflect

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

func (*ImportPrivateKeyResponse) Reset

func (x *ImportPrivateKeyResponse) Reset()

func (*ImportPrivateKeyResponse) String

func (x *ImportPrivateKeyResponse) String() string

type NetworkRequest

type NetworkRequest struct {
	// contains filtered or unexported fields
}

func (*NetworkRequest) Descriptor deprecated

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

Deprecated: Use NetworkRequest.ProtoReflect.Descriptor instead.

func (*NetworkRequest) ProtoMessage

func (*NetworkRequest) ProtoMessage()

func (*NetworkRequest) ProtoReflect

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

func (*NetworkRequest) Reset

func (x *NetworkRequest) Reset()

func (*NetworkRequest) String

func (x *NetworkRequest) String() string

type NetworkResponse

type NetworkResponse struct {
	ActiveNetwork uint32 `protobuf:"varint,1,opt,name=active_network,json=activeNetwork,proto3" json:"active_network,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkResponse) Descriptor deprecated

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

Deprecated: Use NetworkResponse.ProtoReflect.Descriptor instead.

func (*NetworkResponse) GetActiveNetwork

func (x *NetworkResponse) GetActiveNetwork() uint32

func (*NetworkResponse) ProtoMessage

func (*NetworkResponse) ProtoMessage()

func (*NetworkResponse) ProtoReflect

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

func (*NetworkResponse) Reset

func (x *NetworkResponse) Reset()

func (*NetworkResponse) String

func (x *NetworkResponse) String() string

type NextAccountRequest

type NextAccountRequest struct {
	Passphrase  []byte `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	AccountName string `protobuf:"bytes,2,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	// contains filtered or unexported fields
}

func (*NextAccountRequest) Descriptor deprecated

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

Deprecated: Use NextAccountRequest.ProtoReflect.Descriptor instead.

func (*NextAccountRequest) GetAccountName

func (x *NextAccountRequest) GetAccountName() string

func (*NextAccountRequest) GetPassphrase

func (x *NextAccountRequest) GetPassphrase() []byte

func (*NextAccountRequest) ProtoMessage

func (*NextAccountRequest) ProtoMessage()

func (*NextAccountRequest) ProtoReflect

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

func (*NextAccountRequest) Reset

func (x *NextAccountRequest) Reset()

func (*NextAccountRequest) String

func (x *NextAccountRequest) String() string

type NextAccountResponse

type NextAccountResponse struct {
	AccountNumber uint32 `protobuf:"varint,1,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"`
	// contains filtered or unexported fields
}

func (*NextAccountResponse) Descriptor deprecated

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

Deprecated: Use NextAccountResponse.ProtoReflect.Descriptor instead.

func (*NextAccountResponse) GetAccountNumber

func (x *NextAccountResponse) GetAccountNumber() uint32

func (*NextAccountResponse) ProtoMessage

func (*NextAccountResponse) ProtoMessage()

func (*NextAccountResponse) ProtoReflect

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

func (*NextAccountResponse) Reset

func (x *NextAccountResponse) Reset()

func (*NextAccountResponse) String

func (x *NextAccountResponse) String() string

type NextAddressRequest

type NextAddressRequest struct {
	Account uint32                  `protobuf:"varint,1,opt,name=account,proto3" json:"account,omitempty"`
	Kind    NextAddressRequest_Kind `protobuf:"varint,2,opt,name=kind,proto3,enum=walletrpc.NextAddressRequest_Kind" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*NextAddressRequest) Descriptor deprecated

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

Deprecated: Use NextAddressRequest.ProtoReflect.Descriptor instead.

func (*NextAddressRequest) GetAccount

func (x *NextAddressRequest) GetAccount() uint32

func (*NextAddressRequest) GetKind

func (*NextAddressRequest) ProtoMessage

func (*NextAddressRequest) ProtoMessage()

func (*NextAddressRequest) ProtoReflect

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

func (*NextAddressRequest) Reset

func (x *NextAddressRequest) Reset()

func (*NextAddressRequest) String

func (x *NextAddressRequest) String() string

type NextAddressRequest_Kind

type NextAddressRequest_Kind int32
const (
	NextAddressRequest_BIP0044_EXTERNAL NextAddressRequest_Kind = 0
	NextAddressRequest_BIP0044_INTERNAL NextAddressRequest_Kind = 1
)

func (NextAddressRequest_Kind) Descriptor

func (NextAddressRequest_Kind) Enum

func (NextAddressRequest_Kind) EnumDescriptor deprecated

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

Deprecated: Use NextAddressRequest_Kind.Descriptor instead.

func (NextAddressRequest_Kind) Number

func (NextAddressRequest_Kind) String

func (x NextAddressRequest_Kind) String() string

func (NextAddressRequest_Kind) Type

type NextAddressResponse

type NextAddressResponse struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*NextAddressResponse) Descriptor deprecated

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

Deprecated: Use NextAddressResponse.ProtoReflect.Descriptor instead.

func (*NextAddressResponse) GetAddress

func (x *NextAddressResponse) GetAddress() string

func (*NextAddressResponse) ProtoMessage

func (*NextAddressResponse) ProtoMessage()

func (*NextAddressResponse) ProtoReflect

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

func (*NextAddressResponse) Reset

func (x *NextAddressResponse) Reset()

func (*NextAddressResponse) String

func (x *NextAddressResponse) String() string

type OpenWalletRequest

type OpenWalletRequest struct {
	PublicPassphrase []byte `protobuf:"bytes,1,opt,name=public_passphrase,json=publicPassphrase,proto3" json:"public_passphrase,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenWalletRequest) Descriptor deprecated

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

Deprecated: Use OpenWalletRequest.ProtoReflect.Descriptor instead.

func (*OpenWalletRequest) GetPublicPassphrase

func (x *OpenWalletRequest) GetPublicPassphrase() []byte

func (*OpenWalletRequest) ProtoMessage

func (*OpenWalletRequest) ProtoMessage()

func (*OpenWalletRequest) ProtoReflect

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

func (*OpenWalletRequest) Reset

func (x *OpenWalletRequest) Reset()

func (*OpenWalletRequest) String

func (x *OpenWalletRequest) String() string

type OpenWalletResponse

type OpenWalletResponse struct {
	// contains filtered or unexported fields
}

func (*OpenWalletResponse) Descriptor deprecated

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

Deprecated: Use OpenWalletResponse.ProtoReflect.Descriptor instead.

func (*OpenWalletResponse) ProtoMessage

func (*OpenWalletResponse) ProtoMessage()

func (*OpenWalletResponse) ProtoReflect

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

func (*OpenWalletResponse) Reset

func (x *OpenWalletResponse) Reset()

func (*OpenWalletResponse) String

func (x *OpenWalletResponse) String() string

type PingRequest

type PingRequest struct {
	// contains filtered or unexported fields
}

func (*PingRequest) Descriptor deprecated

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

Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.

func (*PingRequest) ProtoMessage

func (*PingRequest) ProtoMessage()

func (*PingRequest) ProtoReflect

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

func (*PingRequest) Reset

func (x *PingRequest) Reset()

func (*PingRequest) String

func (x *PingRequest) String() string

type PingResponse

type PingResponse struct {
	// contains filtered or unexported fields
}

func (*PingResponse) Descriptor deprecated

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

Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.

func (*PingResponse) ProtoMessage

func (*PingResponse) ProtoMessage()

func (*PingResponse) ProtoReflect

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

func (*PingResponse) Reset

func (x *PingResponse) Reset()

func (*PingResponse) String

func (x *PingResponse) String() string

type PublishTransactionRequest

type PublishTransactionRequest struct {
	ChainId           uint32 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	SignedTransaction []byte `protobuf:"bytes,2,opt,name=signed_transaction,json=signedTransaction,proto3" json:"signed_transaction,omitempty"`
	// contains filtered or unexported fields
}

func (*PublishTransactionRequest) Descriptor deprecated

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

Deprecated: Use PublishTransactionRequest.ProtoReflect.Descriptor instead.

func (*PublishTransactionRequest) GetChainId

func (x *PublishTransactionRequest) GetChainId() uint32

func (*PublishTransactionRequest) GetSignedTransaction

func (x *PublishTransactionRequest) GetSignedTransaction() []byte

func (*PublishTransactionRequest) ProtoMessage

func (*PublishTransactionRequest) ProtoMessage()

func (*PublishTransactionRequest) ProtoReflect

func (*PublishTransactionRequest) Reset

func (x *PublishTransactionRequest) Reset()

func (*PublishTransactionRequest) String

func (x *PublishTransactionRequest) String() string

type PublishTransactionResponse

type PublishTransactionResponse struct {
	// contains filtered or unexported fields
}

func (*PublishTransactionResponse) Descriptor deprecated

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

Deprecated: Use PublishTransactionResponse.ProtoReflect.Descriptor instead.

func (*PublishTransactionResponse) ProtoMessage

func (*PublishTransactionResponse) ProtoMessage()

func (*PublishTransactionResponse) ProtoReflect

func (*PublishTransactionResponse) Reset

func (x *PublishTransactionResponse) Reset()

func (*PublishTransactionResponse) String

func (x *PublishTransactionResponse) String() string

type RenameAccountRequest

type RenameAccountRequest struct {
	AccountNumber uint32 `protobuf:"varint,1,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"`
	NewName       string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
	// contains filtered or unexported fields
}

func (*RenameAccountRequest) Descriptor deprecated

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

Deprecated: Use RenameAccountRequest.ProtoReflect.Descriptor instead.

func (*RenameAccountRequest) GetAccountNumber

func (x *RenameAccountRequest) GetAccountNumber() uint32

func (*RenameAccountRequest) GetNewName

func (x *RenameAccountRequest) GetNewName() string

func (*RenameAccountRequest) ProtoMessage

func (*RenameAccountRequest) ProtoMessage()

func (*RenameAccountRequest) ProtoReflect

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

func (*RenameAccountRequest) Reset

func (x *RenameAccountRequest) Reset()

func (*RenameAccountRequest) String

func (x *RenameAccountRequest) String() string

type RenameAccountResponse

type RenameAccountResponse struct {
	// contains filtered or unexported fields
}

func (*RenameAccountResponse) Descriptor deprecated

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

Deprecated: Use RenameAccountResponse.ProtoReflect.Descriptor instead.

func (*RenameAccountResponse) ProtoMessage

func (*RenameAccountResponse) ProtoMessage()

func (*RenameAccountResponse) ProtoReflect

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

func (*RenameAccountResponse) Reset

func (x *RenameAccountResponse) Reset()

func (*RenameAccountResponse) String

func (x *RenameAccountResponse) String() string

type SignTransactionRequest

type SignTransactionRequest struct {
	ChainId               uint32 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Passphrase            []byte `protobuf:"bytes,2,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	SerializedTransaction []byte `protobuf:"bytes,3,opt,name=serialized_transaction,json=serializedTransaction,proto3" json:"serialized_transaction,omitempty"`
	// If no indexes are specified, signatures scripts will be added for
	// every input. If any input indexes are specified, only those inputs
	// will be signed.  Rather than returning an incompletely signed
	// transaction if any of the inputs to be signed can not be, the RPC
	// immediately errors.
	InputIndexes []uint32 `protobuf:"varint,4,rep,packed,name=input_indexes,json=inputIndexes,proto3" json:"input_indexes,omitempty"`
	// contains filtered or unexported fields
}

func (*SignTransactionRequest) Descriptor deprecated

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

Deprecated: Use SignTransactionRequest.ProtoReflect.Descriptor instead.

func (*SignTransactionRequest) GetChainId

func (x *SignTransactionRequest) GetChainId() uint32

func (*SignTransactionRequest) GetInputIndexes

func (x *SignTransactionRequest) GetInputIndexes() []uint32

func (*SignTransactionRequest) GetPassphrase

func (x *SignTransactionRequest) GetPassphrase() []byte

func (*SignTransactionRequest) GetSerializedTransaction

func (x *SignTransactionRequest) GetSerializedTransaction() []byte

func (*SignTransactionRequest) ProtoMessage

func (*SignTransactionRequest) ProtoMessage()

func (*SignTransactionRequest) ProtoReflect

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

func (*SignTransactionRequest) Reset

func (x *SignTransactionRequest) Reset()

func (*SignTransactionRequest) String

func (x *SignTransactionRequest) String() string

type SignTransactionResponse

type SignTransactionResponse struct {
	Transaction          []byte   `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	UnsignedInputIndexes []uint32 `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SignTransactionResponse) Descriptor deprecated

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

Deprecated: Use SignTransactionResponse.ProtoReflect.Descriptor instead.

func (*SignTransactionResponse) GetTransaction

func (x *SignTransactionResponse) GetTransaction() []byte

func (*SignTransactionResponse) GetUnsignedInputIndexes

func (x *SignTransactionResponse) GetUnsignedInputIndexes() []uint32

func (*SignTransactionResponse) ProtoMessage

func (*SignTransactionResponse) ProtoMessage()

func (*SignTransactionResponse) ProtoReflect

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

func (*SignTransactionResponse) Reset

func (x *SignTransactionResponse) Reset()

func (*SignTransactionResponse) String

func (x *SignTransactionResponse) String() string

type SpentnessNotificationsRequest

type SpentnessNotificationsRequest struct {
	ChainId         uint32 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Account         uint32 `protobuf:"varint,2,opt,name=account,proto3" json:"account,omitempty"`
	NoNotifyUnspent bool   `protobuf:"varint,3,opt,name=no_notify_unspent,json=noNotifyUnspent,proto3" json:"no_notify_unspent,omitempty"`
	NoNotifySpent   bool   `protobuf:"varint,4,opt,name=no_notify_spent,json=noNotifySpent,proto3" json:"no_notify_spent,omitempty"`
	// contains filtered or unexported fields
}

func (*SpentnessNotificationsRequest) Descriptor deprecated

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

Deprecated: Use SpentnessNotificationsRequest.ProtoReflect.Descriptor instead.

func (*SpentnessNotificationsRequest) GetAccount

func (x *SpentnessNotificationsRequest) GetAccount() uint32

func (*SpentnessNotificationsRequest) GetChainId

func (x *SpentnessNotificationsRequest) GetChainId() uint32

func (*SpentnessNotificationsRequest) GetNoNotifySpent

func (x *SpentnessNotificationsRequest) GetNoNotifySpent() bool

func (*SpentnessNotificationsRequest) GetNoNotifyUnspent

func (x *SpentnessNotificationsRequest) GetNoNotifyUnspent() bool

func (*SpentnessNotificationsRequest) ProtoMessage

func (*SpentnessNotificationsRequest) ProtoMessage()

func (*SpentnessNotificationsRequest) ProtoReflect

func (*SpentnessNotificationsRequest) Reset

func (x *SpentnessNotificationsRequest) Reset()

func (*SpentnessNotificationsRequest) String

type SpentnessNotificationsResponse

type SpentnessNotificationsResponse struct {
	TransactionHash []byte                                  `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"`
	OutputIndex     uint32                                  `protobuf:"varint,2,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"`
	Spender         *SpentnessNotificationsResponse_Spender `protobuf:"bytes,3,opt,name=spender,proto3" json:"spender,omitempty"`
	// contains filtered or unexported fields
}

func (*SpentnessNotificationsResponse) Descriptor deprecated

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

Deprecated: Use SpentnessNotificationsResponse.ProtoReflect.Descriptor instead.

func (*SpentnessNotificationsResponse) GetOutputIndex

func (x *SpentnessNotificationsResponse) GetOutputIndex() uint32

func (*SpentnessNotificationsResponse) GetSpender

func (*SpentnessNotificationsResponse) GetTransactionHash

func (x *SpentnessNotificationsResponse) GetTransactionHash() []byte

func (*SpentnessNotificationsResponse) ProtoMessage

func (*SpentnessNotificationsResponse) ProtoMessage()

func (*SpentnessNotificationsResponse) ProtoReflect

func (*SpentnessNotificationsResponse) Reset

func (x *SpentnessNotificationsResponse) Reset()

func (*SpentnessNotificationsResponse) String

type SpentnessNotificationsResponse_Spender

type SpentnessNotificationsResponse_Spender struct {
	TransactionHash []byte `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"`
	InputIndex      uint32 `protobuf:"varint,2,opt,name=input_index,json=inputIndex,proto3" json:"input_index,omitempty"`
	// contains filtered or unexported fields
}

func (*SpentnessNotificationsResponse_Spender) Descriptor deprecated

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

Deprecated: Use SpentnessNotificationsResponse_Spender.ProtoReflect.Descriptor instead.

func (*SpentnessNotificationsResponse_Spender) GetInputIndex

func (*SpentnessNotificationsResponse_Spender) GetTransactionHash

func (x *SpentnessNotificationsResponse_Spender) GetTransactionHash() []byte

func (*SpentnessNotificationsResponse_Spender) ProtoMessage

func (*SpentnessNotificationsResponse_Spender) ProtoReflect

func (*SpentnessNotificationsResponse_Spender) Reset

func (*SpentnessNotificationsResponse_Spender) String

type StartConsensusRpcRequest

type StartConsensusRpcRequest struct {
	NetworkAddress string `protobuf:"bytes,1,opt,name=network_address,json=networkAddress,proto3" json:"network_address,omitempty"`
	Username       string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	Password       []byte `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	Certificate    []byte `protobuf:"bytes,4,opt,name=certificate,proto3" json:"certificate,omitempty"`
	// contains filtered or unexported fields
}

func (*StartConsensusRpcRequest) Descriptor deprecated

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

Deprecated: Use StartConsensusRpcRequest.ProtoReflect.Descriptor instead.

func (*StartConsensusRpcRequest) GetCertificate

func (x *StartConsensusRpcRequest) GetCertificate() []byte

func (*StartConsensusRpcRequest) GetNetworkAddress

func (x *StartConsensusRpcRequest) GetNetworkAddress() string

func (*StartConsensusRpcRequest) GetPassword

func (x *StartConsensusRpcRequest) GetPassword() []byte

func (*StartConsensusRpcRequest) GetUsername

func (x *StartConsensusRpcRequest) GetUsername() string

func (*StartConsensusRpcRequest) ProtoMessage

func (*StartConsensusRpcRequest) ProtoMessage()

func (*StartConsensusRpcRequest) ProtoReflect

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

func (*StartConsensusRpcRequest) Reset

func (x *StartConsensusRpcRequest) Reset()

func (*StartConsensusRpcRequest) String

func (x *StartConsensusRpcRequest) String() string

type StartConsensusRpcResponse

type StartConsensusRpcResponse struct {
	// contains filtered or unexported fields
}

func (*StartConsensusRpcResponse) Descriptor deprecated

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

Deprecated: Use StartConsensusRpcResponse.ProtoReflect.Descriptor instead.

func (*StartConsensusRpcResponse) ProtoMessage

func (*StartConsensusRpcResponse) ProtoMessage()

func (*StartConsensusRpcResponse) ProtoReflect

func (*StartConsensusRpcResponse) Reset

func (x *StartConsensusRpcResponse) Reset()

func (*StartConsensusRpcResponse) String

func (x *StartConsensusRpcResponse) String() string

type TransactionDetails

type TransactionDetails struct {
	Hash        []byte                       `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Transaction []byte                       `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"`
	Debits      []*TransactionDetails_Input  `protobuf:"bytes,3,rep,name=debits,proto3" json:"debits,omitempty"`
	Credits     []*TransactionDetails_Output `protobuf:"bytes,4,rep,name=credits,proto3" json:"credits,omitempty"`
	Fee         int64                        `protobuf:"varint,5,opt,name=fee,proto3" json:"fee,omitempty"`
	Timestamp   int64                        `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // May be earlier than a block timestamp, but never later.
	// contains filtered or unexported fields
}

func (*TransactionDetails) Descriptor deprecated

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

Deprecated: Use TransactionDetails.ProtoReflect.Descriptor instead.

func (*TransactionDetails) GetCredits

func (x *TransactionDetails) GetCredits() []*TransactionDetails_Output

func (*TransactionDetails) GetDebits

func (x *TransactionDetails) GetDebits() []*TransactionDetails_Input

func (*TransactionDetails) GetFee

func (x *TransactionDetails) GetFee() int64

func (*TransactionDetails) GetHash

func (x *TransactionDetails) GetHash() []byte

func (*TransactionDetails) GetTimestamp

func (x *TransactionDetails) GetTimestamp() int64

func (*TransactionDetails) GetTransaction

func (x *TransactionDetails) GetTransaction() []byte

func (*TransactionDetails) ProtoMessage

func (*TransactionDetails) ProtoMessage()

func (*TransactionDetails) ProtoReflect

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

func (*TransactionDetails) Reset

func (x *TransactionDetails) Reset()

func (*TransactionDetails) String

func (x *TransactionDetails) String() string

type TransactionDetails_Input

type TransactionDetails_Input struct {
	Index           uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	PreviousAccount uint32 `protobuf:"varint,2,opt,name=previous_account,json=previousAccount,proto3" json:"previous_account,omitempty"`
	PreviousAmount  int64  `protobuf:"varint,3,opt,name=previous_amount,json=previousAmount,proto3" json:"previous_amount,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionDetails_Input) Descriptor deprecated

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

Deprecated: Use TransactionDetails_Input.ProtoReflect.Descriptor instead.

func (*TransactionDetails_Input) GetIndex

func (x *TransactionDetails_Input) GetIndex() uint32

func (*TransactionDetails_Input) GetPreviousAccount

func (x *TransactionDetails_Input) GetPreviousAccount() uint32

func (*TransactionDetails_Input) GetPreviousAmount

func (x *TransactionDetails_Input) GetPreviousAmount() int64

func (*TransactionDetails_Input) ProtoMessage

func (*TransactionDetails_Input) ProtoMessage()

func (*TransactionDetails_Input) ProtoReflect

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

func (*TransactionDetails_Input) Reset

func (x *TransactionDetails_Input) Reset()

func (*TransactionDetails_Input) String

func (x *TransactionDetails_Input) String() string

type TransactionDetails_Output

type TransactionDetails_Output struct {
	Index    uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Account  uint32 `protobuf:"varint,2,opt,name=account,proto3" json:"account,omitempty"`
	Internal bool   `protobuf:"varint,3,opt,name=internal,proto3" json:"internal,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionDetails_Output) Descriptor deprecated

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

Deprecated: Use TransactionDetails_Output.ProtoReflect.Descriptor instead.

func (*TransactionDetails_Output) GetAccount

func (x *TransactionDetails_Output) GetAccount() uint32

func (*TransactionDetails_Output) GetIndex

func (x *TransactionDetails_Output) GetIndex() uint32

func (*TransactionDetails_Output) GetInternal

func (x *TransactionDetails_Output) GetInternal() bool

func (*TransactionDetails_Output) ProtoMessage

func (*TransactionDetails_Output) ProtoMessage()

func (*TransactionDetails_Output) ProtoReflect

func (*TransactionDetails_Output) Reset

func (x *TransactionDetails_Output) Reset()

func (*TransactionDetails_Output) String

func (x *TransactionDetails_Output) String() string

type TransactionNotificationsRequest

type TransactionNotificationsRequest struct {
	// contains filtered or unexported fields
}

func (*TransactionNotificationsRequest) Descriptor deprecated

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

Deprecated: Use TransactionNotificationsRequest.ProtoReflect.Descriptor instead.

func (*TransactionNotificationsRequest) ProtoMessage

func (*TransactionNotificationsRequest) ProtoMessage()

func (*TransactionNotificationsRequest) ProtoReflect

func (*TransactionNotificationsRequest) Reset

func (*TransactionNotificationsRequest) String

type TransactionNotificationsResponse

type TransactionNotificationsResponse struct {
	ChainId uint32 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// Sorted by increasing height.  This is a repeated field so many new blocks
	// in a new best chain can be notified at once during a reorganize.
	AttachedBlocks []*BlockDetails `protobuf:"bytes,2,rep,name=attached_blocks,json=attachedBlocks,proto3" json:"attached_blocks,omitempty"`
	// If there was a chain reorganize, there may have been blocks with wallet
	// transactions that are no longer in the best chain.  These are those
	// block's hashes.
	DetachedBlocks [][]byte `protobuf:"bytes,3,rep,name=detached_blocks,json=detachedBlocks,proto3" json:"detached_blocks,omitempty"`
	// Any new unmined transactions are included here.  These unmined transactions
	// refer to the current best chain, so transactions from detached blocks may
	// be moved to mempool and included here if they are not mined or double spent
	// in the new chain.  Additonally, if no new blocks were attached but a relevant
	// unmined transaction is seen by the wallet, it will be reported here.
	UnminedTransactions []*TransactionDetails `protobuf:"bytes,4,rep,name=unmined_transactions,json=unminedTransactions,proto3" json:"unmined_transactions,omitempty"`
	// Instead of notifying all of the removed unmined transactions,
	// just send all of the current hashes.
	UnminedTransactionHashes [][]byte `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TransactionNotificationsResponse) Descriptor deprecated

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

Deprecated: Use TransactionNotificationsResponse.ProtoReflect.Descriptor instead.

func (*TransactionNotificationsResponse) GetAttachedBlocks

func (x *TransactionNotificationsResponse) GetAttachedBlocks() []*BlockDetails

func (*TransactionNotificationsResponse) GetChainId

func (x *TransactionNotificationsResponse) GetChainId() uint32

func (*TransactionNotificationsResponse) GetDetachedBlocks

func (x *TransactionNotificationsResponse) GetDetachedBlocks() [][]byte

func (*TransactionNotificationsResponse) GetUnminedTransactionHashes

func (x *TransactionNotificationsResponse) GetUnminedTransactionHashes() [][]byte

func (*TransactionNotificationsResponse) GetUnminedTransactions

func (x *TransactionNotificationsResponse) GetUnminedTransactions() []*TransactionDetails

func (*TransactionNotificationsResponse) ProtoMessage

func (*TransactionNotificationsResponse) ProtoMessage()

func (*TransactionNotificationsResponse) ProtoReflect

func (*TransactionNotificationsResponse) Reset

func (*TransactionNotificationsResponse) String

type UnimplementedVersionServiceServer

type UnimplementedVersionServiceServer struct {
}

UnimplementedVersionServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedVersionServiceServer) Version

type UnimplementedWalletLoaderServiceServer

type UnimplementedWalletLoaderServiceServer struct {
}

UnimplementedWalletLoaderServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedWalletLoaderServiceServer) CloseWallet

func (UnimplementedWalletLoaderServiceServer) CreateWallet

func (UnimplementedWalletLoaderServiceServer) OpenWallet

func (UnimplementedWalletLoaderServiceServer) StartConsensusRpc

func (UnimplementedWalletLoaderServiceServer) WalletExists

type UnimplementedWalletServiceServer

type UnimplementedWalletServiceServer struct {
}

UnimplementedWalletServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedWalletServiceServer) AccountNumber

func (UnimplementedWalletServiceServer) Accounts

func (UnimplementedWalletServiceServer) Balance

func (UnimplementedWalletServiceServer) ChangePassphrase

func (UnimplementedWalletServiceServer) FundTransaction

func (UnimplementedWalletServiceServer) GetTransactions

func (UnimplementedWalletServiceServer) ImportPrivateKey

func (UnimplementedWalletServiceServer) Network

func (UnimplementedWalletServiceServer) NextAccount

func (UnimplementedWalletServiceServer) NextAddress

func (UnimplementedWalletServiceServer) Ping

func (UnimplementedWalletServiceServer) PublishTransaction

func (UnimplementedWalletServiceServer) RenameAccount

func (UnimplementedWalletServiceServer) SignTransaction

type UnsafeVersionServiceServer

type UnsafeVersionServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeVersionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VersionServiceServer will result in compilation errors.

type UnsafeWalletLoaderServiceServer

type UnsafeWalletLoaderServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeWalletLoaderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WalletLoaderServiceServer will result in compilation errors.

type UnsafeWalletServiceServer

type UnsafeWalletServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeWalletServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WalletServiceServer will result in compilation errors.

type VersionRequest

type VersionRequest struct {
	// contains filtered or unexported fields
}

func (*VersionRequest) Descriptor deprecated

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

Deprecated: Use VersionRequest.ProtoReflect.Descriptor instead.

func (*VersionRequest) ProtoMessage

func (*VersionRequest) ProtoMessage()

func (*VersionRequest) ProtoReflect

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

func (*VersionRequest) Reset

func (x *VersionRequest) Reset()

func (*VersionRequest) String

func (x *VersionRequest) String() string

type VersionResponse

type VersionResponse struct {
	VersionString string `protobuf:"bytes,1,opt,name=version_string,json=versionString,proto3" json:"version_string,omitempty"`
	Major         uint32 `protobuf:"varint,2,opt,name=major,proto3" json:"major,omitempty"`
	Minor         uint32 `protobuf:"varint,3,opt,name=minor,proto3" json:"minor,omitempty"`
	Patch         uint32 `protobuf:"varint,4,opt,name=patch,proto3" json:"patch,omitempty"`
	Prerelease    string `protobuf:"bytes,5,opt,name=prerelease,proto3" json:"prerelease,omitempty"`
	BuildMetadata string `protobuf:"bytes,6,opt,name=build_metadata,json=buildMetadata,proto3" json:"build_metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionResponse) Descriptor deprecated

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

Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.

func (*VersionResponse) GetBuildMetadata

func (x *VersionResponse) GetBuildMetadata() string

func (*VersionResponse) GetMajor

func (x *VersionResponse) GetMajor() uint32

func (*VersionResponse) GetMinor

func (x *VersionResponse) GetMinor() uint32

func (*VersionResponse) GetPatch

func (x *VersionResponse) GetPatch() uint32

func (*VersionResponse) GetPrerelease

func (x *VersionResponse) GetPrerelease() string

func (*VersionResponse) GetVersionString

func (x *VersionResponse) GetVersionString() string

func (*VersionResponse) ProtoMessage

func (*VersionResponse) ProtoMessage()

func (*VersionResponse) ProtoReflect

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

func (*VersionResponse) Reset

func (x *VersionResponse) Reset()

func (*VersionResponse) String

func (x *VersionResponse) String() string

type VersionServiceClient

type VersionServiceClient interface {
	Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error)
}

VersionServiceClient is the client API for VersionService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type VersionServiceServer

type VersionServiceServer interface {
	Version(context.Context, *VersionRequest) (*VersionResponse, error)
	// contains filtered or unexported methods
}

VersionServiceServer is the server API for VersionService service. All implementations must embed UnimplementedVersionServiceServer for forward compatibility

type WalletExistsRequest

type WalletExistsRequest struct {
	// contains filtered or unexported fields
}

func (*WalletExistsRequest) Descriptor deprecated

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

Deprecated: Use WalletExistsRequest.ProtoReflect.Descriptor instead.

func (*WalletExistsRequest) ProtoMessage

func (*WalletExistsRequest) ProtoMessage()

func (*WalletExistsRequest) ProtoReflect

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

func (*WalletExistsRequest) Reset

func (x *WalletExistsRequest) Reset()

func (*WalletExistsRequest) String

func (x *WalletExistsRequest) String() string

type WalletExistsResponse

type WalletExistsResponse struct {
	Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
	// contains filtered or unexported fields
}

func (*WalletExistsResponse) Descriptor deprecated

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

Deprecated: Use WalletExistsResponse.ProtoReflect.Descriptor instead.

func (*WalletExistsResponse) GetExists

func (x *WalletExistsResponse) GetExists() bool

func (*WalletExistsResponse) ProtoMessage

func (*WalletExistsResponse) ProtoMessage()

func (*WalletExistsResponse) ProtoReflect

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

func (*WalletExistsResponse) Reset

func (x *WalletExistsResponse) Reset()

func (*WalletExistsResponse) String

func (x *WalletExistsResponse) String() string

type WalletLoaderServiceClient

type WalletLoaderServiceClient interface {
	WalletExists(ctx context.Context, in *WalletExistsRequest, opts ...grpc.CallOption) (*WalletExistsResponse, error)
	CreateWallet(ctx context.Context, in *CreateWalletRequest, opts ...grpc.CallOption) (*CreateWalletResponse, error)
	OpenWallet(ctx context.Context, in *OpenWalletRequest, opts ...grpc.CallOption) (*OpenWalletResponse, error)
	CloseWallet(ctx context.Context, in *CloseWalletRequest, opts ...grpc.CallOption) (*CloseWalletResponse, error)
	StartConsensusRpc(ctx context.Context, in *StartConsensusRpcRequest, opts ...grpc.CallOption) (*StartConsensusRpcResponse, error)
}

WalletLoaderServiceClient is the client API for WalletLoaderService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type WalletLoaderServiceServer

type WalletLoaderServiceServer interface {
	WalletExists(context.Context, *WalletExistsRequest) (*WalletExistsResponse, error)
	CreateWallet(context.Context, *CreateWalletRequest) (*CreateWalletResponse, error)
	OpenWallet(context.Context, *OpenWalletRequest) (*OpenWalletResponse, error)
	CloseWallet(context.Context, *CloseWalletRequest) (*CloseWalletResponse, error)
	StartConsensusRpc(context.Context, *StartConsensusRpcRequest) (*StartConsensusRpcResponse, error)
	// contains filtered or unexported methods
}

WalletLoaderServiceServer is the server API for WalletLoaderService service. All implementations must embed UnimplementedWalletLoaderServiceServer for forward compatibility

type WalletServiceClient

type WalletServiceClient interface {
	// Queries
	Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error)
	Network(ctx context.Context, in *NetworkRequest, opts ...grpc.CallOption) (*NetworkResponse, error)
	AccountNumber(ctx context.Context, in *AccountNumberRequest, opts ...grpc.CallOption) (*AccountNumberResponse, error)
	Accounts(ctx context.Context, in *AccountsRequest, opts ...grpc.CallOption) (*AccountsResponse, error)
	Balance(ctx context.Context, in *BalanceRequest, opts ...grpc.CallOption) (*BalanceResponse, error)
	GetTransactions(ctx context.Context, in *GetTransactionsRequest, opts ...grpc.CallOption) (*GetTransactionsResponse, error)
	// Notifications
	TransactionNotifications(ctx context.Context, in *TransactionNotificationsRequest, opts ...grpc.CallOption) (WalletService_TransactionNotificationsClient, error)
	SpentnessNotifications(ctx context.Context, in *SpentnessNotificationsRequest, opts ...grpc.CallOption) (WalletService_SpentnessNotificationsClient, error)
	AccountNotifications(ctx context.Context, in *AccountNotificationsRequest, opts ...grpc.CallOption) (WalletService_AccountNotificationsClient, error)
	// Control
	ChangePassphrase(ctx context.Context, in *ChangePassphraseRequest, opts ...grpc.CallOption) (*ChangePassphraseResponse, error)
	RenameAccount(ctx context.Context, in *RenameAccountRequest, opts ...grpc.CallOption) (*RenameAccountResponse, error)
	NextAccount(ctx context.Context, in *NextAccountRequest, opts ...grpc.CallOption) (*NextAccountResponse, error)
	NextAddress(ctx context.Context, in *NextAddressRequest, opts ...grpc.CallOption) (*NextAddressResponse, error)
	ImportPrivateKey(ctx context.Context, in *ImportPrivateKeyRequest, opts ...grpc.CallOption) (*ImportPrivateKeyResponse, error)
	FundTransaction(ctx context.Context, in *FundTransactionRequest, opts ...grpc.CallOption) (*FundTransactionResponse, error)
	SignTransaction(ctx context.Context, in *SignTransactionRequest, opts ...grpc.CallOption) (*SignTransactionResponse, error)
	PublishTransaction(ctx context.Context, in *PublishTransactionRequest, opts ...grpc.CallOption) (*PublishTransactionResponse, error)
}

WalletServiceClient is the client API for WalletService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type WalletServiceServer

type WalletServiceServer interface {
	// Queries
	Ping(context.Context, *PingRequest) (*PingResponse, error)
	Network(context.Context, *NetworkRequest) (*NetworkResponse, error)
	AccountNumber(context.Context, *AccountNumberRequest) (*AccountNumberResponse, error)
	Accounts(context.Context, *AccountsRequest) (*AccountsResponse, error)
	Balance(context.Context, *BalanceRequest) (*BalanceResponse, error)
	GetTransactions(context.Context, *GetTransactionsRequest) (*GetTransactionsResponse, error)
	// Notifications
	TransactionNotifications(*TransactionNotificationsRequest, WalletService_TransactionNotificationsServer) error
	SpentnessNotifications(*SpentnessNotificationsRequest, WalletService_SpentnessNotificationsServer) error
	AccountNotifications(*AccountNotificationsRequest, WalletService_AccountNotificationsServer) error
	// Control
	ChangePassphrase(context.Context, *ChangePassphraseRequest) (*ChangePassphraseResponse, error)
	RenameAccount(context.Context, *RenameAccountRequest) (*RenameAccountResponse, error)
	NextAccount(context.Context, *NextAccountRequest) (*NextAccountResponse, error)
	NextAddress(context.Context, *NextAddressRequest) (*NextAddressResponse, error)
	ImportPrivateKey(context.Context, *ImportPrivateKeyRequest) (*ImportPrivateKeyResponse, error)
	FundTransaction(context.Context, *FundTransactionRequest) (*FundTransactionResponse, error)
	SignTransaction(context.Context, *SignTransactionRequest) (*SignTransactionResponse, error)
	PublishTransaction(context.Context, *PublishTransactionRequest) (*PublishTransactionResponse, error)
	// contains filtered or unexported methods
}

WalletServiceServer is the server API for WalletService service. All implementations must embed UnimplementedWalletServiceServer for forward compatibility

type WalletService_AccountNotificationsClient

type WalletService_AccountNotificationsClient interface {
	Recv() (*AccountNotificationsResponse, error)
	grpc.ClientStream
}

type WalletService_AccountNotificationsServer

type WalletService_AccountNotificationsServer interface {
	Send(*AccountNotificationsResponse) error
	grpc.ServerStream
}

type WalletService_SpentnessNotificationsClient

type WalletService_SpentnessNotificationsClient interface {
	Recv() (*SpentnessNotificationsResponse, error)
	grpc.ClientStream
}

type WalletService_SpentnessNotificationsServer

type WalletService_SpentnessNotificationsServer interface {
	Send(*SpentnessNotificationsResponse) error
	grpc.ServerStream
}

type WalletService_TransactionNotificationsClient

type WalletService_TransactionNotificationsClient interface {
	Recv() (*TransactionNotificationsResponse, error)
	grpc.ClientStream
}

type WalletService_TransactionNotificationsServer

type WalletService_TransactionNotificationsServer interface {
	Send(*TransactionNotificationsResponse) error
	grpc.ServerStream
}

Jump to

Keyboard shortcuts

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