Documentation ¶
Overview ¶
Package walletrpc is a generated protocol buffer package.
It is generated from these files:
api.proto
It has these top-level messages:
VersionRequest VersionResponse TransactionDetails BlockDetails AccountBalance PingRequest PingResponse NetworkRequest NetworkResponse AccountNumberRequest AccountNumberResponse AccountsRequest AccountsResponse RenameAccountRequest RenameAccountResponse NextAccountRequest NextAccountResponse NextAddressRequest NextAddressResponse ImportPrivateKeyRequest ImportPrivateKeyResponse BalanceRequest BalanceResponse GetTransactionsRequest GetTransactionsResponse ChangePassphraseRequest ChangePassphraseResponse FundTransactionRequest FundTransactionResponse SignTransactionRequest SignTransactionResponse PublishTransactionRequest PublishTransactionResponse TransactionNotificationsRequest TransactionNotificationsResponse SpentnessNotificationsRequest SpentnessNotificationsResponse AccountNotificationsRequest AccountNotificationsResponse CreateWalletRequest CreateWalletResponse OpenWalletRequest OpenWalletResponse CloseWalletRequest CloseWalletResponse WalletExistsRequest WalletExistsResponse StartConsensusRPCRequest StartConsensusRPCResponse
Index ¶
- Variables
- func RegisterVersionServiceServer(s *grpc.Server, srv VersionServiceServer)
- func RegisterWalletLoaderServiceServer(s *grpc.Server, srv WalletLoaderServiceServer)
- func RegisterWalletServiceServer(s *grpc.Server, srv WalletServiceServer)
- type AccountBalance
- type AccountNotificationsRequest
- type AccountNotificationsResponse
- func (*AccountNotificationsResponse) Descriptor() ([]byte, []int)
- func (m *AccountNotificationsResponse) GetAccountName() string
- func (m *AccountNotificationsResponse) GetAccountNumber() uint32
- func (m *AccountNotificationsResponse) GetExternalKeyCount() uint32
- func (m *AccountNotificationsResponse) GetImportedKeyCount() uint32
- func (m *AccountNotificationsResponse) GetInternalKeyCount() uint32
- func (*AccountNotificationsResponse) ProtoMessage()
- func (m *AccountNotificationsResponse) Reset()
- func (m *AccountNotificationsResponse) String() string
- type AccountNumberRequest
- type AccountNumberResponse
- type AccountsRequest
- type AccountsResponse
- func (*AccountsResponse) Descriptor() ([]byte, []int)
- func (m *AccountsResponse) GetAccounts() []*AccountsResponse_Account
- func (m *AccountsResponse) GetCurrentBlockHash() []byte
- func (m *AccountsResponse) GetCurrentBlockHeight() int32
- func (*AccountsResponse) ProtoMessage()
- func (m *AccountsResponse) Reset()
- func (m *AccountsResponse) String() string
- type AccountsResponse_Account
- func (*AccountsResponse_Account) Descriptor() ([]byte, []int)
- func (m *AccountsResponse_Account) GetAccountName() string
- func (m *AccountsResponse_Account) GetAccountNumber() uint32
- func (m *AccountsResponse_Account) GetExternalKeyCount() uint32
- func (m *AccountsResponse_Account) GetImportedKeyCount() uint32
- func (m *AccountsResponse_Account) GetInternalKeyCount() uint32
- func (m *AccountsResponse_Account) GetTotalBalance() int64
- func (*AccountsResponse_Account) ProtoMessage()
- func (m *AccountsResponse_Account) Reset()
- func (m *AccountsResponse_Account) String() string
- type BalanceRequest
- type BalanceResponse
- func (*BalanceResponse) Descriptor() ([]byte, []int)
- func (m *BalanceResponse) GetImmatureReward() int64
- func (m *BalanceResponse) GetSpendable() int64
- func (m *BalanceResponse) GetTotal() int64
- func (*BalanceResponse) ProtoMessage()
- func (m *BalanceResponse) Reset()
- func (m *BalanceResponse) String() string
- type BlockDetails
- func (*BlockDetails) Descriptor() ([]byte, []int)
- func (m *BlockDetails) GetHash() []byte
- func (m *BlockDetails) GetHeight() int32
- func (m *BlockDetails) GetTimestamp() int64
- func (m *BlockDetails) GetTransactions() []*TransactionDetails
- func (*BlockDetails) ProtoMessage()
- func (m *BlockDetails) Reset()
- func (m *BlockDetails) String() string
- type ChangePassphraseRequest
- func (*ChangePassphraseRequest) Descriptor() ([]byte, []int)
- func (m *ChangePassphraseRequest) GetKey() ChangePassphraseRequest_Key
- func (m *ChangePassphraseRequest) GetNewPassphrase() []byte
- func (m *ChangePassphraseRequest) GetOldPassphrase() []byte
- func (*ChangePassphraseRequest) ProtoMessage()
- func (m *ChangePassphraseRequest) Reset()
- func (m *ChangePassphraseRequest) String() string
- type ChangePassphraseRequest_Key
- type ChangePassphraseResponse
- type CloseWalletRequest
- type CloseWalletResponse
- type CreateWalletRequest
- func (*CreateWalletRequest) Descriptor() ([]byte, []int)
- func (m *CreateWalletRequest) GetPrivatePassphrase() []byte
- func (m *CreateWalletRequest) GetPublicPassphrase() []byte
- func (m *CreateWalletRequest) GetSeed() []byte
- func (*CreateWalletRequest) ProtoMessage()
- func (m *CreateWalletRequest) Reset()
- func (m *CreateWalletRequest) String() string
- type CreateWalletResponse
- type FundTransactionRequest
- func (*FundTransactionRequest) Descriptor() ([]byte, []int)
- func (m *FundTransactionRequest) GetAccount() uint32
- func (m *FundTransactionRequest) GetIncludeChangeScript() bool
- func (m *FundTransactionRequest) GetIncludeImmatureCoinbases() bool
- func (m *FundTransactionRequest) GetRequiredConfirmations() int32
- func (m *FundTransactionRequest) GetTargetAmount() int64
- func (*FundTransactionRequest) ProtoMessage()
- func (m *FundTransactionRequest) Reset()
- func (m *FundTransactionRequest) String() string
- type FundTransactionResponse
- func (*FundTransactionResponse) Descriptor() ([]byte, []int)
- func (m *FundTransactionResponse) GetChangePkScript() []byte
- func (m *FundTransactionResponse) GetSelectedOutputs() []*FundTransactionResponse_PreviousOutput
- func (m *FundTransactionResponse) GetTotalAmount() int64
- func (*FundTransactionResponse) ProtoMessage()
- func (m *FundTransactionResponse) Reset()
- func (m *FundTransactionResponse) String() string
- type FundTransactionResponse_PreviousOutput
- func (*FundTransactionResponse_PreviousOutput) Descriptor() ([]byte, []int)
- func (m *FundTransactionResponse_PreviousOutput) GetAmount() int64
- func (m *FundTransactionResponse_PreviousOutput) GetFromCoinbase() bool
- func (m *FundTransactionResponse_PreviousOutput) GetOutputIndex() uint32
- func (m *FundTransactionResponse_PreviousOutput) GetPkScript() []byte
- func (m *FundTransactionResponse_PreviousOutput) GetReceiveTime() int64
- func (m *FundTransactionResponse_PreviousOutput) GetTransactionHash() []byte
- func (*FundTransactionResponse_PreviousOutput) ProtoMessage()
- func (m *FundTransactionResponse_PreviousOutput) Reset()
- func (m *FundTransactionResponse_PreviousOutput) String() string
- type GetTransactionsRequest
- func (*GetTransactionsRequest) Descriptor() ([]byte, []int)
- func (m *GetTransactionsRequest) GetEndingBlockHash() []byte
- func (m *GetTransactionsRequest) GetEndingBlockHeight() int32
- func (m *GetTransactionsRequest) GetMinimumRecentTransactions() int32
- func (m *GetTransactionsRequest) GetStartingBlockHash() []byte
- func (m *GetTransactionsRequest) GetStartingBlockHeight() int32
- func (*GetTransactionsRequest) ProtoMessage()
- func (m *GetTransactionsRequest) Reset()
- func (m *GetTransactionsRequest) String() string
- type GetTransactionsResponse
- func (*GetTransactionsResponse) Descriptor() ([]byte, []int)
- func (m *GetTransactionsResponse) GetMinedTransactions() []*BlockDetails
- func (m *GetTransactionsResponse) GetUnminedTransactions() []*TransactionDetails
- func (*GetTransactionsResponse) ProtoMessage()
- func (m *GetTransactionsResponse) Reset()
- func (m *GetTransactionsResponse) String() string
- type ImportPrivateKeyRequest
- func (*ImportPrivateKeyRequest) Descriptor() ([]byte, []int)
- func (m *ImportPrivateKeyRequest) GetAccount() uint32
- func (m *ImportPrivateKeyRequest) GetPassphrase() []byte
- func (m *ImportPrivateKeyRequest) GetPrivateKeyWif() string
- func (m *ImportPrivateKeyRequest) GetRescan() bool
- func (*ImportPrivateKeyRequest) ProtoMessage()
- func (m *ImportPrivateKeyRequest) Reset()
- func (m *ImportPrivateKeyRequest) String() string
- type ImportPrivateKeyResponse
- type NetworkRequest
- type NetworkResponse
- type NextAccountRequest
- type NextAccountResponse
- type NextAddressRequest
- type NextAddressRequest_Kind
- type NextAddressResponse
- type OpenWalletRequest
- type OpenWalletResponse
- type PingRequest
- type PingResponse
- type PublishTransactionRequest
- type PublishTransactionResponse
- type RenameAccountRequest
- type RenameAccountResponse
- type SignTransactionRequest
- func (*SignTransactionRequest) Descriptor() ([]byte, []int)
- func (m *SignTransactionRequest) GetInputIndexes() []uint32
- func (m *SignTransactionRequest) GetPassphrase() []byte
- func (m *SignTransactionRequest) GetSerializedTransaction() []byte
- func (*SignTransactionRequest) ProtoMessage()
- func (m *SignTransactionRequest) Reset()
- func (m *SignTransactionRequest) String() string
- type SignTransactionResponse
- func (*SignTransactionResponse) Descriptor() ([]byte, []int)
- func (m *SignTransactionResponse) GetTransaction() []byte
- func (m *SignTransactionResponse) GetUnsignedInputIndexes() []uint32
- func (*SignTransactionResponse) ProtoMessage()
- func (m *SignTransactionResponse) Reset()
- func (m *SignTransactionResponse) String() string
- type SpentnessNotificationsRequest
- func (*SpentnessNotificationsRequest) Descriptor() ([]byte, []int)
- func (m *SpentnessNotificationsRequest) GetAccount() uint32
- func (m *SpentnessNotificationsRequest) GetNoNotifySpent() bool
- func (m *SpentnessNotificationsRequest) GetNoNotifyUnspent() bool
- func (*SpentnessNotificationsRequest) ProtoMessage()
- func (m *SpentnessNotificationsRequest) Reset()
- func (m *SpentnessNotificationsRequest) String() string
- type SpentnessNotificationsResponse
- func (*SpentnessNotificationsResponse) Descriptor() ([]byte, []int)
- func (m *SpentnessNotificationsResponse) GetOutputIndex() uint32
- func (m *SpentnessNotificationsResponse) GetSpender() *SpentnessNotificationsResponse_Spender
- func (m *SpentnessNotificationsResponse) GetTransactionHash() []byte
- func (*SpentnessNotificationsResponse) ProtoMessage()
- func (m *SpentnessNotificationsResponse) Reset()
- func (m *SpentnessNotificationsResponse) String() string
- type SpentnessNotificationsResponse_Spender
- func (*SpentnessNotificationsResponse_Spender) Descriptor() ([]byte, []int)
- func (m *SpentnessNotificationsResponse_Spender) GetInputIndex() uint32
- func (m *SpentnessNotificationsResponse_Spender) GetTransactionHash() []byte
- func (*SpentnessNotificationsResponse_Spender) ProtoMessage()
- func (m *SpentnessNotificationsResponse_Spender) Reset()
- func (m *SpentnessNotificationsResponse_Spender) String() string
- type StartConsensusRPCRequest
- func (*StartConsensusRPCRequest) Descriptor() ([]byte, []int)
- func (m *StartConsensusRPCRequest) GetCertificate() []byte
- func (m *StartConsensusRPCRequest) GetNetworkAddress() string
- func (m *StartConsensusRPCRequest) GetPassword() []byte
- func (m *StartConsensusRPCRequest) GetUsername() string
- func (*StartConsensusRPCRequest) ProtoMessage()
- func (m *StartConsensusRPCRequest) Reset()
- func (m *StartConsensusRPCRequest) String() string
- type StartConsensusRPCResponse
- type TransactionDetails
- func (*TransactionDetails) Descriptor() ([]byte, []int)
- func (m *TransactionDetails) GetCredits() []*TransactionDetails_Output
- func (m *TransactionDetails) GetDebits() []*TransactionDetails_Input
- func (m *TransactionDetails) GetFee() int64
- func (m *TransactionDetails) GetHash() []byte
- func (m *TransactionDetails) GetTimestamp() int64
- func (m *TransactionDetails) GetTransaction() []byte
- func (*TransactionDetails) ProtoMessage()
- func (m *TransactionDetails) Reset()
- func (m *TransactionDetails) String() string
- type TransactionDetails_Input
- func (*TransactionDetails_Input) Descriptor() ([]byte, []int)
- func (m *TransactionDetails_Input) GetIndex() uint32
- func (m *TransactionDetails_Input) GetPreviousAccount() uint32
- func (m *TransactionDetails_Input) GetPreviousAmount() int64
- func (*TransactionDetails_Input) ProtoMessage()
- func (m *TransactionDetails_Input) Reset()
- func (m *TransactionDetails_Input) String() string
- type TransactionDetails_Output
- func (*TransactionDetails_Output) Descriptor() ([]byte, []int)
- func (m *TransactionDetails_Output) GetAccount() uint32
- func (m *TransactionDetails_Output) GetIndex() uint32
- func (m *TransactionDetails_Output) GetInternal() bool
- func (*TransactionDetails_Output) ProtoMessage()
- func (m *TransactionDetails_Output) Reset()
- func (m *TransactionDetails_Output) String() string
- type TransactionNotificationsRequest
- type TransactionNotificationsResponse
- func (*TransactionNotificationsResponse) Descriptor() ([]byte, []int)
- func (m *TransactionNotificationsResponse) GetAttachedBlocks() []*BlockDetails
- func (m *TransactionNotificationsResponse) GetDetachedBlocks() [][]byte
- func (m *TransactionNotificationsResponse) GetUnminedTransactionHashes() [][]byte
- func (m *TransactionNotificationsResponse) GetUnminedTransactions() []*TransactionDetails
- func (*TransactionNotificationsResponse) ProtoMessage()
- func (m *TransactionNotificationsResponse) Reset()
- func (m *TransactionNotificationsResponse) String() string
- type VersionRequest
- type VersionResponse
- func (*VersionResponse) Descriptor() ([]byte, []int)
- func (m *VersionResponse) GetBuildMetadata() string
- func (m *VersionResponse) GetMajor() uint32
- func (m *VersionResponse) GetMinor() uint32
- func (m *VersionResponse) GetPatch() uint32
- func (m *VersionResponse) GetPrerelease() string
- func (m *VersionResponse) GetVersionString() string
- func (*VersionResponse) ProtoMessage()
- func (m *VersionResponse) Reset()
- func (m *VersionResponse) String() string
- type VersionServiceClient
- type VersionServiceServer
- type WalletExistsRequest
- type WalletExistsResponse
- type WalletLoaderServiceClient
- type WalletLoaderServiceServer
- type WalletServiceClient
- type WalletServiceServer
- type WalletService_AccountNotificationsClient
- type WalletService_AccountNotificationsServer
- type WalletService_SpentnessNotificationsClient
- type WalletService_SpentnessNotificationsServer
- type WalletService_TransactionNotificationsClient
- type WalletService_TransactionNotificationsServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ChangePassphraseRequest_Key_name = map[int32]string{
0: "PRIVATE",
1: "PUBLIC",
}
View Source
var ChangePassphraseRequest_Key_value = map[string]int32{
"PRIVATE": 0,
"PUBLIC": 1,
}
View Source
var NextAddressRequest_Kind_name = map[int32]string{
0: "BIP0044_EXTERNAL",
1: "BIP0044_INTERNAL",
}
View Source
var NextAddressRequest_Kind_value = map[string]int32{
"BIP0044_EXTERNAL": 0,
"BIP0044_INTERNAL": 1,
}
Functions ¶
func RegisterVersionServiceServer ¶
func RegisterVersionServiceServer( s *grpc.Server, srv VersionServiceServer)
func RegisterWalletLoaderServiceServer ¶
func RegisterWalletLoaderServiceServer( s *grpc.Server, srv WalletLoaderServiceServer)
func RegisterWalletServiceServer ¶
func RegisterWalletServiceServer( s *grpc.Server, srv WalletServiceServer)
Types ¶
type AccountBalance ¶
type AccountBalance struct { Account uint32 `protobuf:"varint,1,opt,name=account" json:"account,omitempty"` TotalBalance int64 `protobuf:"varint,2,opt,name=total_balance,json=totalBalance" json:"total_balance,omitempty"` }
func (*AccountBalance) Descriptor ¶
func (*AccountBalance) Descriptor() ([]byte, []int)
func (*AccountBalance) GetAccount ¶
func (m *AccountBalance) GetAccount() uint32
func (*AccountBalance) GetTotalBalance ¶
func (m *AccountBalance) GetTotalBalance() int64
func (*AccountBalance) ProtoMessage ¶
func (*AccountBalance) ProtoMessage()
func (*AccountBalance) Reset ¶
func (m *AccountBalance) Reset()
func (*AccountBalance) String ¶
func (m *AccountBalance) String() string
type AccountNotificationsRequest ¶
type AccountNotificationsRequest struct { }
func (*AccountNotificationsRequest) Descriptor ¶
func (*AccountNotificationsRequest) Descriptor() ([]byte, []int)
func (*AccountNotificationsRequest) ProtoMessage ¶
func (*AccountNotificationsRequest) ProtoMessage()
func (*AccountNotificationsRequest) Reset ¶
func (m *AccountNotificationsRequest) Reset()
func (*AccountNotificationsRequest) String ¶
func (m *AccountNotificationsRequest) String() string
type AccountNotificationsResponse ¶
type AccountNotificationsResponse struct { AccountNumber uint32 `protobuf:"varint,1,opt,name=account_number,json=accountNumber" json:"account_number,omitempty"` AccountName string `protobuf:"bytes,2,opt,name=account_name,json=accountName" json:"account_name,omitempty"` ExternalKeyCount uint32 `protobuf:"varint,3,opt,name=external_key_count,json=externalKeyCount" json:"external_key_count,omitempty"` InternalKeyCount uint32 `protobuf:"varint,4,opt,name=internal_key_count,json=internalKeyCount" json:"internal_key_count,omitempty"` ImportedKeyCount uint32 `protobuf:"varint,5,opt,name=imported_key_count,json=importedKeyCount" json:"imported_key_count,omitempty"` }
func (*AccountNotificationsResponse) Descriptor ¶
func (*AccountNotificationsResponse) Descriptor() ([]byte, []int)
func (*AccountNotificationsResponse) GetAccountName ¶
func (m *AccountNotificationsResponse) GetAccountName() string
func (*AccountNotificationsResponse) GetAccountNumber ¶
func (m *AccountNotificationsResponse) GetAccountNumber() uint32
func (*AccountNotificationsResponse) GetExternalKeyCount ¶
func (m *AccountNotificationsResponse) GetExternalKeyCount() uint32
func (*AccountNotificationsResponse) GetImportedKeyCount ¶
func (m *AccountNotificationsResponse) GetImportedKeyCount() uint32
func (*AccountNotificationsResponse) GetInternalKeyCount ¶
func (m *AccountNotificationsResponse) GetInternalKeyCount() uint32
func (*AccountNotificationsResponse) ProtoMessage ¶
func (*AccountNotificationsResponse) ProtoMessage()
func (*AccountNotificationsResponse) Reset ¶
func (m *AccountNotificationsResponse) Reset()
func (*AccountNotificationsResponse) String ¶
func (m *AccountNotificationsResponse) String() string
type AccountNumberRequest ¶
type AccountNumberRequest struct {
AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
}
func (*AccountNumberRequest) Descriptor ¶
func (*AccountNumberRequest) Descriptor() ([]byte, []int)
func (*AccountNumberRequest) GetAccountName ¶
func (m *AccountNumberRequest) GetAccountName() string
func (*AccountNumberRequest) ProtoMessage ¶
func (*AccountNumberRequest) ProtoMessage()
func (*AccountNumberRequest) Reset ¶
func (m *AccountNumberRequest) Reset()
func (*AccountNumberRequest) String ¶
func (m *AccountNumberRequest) String() string
type AccountNumberResponse ¶
type AccountNumberResponse struct {
AccountNumber uint32 `protobuf:"varint,1,opt,name=account_number,json=accountNumber" json:"account_number,omitempty"`
}
func (*AccountNumberResponse) Descriptor ¶
func (*AccountNumberResponse) Descriptor() ([]byte, []int)
func (*AccountNumberResponse) GetAccountNumber ¶
func (m *AccountNumberResponse) GetAccountNumber() uint32
func (*AccountNumberResponse) ProtoMessage ¶
func (*AccountNumberResponse) ProtoMessage()
func (*AccountNumberResponse) Reset ¶
func (m *AccountNumberResponse) Reset()
func (*AccountNumberResponse) String ¶
func (m *AccountNumberResponse) String() string
type AccountsRequest ¶
type AccountsRequest struct { }
func (*AccountsRequest) Descriptor ¶
func (*AccountsRequest) Descriptor() ([]byte, []int)
func (*AccountsRequest) ProtoMessage ¶
func (*AccountsRequest) ProtoMessage()
func (*AccountsRequest) Reset ¶
func (m *AccountsRequest) Reset()
func (*AccountsRequest) String ¶
func (m *AccountsRequest) String() string
type AccountsResponse ¶
type AccountsResponse struct { Accounts []*AccountsResponse_Account `protobuf:"bytes,1,rep,name=accounts" 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" json:"current_block_height,omitempty"` }
func (*AccountsResponse) Descriptor ¶
func (*AccountsResponse) Descriptor() ([]byte, []int)
func (*AccountsResponse) GetAccounts ¶
func (m *AccountsResponse) GetAccounts() []*AccountsResponse_Account
func (*AccountsResponse) GetCurrentBlockHash ¶
func (m *AccountsResponse) GetCurrentBlockHash() []byte
func (*AccountsResponse) GetCurrentBlockHeight ¶
func (m *AccountsResponse) GetCurrentBlockHeight() int32
func (*AccountsResponse) ProtoMessage ¶
func (*AccountsResponse) ProtoMessage()
func (*AccountsResponse) Reset ¶
func (m *AccountsResponse) Reset()
func (*AccountsResponse) String ¶
func (m *AccountsResponse) String() string
type AccountsResponse_Account ¶
type AccountsResponse_Account struct { AccountNumber uint32 `protobuf:"varint,1,opt,name=account_number,json=accountNumber" json:"account_number,omitempty"` AccountName string `protobuf:"bytes,2,opt,name=account_name,json=accountName" json:"account_name,omitempty"` TotalBalance int64 `protobuf:"varint,3,opt,name=total_balance,json=totalBalance" json:"total_balance,omitempty"` ExternalKeyCount uint32 `protobuf:"varint,4,opt,name=external_key_count,json=externalKeyCount" json:"external_key_count,omitempty"` InternalKeyCount uint32 `protobuf:"varint,5,opt,name=internal_key_count,json=internalKeyCount" json:"internal_key_count,omitempty"` ImportedKeyCount uint32 `protobuf:"varint,6,opt,name=imported_key_count,json=importedKeyCount" json:"imported_key_count,omitempty"` }
func (*AccountsResponse_Account) Descriptor ¶
func (*AccountsResponse_Account) Descriptor() ([]byte, []int)
func (*AccountsResponse_Account) GetAccountName ¶
func (m *AccountsResponse_Account) GetAccountName() string
func (*AccountsResponse_Account) GetAccountNumber ¶
func (m *AccountsResponse_Account) GetAccountNumber() uint32
func (*AccountsResponse_Account) GetExternalKeyCount ¶
func (m *AccountsResponse_Account) GetExternalKeyCount() uint32
func (*AccountsResponse_Account) GetImportedKeyCount ¶
func (m *AccountsResponse_Account) GetImportedKeyCount() uint32
func (*AccountsResponse_Account) GetInternalKeyCount ¶
func (m *AccountsResponse_Account) GetInternalKeyCount() uint32
func (*AccountsResponse_Account) GetTotalBalance ¶
func (m *AccountsResponse_Account) GetTotalBalance() int64
func (*AccountsResponse_Account) ProtoMessage ¶
func (*AccountsResponse_Account) ProtoMessage()
func (*AccountsResponse_Account) Reset ¶
func (m *AccountsResponse_Account) Reset()
func (*AccountsResponse_Account) String ¶
func (m *AccountsResponse_Account) String() string
type BalanceRequest ¶
type BalanceRequest struct { AccountNumber uint32 `protobuf:"varint,1,opt,name=account_number,json=accountNumber" json:"account_number,omitempty"` RequiredConfirmations int32 `protobuf:"varint,2,opt,name=required_confirmations,json=requiredConfirmations" json:"required_confirmations,omitempty"` }
func (*BalanceRequest) Descriptor ¶
func (*BalanceRequest) Descriptor() ([]byte, []int)
func (*BalanceRequest) GetAccountNumber ¶
func (m *BalanceRequest) GetAccountNumber() uint32
func (*BalanceRequest) GetRequiredConfirmations ¶
func (m *BalanceRequest) GetRequiredConfirmations() int32
func (*BalanceRequest) ProtoMessage ¶
func (*BalanceRequest) ProtoMessage()
func (*BalanceRequest) Reset ¶
func (m *BalanceRequest) Reset()
func (*BalanceRequest) String ¶
func (m *BalanceRequest) String() string
type BalanceResponse ¶
type BalanceResponse struct { Total int64 `protobuf:"varint,1,opt,name=total" json:"total,omitempty"` Spendable int64 `protobuf:"varint,2,opt,name=spendable" json:"spendable,omitempty"` ImmatureReward int64 `protobuf:"varint,3,opt,name=immature_reward,json=immatureReward" json:"immature_reward,omitempty"` }
func (*BalanceResponse) Descriptor ¶
func (*BalanceResponse) Descriptor() ([]byte, []int)
func (*BalanceResponse) GetImmatureReward ¶
func (m *BalanceResponse) GetImmatureReward() int64
func (*BalanceResponse) GetSpendable ¶
func (m *BalanceResponse) GetSpendable() int64
func (*BalanceResponse) GetTotal ¶
func (m *BalanceResponse) GetTotal() int64
func (*BalanceResponse) ProtoMessage ¶
func (*BalanceResponse) ProtoMessage()
func (*BalanceResponse) Reset ¶
func (m *BalanceResponse) Reset()
func (*BalanceResponse) String ¶
func (m *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" json:"height,omitempty"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp" json:"timestamp,omitempty"` Transactions []*TransactionDetails `protobuf:"bytes,4,rep,name=transactions" json:"transactions,omitempty"` }
func (*BlockDetails) Descriptor ¶
func (*BlockDetails) Descriptor() ([]byte, []int)
func (*BlockDetails) GetHash ¶
func (m *BlockDetails) GetHash() []byte
func (*BlockDetails) GetHeight ¶
func (m *BlockDetails) GetHeight() int32
func (*BlockDetails) GetTimestamp ¶
func (m *BlockDetails) GetTimestamp() int64
func (*BlockDetails) GetTransactions ¶
func (m *BlockDetails) GetTransactions() []*TransactionDetails
func (*BlockDetails) ProtoMessage ¶
func (*BlockDetails) ProtoMessage()
func (*BlockDetails) Reset ¶
func (m *BlockDetails) Reset()
func (*BlockDetails) String ¶
func (m *BlockDetails) String() string
type ChangePassphraseRequest ¶
type ChangePassphraseRequest struct { Key ChangePassphraseRequest_Key `protobuf:"varint,1,opt,name=key,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"` }
func (*ChangePassphraseRequest) Descriptor ¶
func (*ChangePassphraseRequest) Descriptor() ([]byte, []int)
func (*ChangePassphraseRequest) GetKey ¶
func (m *ChangePassphraseRequest) GetKey() ChangePassphraseRequest_Key
func (*ChangePassphraseRequest) GetNewPassphrase ¶
func (m *ChangePassphraseRequest) GetNewPassphrase() []byte
func (*ChangePassphraseRequest) GetOldPassphrase ¶
func (m *ChangePassphraseRequest) GetOldPassphrase() []byte
func (*ChangePassphraseRequest) ProtoMessage ¶
func (*ChangePassphraseRequest) ProtoMessage()
func (*ChangePassphraseRequest) Reset ¶
func (m *ChangePassphraseRequest) Reset()
func (*ChangePassphraseRequest) String ¶
func (m *ChangePassphraseRequest) String() string
type ChangePassphraseRequest_Key ¶
type ChangePassphraseRequest_Key int32
const ( ChangePassphraseRequest_PRIVATE ChangePassphraseRequest_Key = 0 ChangePassphraseRequest_PUBLIC ChangePassphraseRequest_Key = 1 )
func (ChangePassphraseRequest_Key) EnumDescriptor ¶
func (ChangePassphraseRequest_Key) EnumDescriptor() ([]byte, []int)
func (ChangePassphraseRequest_Key) String ¶
func (x ChangePassphraseRequest_Key) String() string
type ChangePassphraseResponse ¶
type ChangePassphraseResponse struct { }
func (*ChangePassphraseResponse) Descriptor ¶
func (*ChangePassphraseResponse) Descriptor() ([]byte, []int)
func (*ChangePassphraseResponse) ProtoMessage ¶
func (*ChangePassphraseResponse) ProtoMessage()
func (*ChangePassphraseResponse) Reset ¶
func (m *ChangePassphraseResponse) Reset()
func (*ChangePassphraseResponse) String ¶
func (m *ChangePassphraseResponse) String() string
type CloseWalletRequest ¶
type CloseWalletRequest struct { }
func (*CloseWalletRequest) Descriptor ¶
func (*CloseWalletRequest) Descriptor() ([]byte, []int)
func (*CloseWalletRequest) ProtoMessage ¶
func (*CloseWalletRequest) ProtoMessage()
func (*CloseWalletRequest) Reset ¶
func (m *CloseWalletRequest) Reset()
func (*CloseWalletRequest) String ¶
func (m *CloseWalletRequest) String() string
type CloseWalletResponse ¶
type CloseWalletResponse struct { }
func (*CloseWalletResponse) Descriptor ¶
func (*CloseWalletResponse) Descriptor() ([]byte, []int)
func (*CloseWalletResponse) ProtoMessage ¶
func (*CloseWalletResponse) ProtoMessage()
func (*CloseWalletResponse) Reset ¶
func (m *CloseWalletResponse) Reset()
func (*CloseWalletResponse) String ¶
func (m *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"` }
func (*CreateWalletRequest) Descriptor ¶
func (*CreateWalletRequest) Descriptor() ([]byte, []int)
func (*CreateWalletRequest) GetPrivatePassphrase ¶
func (m *CreateWalletRequest) GetPrivatePassphrase() []byte
func (*CreateWalletRequest) GetPublicPassphrase ¶
func (m *CreateWalletRequest) GetPublicPassphrase() []byte
func (*CreateWalletRequest) GetSeed ¶
func (m *CreateWalletRequest) GetSeed() []byte
func (*CreateWalletRequest) ProtoMessage ¶
func (*CreateWalletRequest) ProtoMessage()
func (*CreateWalletRequest) Reset ¶
func (m *CreateWalletRequest) Reset()
func (*CreateWalletRequest) String ¶
func (m *CreateWalletRequest) String() string
type CreateWalletResponse ¶
type CreateWalletResponse struct { }
func (*CreateWalletResponse) Descriptor ¶
func (*CreateWalletResponse) Descriptor() ([]byte, []int)
func (*CreateWalletResponse) ProtoMessage ¶
func (*CreateWalletResponse) ProtoMessage()
func (*CreateWalletResponse) Reset ¶
func (m *CreateWalletResponse) Reset()
func (*CreateWalletResponse) String ¶
func (m *CreateWalletResponse) String() string
type FundTransactionRequest ¶
type FundTransactionRequest struct { Account uint32 `protobuf:"varint,1,opt,name=account" json:"account,omitempty"` TargetAmount int64 `protobuf:"varint,2,opt,name=target_amount,json=targetAmount" json:"target_amount,omitempty"` RequiredConfirmations int32 `protobuf:"varint,3,opt,name=required_confirmations,json=requiredConfirmations" json:"required_confirmations,omitempty"` IncludeImmatureCoinbases bool `` /* 129-byte string literal not displayed */ IncludeChangeScript bool `protobuf:"varint,5,opt,name=include_change_script,json=includeChangeScript" json:"include_change_script,omitempty"` }
func (*FundTransactionRequest) Descriptor ¶
func (*FundTransactionRequest) Descriptor() ([]byte, []int)
func (*FundTransactionRequest) GetAccount ¶
func (m *FundTransactionRequest) GetAccount() uint32
func (*FundTransactionRequest) GetIncludeChangeScript ¶
func (m *FundTransactionRequest) GetIncludeChangeScript() bool
func (*FundTransactionRequest) GetIncludeImmatureCoinbases ¶
func (m *FundTransactionRequest) GetIncludeImmatureCoinbases() bool
func (*FundTransactionRequest) GetRequiredConfirmations ¶
func (m *FundTransactionRequest) GetRequiredConfirmations() int32
func (*FundTransactionRequest) GetTargetAmount ¶
func (m *FundTransactionRequest) GetTargetAmount() int64
func (*FundTransactionRequest) ProtoMessage ¶
func (*FundTransactionRequest) ProtoMessage()
func (*FundTransactionRequest) Reset ¶
func (m *FundTransactionRequest) Reset()
func (*FundTransactionRequest) String ¶
func (m *FundTransactionRequest) String() string
type FundTransactionResponse ¶
type FundTransactionResponse struct { SelectedOutputs []*FundTransactionResponse_PreviousOutput `protobuf:"bytes,1,rep,name=selected_outputs,json=selectedOutputs" json:"selected_outputs,omitempty"` TotalAmount int64 `protobuf:"varint,2,opt,name=total_amount,json=totalAmount" json:"total_amount,omitempty"` ChangePkScript []byte `protobuf:"bytes,3,opt,name=change_pk_script,json=changePkScript,proto3" json:"change_pk_script,omitempty"` }
func (*FundTransactionResponse) Descriptor ¶
func (*FundTransactionResponse) Descriptor() ([]byte, []int)
func (*FundTransactionResponse) GetChangePkScript ¶
func (m *FundTransactionResponse) GetChangePkScript() []byte
func (*FundTransactionResponse) GetSelectedOutputs ¶
func (m *FundTransactionResponse) GetSelectedOutputs() []*FundTransactionResponse_PreviousOutput
func (*FundTransactionResponse) GetTotalAmount ¶
func (m *FundTransactionResponse) GetTotalAmount() int64
func (*FundTransactionResponse) ProtoMessage ¶
func (*FundTransactionResponse) ProtoMessage()
func (*FundTransactionResponse) Reset ¶
func (m *FundTransactionResponse) Reset()
func (*FundTransactionResponse) String ¶
func (m *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" json:"output_index,omitempty"` Amount int64 `protobuf:"varint,3,opt,name=amount" 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" json:"receive_time,omitempty"` FromCoinbase bool `protobuf:"varint,6,opt,name=from_coinbase,json=fromCoinbase" json:"from_coinbase,omitempty"` }
func (*FundTransactionResponse_PreviousOutput) Descriptor ¶
func (*FundTransactionResponse_PreviousOutput) Descriptor() ([]byte, []int)
func (*FundTransactionResponse_PreviousOutput) GetAmount ¶
func (m *FundTransactionResponse_PreviousOutput) GetAmount() int64
func (*FundTransactionResponse_PreviousOutput) GetFromCoinbase ¶
func (m *FundTransactionResponse_PreviousOutput) GetFromCoinbase() bool
func (*FundTransactionResponse_PreviousOutput) GetOutputIndex ¶
func (m *FundTransactionResponse_PreviousOutput) GetOutputIndex() uint32
func (*FundTransactionResponse_PreviousOutput) GetPkScript ¶
func (m *FundTransactionResponse_PreviousOutput) GetPkScript() []byte
func (*FundTransactionResponse_PreviousOutput) GetReceiveTime ¶
func (m *FundTransactionResponse_PreviousOutput) GetReceiveTime() int64
func (*FundTransactionResponse_PreviousOutput) GetTransactionHash ¶
func (m *FundTransactionResponse_PreviousOutput) GetTransactionHash() []byte
func (*FundTransactionResponse_PreviousOutput) ProtoMessage ¶
func (*FundTransactionResponse_PreviousOutput) ProtoMessage()
func (*FundTransactionResponse_PreviousOutput) Reset ¶
func (m *FundTransactionResponse_PreviousOutput) Reset()
func (*FundTransactionResponse_PreviousOutput) String ¶
func (m *FundTransactionResponse_PreviousOutput) String() string
type GetTransactionsRequest ¶
type GetTransactionsRequest struct { // 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,1,opt,name=starting_block_hash,json=startingBlockHash,proto3" json:"starting_block_hash,omitempty"` StartingBlockHeight int32 `protobuf:"zigzag32,2,opt,name=starting_block_height,json=startingBlockHeight" 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,3,opt,name=ending_block_hash,json=endingBlockHash,proto3" json:"ending_block_hash,omitempty"` EndingBlockHeight int32 `protobuf:"varint,4,opt,name=ending_block_height,json=endingBlockHeight" 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 `` /* 132-byte string literal not displayed */ }
func (*GetTransactionsRequest) Descriptor ¶
func (*GetTransactionsRequest) Descriptor() ([]byte, []int)
func (*GetTransactionsRequest) GetEndingBlockHash ¶
func (m *GetTransactionsRequest) GetEndingBlockHash() []byte
func (*GetTransactionsRequest) GetEndingBlockHeight ¶
func (m *GetTransactionsRequest) GetEndingBlockHeight() int32
func (*GetTransactionsRequest) GetMinimumRecentTransactions ¶
func (m *GetTransactionsRequest) GetMinimumRecentTransactions() int32
func (*GetTransactionsRequest) GetStartingBlockHash ¶
func (m *GetTransactionsRequest) GetStartingBlockHash() []byte
func (*GetTransactionsRequest) GetStartingBlockHeight ¶
func (m *GetTransactionsRequest) GetStartingBlockHeight() int32
func (*GetTransactionsRequest) ProtoMessage ¶
func (*GetTransactionsRequest) ProtoMessage()
func (*GetTransactionsRequest) Reset ¶
func (m *GetTransactionsRequest) Reset()
func (*GetTransactionsRequest) String ¶
func (m *GetTransactionsRequest) String() string
type GetTransactionsResponse ¶
type GetTransactionsResponse struct { MinedTransactions []*BlockDetails `protobuf:"bytes,1,rep,name=mined_transactions,json=minedTransactions" json:"mined_transactions,omitempty"` UnminedTransactions []*TransactionDetails `protobuf:"bytes,2,rep,name=unmined_transactions,json=unminedTransactions" json:"unmined_transactions,omitempty"` }
func (*GetTransactionsResponse) Descriptor ¶
func (*GetTransactionsResponse) Descriptor() ([]byte, []int)
func (*GetTransactionsResponse) GetMinedTransactions ¶
func (m *GetTransactionsResponse) GetMinedTransactions() []*BlockDetails
func (*GetTransactionsResponse) GetUnminedTransactions ¶
func (m *GetTransactionsResponse) GetUnminedTransactions() []*TransactionDetails
func (*GetTransactionsResponse) ProtoMessage ¶
func (*GetTransactionsResponse) ProtoMessage()
func (*GetTransactionsResponse) Reset ¶
func (m *GetTransactionsResponse) Reset()
func (*GetTransactionsResponse) String ¶
func (m *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" json:"account,omitempty"` PrivateKeyWif string `protobuf:"bytes,3,opt,name=private_key_wif,json=privateKeyWif" json:"private_key_wif,omitempty"` Rescan bool `protobuf:"varint,4,opt,name=rescan" json:"rescan,omitempty"` }
func (*ImportPrivateKeyRequest) Descriptor ¶
func (*ImportPrivateKeyRequest) Descriptor() ([]byte, []int)
func (*ImportPrivateKeyRequest) GetAccount ¶
func (m *ImportPrivateKeyRequest) GetAccount() uint32
func (*ImportPrivateKeyRequest) GetPassphrase ¶
func (m *ImportPrivateKeyRequest) GetPassphrase() []byte
func (*ImportPrivateKeyRequest) GetPrivateKeyWif ¶
func (m *ImportPrivateKeyRequest) GetPrivateKeyWif() string
func (*ImportPrivateKeyRequest) GetRescan ¶
func (m *ImportPrivateKeyRequest) GetRescan() bool
func (*ImportPrivateKeyRequest) ProtoMessage ¶
func (*ImportPrivateKeyRequest) ProtoMessage()
func (*ImportPrivateKeyRequest) Reset ¶
func (m *ImportPrivateKeyRequest) Reset()
func (*ImportPrivateKeyRequest) String ¶
func (m *ImportPrivateKeyRequest) String() string
type ImportPrivateKeyResponse ¶
type ImportPrivateKeyResponse struct { }
func (*ImportPrivateKeyResponse) Descriptor ¶
func (*ImportPrivateKeyResponse) Descriptor() ([]byte, []int)
func (*ImportPrivateKeyResponse) ProtoMessage ¶
func (*ImportPrivateKeyResponse) ProtoMessage()
func (*ImportPrivateKeyResponse) Reset ¶
func (m *ImportPrivateKeyResponse) Reset()
func (*ImportPrivateKeyResponse) String ¶
func (m *ImportPrivateKeyResponse) String() string
type NetworkRequest ¶
type NetworkRequest struct { }
func (*NetworkRequest) Descriptor ¶
func (*NetworkRequest) Descriptor() ([]byte, []int)
func (*NetworkRequest) ProtoMessage ¶
func (*NetworkRequest) ProtoMessage()
func (*NetworkRequest) Reset ¶
func (m *NetworkRequest) Reset()
func (*NetworkRequest) String ¶
func (m *NetworkRequest) String() string
type NetworkResponse ¶
type NetworkResponse struct {
ActiveNetwork uint32 `protobuf:"varint,1,opt,name=active_network,json=activeNetwork" json:"active_network,omitempty"`
}
func (*NetworkResponse) Descriptor ¶
func (*NetworkResponse) Descriptor() ([]byte, []int)
func (*NetworkResponse) GetActiveNetwork ¶
func (m *NetworkResponse) GetActiveNetwork() uint32
func (*NetworkResponse) ProtoMessage ¶
func (*NetworkResponse) ProtoMessage()
func (*NetworkResponse) Reset ¶
func (m *NetworkResponse) Reset()
func (*NetworkResponse) String ¶
func (m *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" json:"account_name,omitempty"` }
func (*NextAccountRequest) Descriptor ¶
func (*NextAccountRequest) Descriptor() ([]byte, []int)
func (*NextAccountRequest) GetAccountName ¶
func (m *NextAccountRequest) GetAccountName() string
func (*NextAccountRequest) GetPassphrase ¶
func (m *NextAccountRequest) GetPassphrase() []byte
func (*NextAccountRequest) ProtoMessage ¶
func (*NextAccountRequest) ProtoMessage()
func (*NextAccountRequest) Reset ¶
func (m *NextAccountRequest) Reset()
func (*NextAccountRequest) String ¶
func (m *NextAccountRequest) String() string
type NextAccountResponse ¶
type NextAccountResponse struct {
AccountNumber uint32 `protobuf:"varint,1,opt,name=account_number,json=accountNumber" json:"account_number,omitempty"`
}
func (*NextAccountResponse) Descriptor ¶
func (*NextAccountResponse) Descriptor() ([]byte, []int)
func (*NextAccountResponse) GetAccountNumber ¶
func (m *NextAccountResponse) GetAccountNumber() uint32
func (*NextAccountResponse) ProtoMessage ¶
func (*NextAccountResponse) ProtoMessage()
func (*NextAccountResponse) Reset ¶
func (m *NextAccountResponse) Reset()
func (*NextAccountResponse) String ¶
func (m *NextAccountResponse) String() string
type NextAddressRequest ¶
type NextAddressRequest struct { Account uint32 `protobuf:"varint,1,opt,name=account" json:"account,omitempty"` Kind NextAddressRequest_Kind `protobuf:"varint,2,opt,name=kind,enum=walletrpc.NextAddressRequest_Kind" json:"kind,omitempty"` }
func (*NextAddressRequest) Descriptor ¶
func (*NextAddressRequest) Descriptor() ([]byte, []int)
func (*NextAddressRequest) GetAccount ¶
func (m *NextAddressRequest) GetAccount() uint32
func (*NextAddressRequest) GetKind ¶
func (m *NextAddressRequest) GetKind() NextAddressRequest_Kind
func (*NextAddressRequest) ProtoMessage ¶
func (*NextAddressRequest) ProtoMessage()
func (*NextAddressRequest) Reset ¶
func (m *NextAddressRequest) Reset()
func (*NextAddressRequest) String ¶
func (m *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) EnumDescriptor ¶
func (NextAddressRequest_Kind) EnumDescriptor() ([]byte, []int)
func (NextAddressRequest_Kind) String ¶
func (x NextAddressRequest_Kind) String() string
type NextAddressResponse ¶
type NextAddressResponse struct {
Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
}
func (*NextAddressResponse) Descriptor ¶
func (*NextAddressResponse) Descriptor() ([]byte, []int)
func (*NextAddressResponse) GetAddress ¶
func (m *NextAddressResponse) GetAddress() string
func (*NextAddressResponse) ProtoMessage ¶
func (*NextAddressResponse) ProtoMessage()
func (*NextAddressResponse) Reset ¶
func (m *NextAddressResponse) Reset()
func (*NextAddressResponse) String ¶
func (m *NextAddressResponse) String() string
type OpenWalletRequest ¶
type OpenWalletRequest struct {
PublicPassphrase []byte `protobuf:"bytes,1,opt,name=public_passphrase,json=publicPassphrase,proto3" json:"public_passphrase,omitempty"`
}
func (*OpenWalletRequest) Descriptor ¶
func (*OpenWalletRequest) Descriptor() ([]byte, []int)
func (*OpenWalletRequest) GetPublicPassphrase ¶
func (m *OpenWalletRequest) GetPublicPassphrase() []byte
func (*OpenWalletRequest) ProtoMessage ¶
func (*OpenWalletRequest) ProtoMessage()
func (*OpenWalletRequest) Reset ¶
func (m *OpenWalletRequest) Reset()
func (*OpenWalletRequest) String ¶
func (m *OpenWalletRequest) String() string
type OpenWalletResponse ¶
type OpenWalletResponse struct { }
func (*OpenWalletResponse) Descriptor ¶
func (*OpenWalletResponse) Descriptor() ([]byte, []int)
func (*OpenWalletResponse) ProtoMessage ¶
func (*OpenWalletResponse) ProtoMessage()
func (*OpenWalletResponse) Reset ¶
func (m *OpenWalletResponse) Reset()
func (*OpenWalletResponse) String ¶
func (m *OpenWalletResponse) String() string
type PingRequest ¶
type PingRequest struct { }
func (*PingRequest) Descriptor ¶
func (*PingRequest) Descriptor() ([]byte, []int)
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) Reset ¶
func (m *PingRequest) Reset()
func (*PingRequest) String ¶
func (m *PingRequest) String() string
type PingResponse ¶
type PingResponse struct { }
func (*PingResponse) Descriptor ¶
func (*PingResponse) Descriptor() ([]byte, []int)
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) Reset ¶
func (m *PingResponse) Reset()
func (*PingResponse) String ¶
func (m *PingResponse) String() string
type PublishTransactionRequest ¶
type PublishTransactionRequest struct {
SignedTransaction []byte `protobuf:"bytes,1,opt,name=signed_transaction,json=signedTransaction,proto3" json:"signed_transaction,omitempty"`
}
func (*PublishTransactionRequest) Descriptor ¶
func (*PublishTransactionRequest) Descriptor() ([]byte, []int)
func (*PublishTransactionRequest) GetSignedTransaction ¶
func (m *PublishTransactionRequest) GetSignedTransaction() []byte
func (*PublishTransactionRequest) ProtoMessage ¶
func (*PublishTransactionRequest) ProtoMessage()
func (*PublishTransactionRequest) Reset ¶
func (m *PublishTransactionRequest) Reset()
func (*PublishTransactionRequest) String ¶
func (m *PublishTransactionRequest) String() string
type PublishTransactionResponse ¶
type PublishTransactionResponse struct { }
func (*PublishTransactionResponse) Descriptor ¶
func (*PublishTransactionResponse) Descriptor() ([]byte, []int)
func (*PublishTransactionResponse) ProtoMessage ¶
func (*PublishTransactionResponse) ProtoMessage()
func (*PublishTransactionResponse) Reset ¶
func (m *PublishTransactionResponse) Reset()
func (*PublishTransactionResponse) String ¶
func (m *PublishTransactionResponse) String() string
type RenameAccountRequest ¶
type RenameAccountRequest struct { AccountNumber uint32 `protobuf:"varint,1,opt,name=account_number,json=accountNumber" json:"account_number,omitempty"` NewName string `protobuf:"bytes,2,opt,name=new_name,json=newName" json:"new_name,omitempty"` }
func (*RenameAccountRequest) Descriptor ¶
func (*RenameAccountRequest) Descriptor() ([]byte, []int)
func (*RenameAccountRequest) GetAccountNumber ¶
func (m *RenameAccountRequest) GetAccountNumber() uint32
func (*RenameAccountRequest) GetNewName ¶
func (m *RenameAccountRequest) GetNewName() string
func (*RenameAccountRequest) ProtoMessage ¶
func (*RenameAccountRequest) ProtoMessage()
func (*RenameAccountRequest) Reset ¶
func (m *RenameAccountRequest) Reset()
func (*RenameAccountRequest) String ¶
func (m *RenameAccountRequest) String() string
type RenameAccountResponse ¶
type RenameAccountResponse struct { }
func (*RenameAccountResponse) Descriptor ¶
func (*RenameAccountResponse) Descriptor() ([]byte, []int)
func (*RenameAccountResponse) ProtoMessage ¶
func (*RenameAccountResponse) ProtoMessage()
func (*RenameAccountResponse) Reset ¶
func (m *RenameAccountResponse) Reset()
func (*RenameAccountResponse) String ¶
func (m *RenameAccountResponse) String() string
type SignTransactionRequest ¶
type SignTransactionRequest struct { Passphrase []byte `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"` SerializedTransaction []byte `protobuf:"bytes,2,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,3,rep,packed,name=input_indexes,json=inputIndexes" json:"input_indexes,omitempty"` }
func (*SignTransactionRequest) Descriptor ¶
func (*SignTransactionRequest) Descriptor() ([]byte, []int)
func (*SignTransactionRequest) GetInputIndexes ¶
func (m *SignTransactionRequest) GetInputIndexes() []uint32
func (*SignTransactionRequest) GetPassphrase ¶
func (m *SignTransactionRequest) GetPassphrase() []byte
func (*SignTransactionRequest) GetSerializedTransaction ¶
func (m *SignTransactionRequest) GetSerializedTransaction() []byte
func (*SignTransactionRequest) ProtoMessage ¶
func (*SignTransactionRequest) ProtoMessage()
func (*SignTransactionRequest) Reset ¶
func (m *SignTransactionRequest) Reset()
func (*SignTransactionRequest) String ¶
func (m *SignTransactionRequest) String() string
type SignTransactionResponse ¶
type SignTransactionResponse struct { Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` UnsignedInputIndexes []uint32 `protobuf:"varint,2,rep,packed,name=unsigned_input_indexes,json=unsignedInputIndexes" json:"unsigned_input_indexes,omitempty"` }
func (*SignTransactionResponse) Descriptor ¶
func (*SignTransactionResponse) Descriptor() ([]byte, []int)
func (*SignTransactionResponse) GetTransaction ¶
func (m *SignTransactionResponse) GetTransaction() []byte
func (*SignTransactionResponse) GetUnsignedInputIndexes ¶
func (m *SignTransactionResponse) GetUnsignedInputIndexes() []uint32
func (*SignTransactionResponse) ProtoMessage ¶
func (*SignTransactionResponse) ProtoMessage()
func (*SignTransactionResponse) Reset ¶
func (m *SignTransactionResponse) Reset()
func (*SignTransactionResponse) String ¶
func (m *SignTransactionResponse) String() string
type SpentnessNotificationsRequest ¶
type SpentnessNotificationsRequest struct { Account uint32 `protobuf:"varint,1,opt,name=account" json:"account,omitempty"` NoNotifyUnspent bool `protobuf:"varint,2,opt,name=no_notify_unspent,json=noNotifyUnspent" json:"no_notify_unspent,omitempty"` NoNotifySpent bool `protobuf:"varint,3,opt,name=no_notify_spent,json=noNotifySpent" json:"no_notify_spent,omitempty"` }
func (*SpentnessNotificationsRequest) Descriptor ¶
func (*SpentnessNotificationsRequest) Descriptor() ([]byte, []int)
func (*SpentnessNotificationsRequest) GetAccount ¶
func (m *SpentnessNotificationsRequest) GetAccount() uint32
func (*SpentnessNotificationsRequest) GetNoNotifySpent ¶
func (m *SpentnessNotificationsRequest) GetNoNotifySpent() bool
func (*SpentnessNotificationsRequest) GetNoNotifyUnspent ¶
func (m *SpentnessNotificationsRequest) GetNoNotifyUnspent() bool
func (*SpentnessNotificationsRequest) ProtoMessage ¶
func (*SpentnessNotificationsRequest) ProtoMessage()
func (*SpentnessNotificationsRequest) Reset ¶
func (m *SpentnessNotificationsRequest) Reset()
func (*SpentnessNotificationsRequest) String ¶
func (m *SpentnessNotificationsRequest) String() 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" json:"output_index,omitempty"` Spender *SpentnessNotificationsResponse_Spender `protobuf:"bytes,3,opt,name=spender" json:"spender,omitempty"` }
func (*SpentnessNotificationsResponse) Descriptor ¶
func (*SpentnessNotificationsResponse) Descriptor() ([]byte, []int)
func (*SpentnessNotificationsResponse) GetOutputIndex ¶
func (m *SpentnessNotificationsResponse) GetOutputIndex() uint32
func (*SpentnessNotificationsResponse) GetSpender ¶
func (m *SpentnessNotificationsResponse) GetSpender() *SpentnessNotificationsResponse_Spender
func (*SpentnessNotificationsResponse) GetTransactionHash ¶
func (m *SpentnessNotificationsResponse) GetTransactionHash() []byte
func (*SpentnessNotificationsResponse) ProtoMessage ¶
func (*SpentnessNotificationsResponse) ProtoMessage()
func (*SpentnessNotificationsResponse) Reset ¶
func (m *SpentnessNotificationsResponse) Reset()
func (*SpentnessNotificationsResponse) String ¶
func (m *SpentnessNotificationsResponse) String() 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" json:"input_index,omitempty"` }
func (*SpentnessNotificationsResponse_Spender) Descriptor ¶
func (*SpentnessNotificationsResponse_Spender) Descriptor() ([]byte, []int)
func (*SpentnessNotificationsResponse_Spender) GetInputIndex ¶
func (m *SpentnessNotificationsResponse_Spender) GetInputIndex() uint32
func (*SpentnessNotificationsResponse_Spender) GetTransactionHash ¶
func (m *SpentnessNotificationsResponse_Spender) GetTransactionHash() []byte
func (*SpentnessNotificationsResponse_Spender) ProtoMessage ¶
func (*SpentnessNotificationsResponse_Spender) ProtoMessage()
func (*SpentnessNotificationsResponse_Spender) Reset ¶
func (m *SpentnessNotificationsResponse_Spender) Reset()
func (*SpentnessNotificationsResponse_Spender) String ¶
func (m *SpentnessNotificationsResponse_Spender) String() string
type StartConsensusRPCRequest ¶
type StartConsensusRPCRequest struct { NetworkAddress string `protobuf:"bytes,1,opt,name=network_address,json=networkAddress" json:"network_address,omitempty"` Username string `protobuf:"bytes,2,opt,name=username" 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"` }
func (*StartConsensusRPCRequest) Descriptor ¶
func (*StartConsensusRPCRequest) Descriptor() ([]byte, []int)
func (*StartConsensusRPCRequest) GetCertificate ¶
func (m *StartConsensusRPCRequest) GetCertificate() []byte
func (*StartConsensusRPCRequest) GetNetworkAddress ¶
func (m *StartConsensusRPCRequest) GetNetworkAddress() string
func (*StartConsensusRPCRequest) GetPassword ¶
func (m *StartConsensusRPCRequest) GetPassword() []byte
func (*StartConsensusRPCRequest) GetUsername ¶
func (m *StartConsensusRPCRequest) GetUsername() string
func (*StartConsensusRPCRequest) ProtoMessage ¶
func (*StartConsensusRPCRequest) ProtoMessage()
func (*StartConsensusRPCRequest) Reset ¶
func (m *StartConsensusRPCRequest) Reset()
func (*StartConsensusRPCRequest) String ¶
func (m *StartConsensusRPCRequest) String() string
type StartConsensusRPCResponse ¶
type StartConsensusRPCResponse struct { }
func (*StartConsensusRPCResponse) Descriptor ¶
func (*StartConsensusRPCResponse) Descriptor() ([]byte, []int)
func (*StartConsensusRPCResponse) ProtoMessage ¶
func (*StartConsensusRPCResponse) ProtoMessage()
func (*StartConsensusRPCResponse) Reset ¶
func (m *StartConsensusRPCResponse) Reset()
func (*StartConsensusRPCResponse) String ¶
func (m *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" json:"debits,omitempty"` Credits []*TransactionDetails_Output `protobuf:"bytes,4,rep,name=credits" json:"credits,omitempty"` Fee int64 `protobuf:"varint,5,opt,name=fee" json:"fee,omitempty"` Timestamp int64 `protobuf:"varint,6,opt,name=timestamp" json:"timestamp,omitempty"` }
func (*TransactionDetails) Descriptor ¶
func (*TransactionDetails) Descriptor() ([]byte, []int)
func (*TransactionDetails) GetCredits ¶
func (m *TransactionDetails) GetCredits() []*TransactionDetails_Output
func (*TransactionDetails) GetDebits ¶
func (m *TransactionDetails) GetDebits() []*TransactionDetails_Input
func (*TransactionDetails) GetFee ¶
func (m *TransactionDetails) GetFee() int64
func (*TransactionDetails) GetHash ¶
func (m *TransactionDetails) GetHash() []byte
func (*TransactionDetails) GetTimestamp ¶
func (m *TransactionDetails) GetTimestamp() int64
func (*TransactionDetails) GetTransaction ¶
func (m *TransactionDetails) GetTransaction() []byte
func (*TransactionDetails) ProtoMessage ¶
func (*TransactionDetails) ProtoMessage()
func (*TransactionDetails) Reset ¶
func (m *TransactionDetails) Reset()
func (*TransactionDetails) String ¶
func (m *TransactionDetails) String() string
type TransactionDetails_Input ¶
type TransactionDetails_Input struct { Index uint32 `protobuf:"varint,1,opt,name=index" json:"index,omitempty"` PreviousAccount uint32 `protobuf:"varint,2,opt,name=previous_account,json=previousAccount" json:"previous_account,omitempty"` PreviousAmount int64 `protobuf:"varint,3,opt,name=previous_amount,json=previousAmount" json:"previous_amount,omitempty"` }
func (*TransactionDetails_Input) Descriptor ¶
func (*TransactionDetails_Input) Descriptor() ([]byte, []int)
func (*TransactionDetails_Input) GetIndex ¶
func (m *TransactionDetails_Input) GetIndex() uint32
func (*TransactionDetails_Input) GetPreviousAccount ¶
func (m *TransactionDetails_Input) GetPreviousAccount() uint32
func (*TransactionDetails_Input) GetPreviousAmount ¶
func (m *TransactionDetails_Input) GetPreviousAmount() int64
func (*TransactionDetails_Input) ProtoMessage ¶
func (*TransactionDetails_Input) ProtoMessage()
func (*TransactionDetails_Input) Reset ¶
func (m *TransactionDetails_Input) Reset()
func (*TransactionDetails_Input) String ¶
func (m *TransactionDetails_Input) String() string
type TransactionDetails_Output ¶
type TransactionDetails_Output struct { Index uint32 `protobuf:"varint,1,opt,name=index" json:"index,omitempty"` Account uint32 `protobuf:"varint,2,opt,name=account" json:"account,omitempty"` Internal bool `protobuf:"varint,3,opt,name=internal" json:"internal,omitempty"` }
func (*TransactionDetails_Output) Descriptor ¶
func (*TransactionDetails_Output) Descriptor() ([]byte, []int)
func (*TransactionDetails_Output) GetAccount ¶
func (m *TransactionDetails_Output) GetAccount() uint32
func (*TransactionDetails_Output) GetIndex ¶
func (m *TransactionDetails_Output) GetIndex() uint32
func (*TransactionDetails_Output) GetInternal ¶
func (m *TransactionDetails_Output) GetInternal() bool
func (*TransactionDetails_Output) ProtoMessage ¶
func (*TransactionDetails_Output) ProtoMessage()
func (*TransactionDetails_Output) Reset ¶
func (m *TransactionDetails_Output) Reset()
func (*TransactionDetails_Output) String ¶
func (m *TransactionDetails_Output) String() string
type TransactionNotificationsRequest ¶
type TransactionNotificationsRequest struct { }
func (*TransactionNotificationsRequest) Descriptor ¶
func (*TransactionNotificationsRequest) Descriptor() ([]byte, []int)
func (*TransactionNotificationsRequest) ProtoMessage ¶
func (*TransactionNotificationsRequest) ProtoMessage()
func (*TransactionNotificationsRequest) Reset ¶
func (m *TransactionNotificationsRequest) Reset()
func (*TransactionNotificationsRequest) String ¶
func (m *TransactionNotificationsRequest) String() string
type TransactionNotificationsResponse ¶
type TransactionNotificationsResponse struct { // 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,1,rep,name=attached_blocks,json=attachedBlocks" 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,2,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,3,rep,name=unmined_transactions,json=unminedTransactions" 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 */ }
func (*TransactionNotificationsResponse) Descriptor ¶
func (*TransactionNotificationsResponse) Descriptor() ([]byte, []int)
func (*TransactionNotificationsResponse) GetAttachedBlocks ¶
func (m *TransactionNotificationsResponse) GetAttachedBlocks() []*BlockDetails
func (*TransactionNotificationsResponse) GetDetachedBlocks ¶
func (m *TransactionNotificationsResponse) GetDetachedBlocks() [][]byte
func (*TransactionNotificationsResponse) GetUnminedTransactionHashes ¶
func (m *TransactionNotificationsResponse) GetUnminedTransactionHashes() [][]byte
func (*TransactionNotificationsResponse) GetUnminedTransactions ¶
func (m *TransactionNotificationsResponse) GetUnminedTransactions() []*TransactionDetails
func (*TransactionNotificationsResponse) ProtoMessage ¶
func (*TransactionNotificationsResponse) ProtoMessage()
func (*TransactionNotificationsResponse) Reset ¶
func (m *TransactionNotificationsResponse) Reset()
func (*TransactionNotificationsResponse) String ¶
func (m *TransactionNotificationsResponse) String() string
type VersionRequest ¶
type VersionRequest struct { }
func (*VersionRequest) Descriptor ¶
func (*VersionRequest) Descriptor() ([]byte, []int)
func (*VersionRequest) ProtoMessage ¶
func (*VersionRequest) ProtoMessage()
func (*VersionRequest) Reset ¶
func (m *VersionRequest) Reset()
func (*VersionRequest) String ¶
func (m *VersionRequest) String() string
type VersionResponse ¶
type VersionResponse struct { VersionString string `protobuf:"bytes,1,opt,name=version_string,json=versionString" json:"version_string,omitempty"` Major uint32 `protobuf:"varint,2,opt,name=major" json:"major,omitempty"` Minor uint32 `protobuf:"varint,3,opt,name=minor" json:"minor,omitempty"` Patch uint32 `protobuf:"varint,4,opt,name=patch" json:"patch,omitempty"` Prerelease string `protobuf:"bytes,5,opt,name=prerelease" json:"prerelease,omitempty"` BuildMetadata string `protobuf:"bytes,6,opt,name=build_metadata,json=buildMetadata" json:"build_metadata,omitempty"` }
func (*VersionResponse) Descriptor ¶
func (*VersionResponse) Descriptor() ([]byte, []int)
func (*VersionResponse) GetBuildMetadata ¶
func (m *VersionResponse) GetBuildMetadata() string
func (*VersionResponse) GetMajor ¶
func (m *VersionResponse) GetMajor() uint32
func (*VersionResponse) GetMinor ¶
func (m *VersionResponse) GetMinor() uint32
func (*VersionResponse) GetPatch ¶
func (m *VersionResponse) GetPatch() uint32
func (*VersionResponse) GetPrerelease ¶
func (m *VersionResponse) GetPrerelease() string
func (*VersionResponse) GetVersionString ¶
func (m *VersionResponse) GetVersionString() string
func (*VersionResponse) ProtoMessage ¶
func (*VersionResponse) ProtoMessage()
func (*VersionResponse) Reset ¶
func (m *VersionResponse) Reset()
func (*VersionResponse) String ¶
func (m *VersionResponse) String() string
type VersionServiceClient ¶
type VersionServiceClient interface {
Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error)
}
func NewVersionServiceClient ¶
func NewVersionServiceClient( cc *grpc.ClientConn) VersionServiceClient
type VersionServiceServer ¶
type VersionServiceServer interface {
Version(context.Context, *VersionRequest) (*VersionResponse, error)
}
type WalletExistsRequest ¶
type WalletExistsRequest struct { }
func (*WalletExistsRequest) Descriptor ¶
func (*WalletExistsRequest) Descriptor() ([]byte, []int)
func (*WalletExistsRequest) ProtoMessage ¶
func (*WalletExistsRequest) ProtoMessage()
func (*WalletExistsRequest) Reset ¶
func (m *WalletExistsRequest) Reset()
func (*WalletExistsRequest) String ¶
func (m *WalletExistsRequest) String() string
type WalletExistsResponse ¶
type WalletExistsResponse struct {
Exists bool `protobuf:"varint,1,opt,name=exists" json:"exists,omitempty"`
}
func (*WalletExistsResponse) Descriptor ¶
func (*WalletExistsResponse) Descriptor() ([]byte, []int)
func (*WalletExistsResponse) GetExists ¶
func (m *WalletExistsResponse) GetExists() bool
func (*WalletExistsResponse) ProtoMessage ¶
func (*WalletExistsResponse) ProtoMessage()
func (*WalletExistsResponse) Reset ¶
func (m *WalletExistsResponse) Reset()
func (*WalletExistsResponse) String ¶
func (m *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) }
func NewWalletLoaderServiceClient ¶
func NewWalletLoaderServiceClient( cc *grpc.ClientConn) WalletLoaderServiceClient
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) }
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) }
func NewWalletServiceClient ¶
func NewWalletServiceClient( cc *grpc.ClientConn) WalletServiceClient
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) }
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 }
Click to show internal directories.
Click to hide internal directories.