walletrpc

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2016 License: ISC Imports: 5 Imported by: 0

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
RescanRequest
RescanResponse
NextAccountRequest
NextAccountResponse
NextAddressRequest
NextAddressResponse
ImportPrivateKeyRequest
ImportPrivateKeyResponse
ImportScriptRequest
ImportScriptResponse
BalanceRequest
BalanceResponse
GetTransactionsRequest
GetTransactionsResponse
TicketPriceRequest
TicketPriceResponse
StakeInfoRequest
StakeInfoResponse
ChangePassphraseRequest
ChangePassphraseResponse
FundTransactionRequest
FundTransactionResponse
ConstructTransactionRequest
ConstructTransactionResponse
SignTransactionRequest
SignTransactionResponse
PublishTransactionRequest
PublishTransactionResponse
PurchaseTicketsRequest
PurchaseTicketsResponse
LoadActiveDataFiltersRequest
LoadActiveDataFiltersResponse
TransactionNotificationsRequest
TransactionNotificationsResponse
SpentnessNotificationsRequest
SpentnessNotificationsResponse
AccountNotificationsRequest
AccountNotificationsResponse
CreateWalletRequest
CreateWalletResponse
OpenWalletRequest
OpenWalletResponse
CloseWalletRequest
CloseWalletResponse
WalletExistsRequest
WalletExistsResponse
StartConsensusRpcRequest
StartConsensusRpcResponse
DiscoverAddressesRequest
DiscoverAddressesResponse
SubscribeToBlockNotificationsRequest
SubscribeToBlockNotificationsResponse
FetchHeadersRequest
FetchHeadersResponse
GenerateRandomSeedRequest
GenerateRandomSeedResponse
DecodeSeedRequest
DecodeSeedResponse

Index

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 ConstructTransactionRequest_OutputSelectionAlgorithm_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "ALL",
}
View Source
var ConstructTransactionRequest_OutputSelectionAlgorithm_value = map[string]int32{
	"UNSPECIFIED": 0,
	"ALL":         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 RegisterSeedServiceServer added in v0.7.0

func RegisterSeedServiceServer(s *grpc.Server, srv SeedServiceServer)

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

func (*AccountNotificationsResponse) ProtoMessage()

func (*AccountNotificationsResponse) Reset

func (m *AccountNotificationsResponse) Reset()

func (*AccountNotificationsResponse) 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) 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) 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) 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) 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) 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) 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) 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) 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

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 ConstructTransactionRequest added in v0.7.0

type ConstructTransactionRequest struct {
	SourceAccount            uint32                                               `protobuf:"varint,1,opt,name=source_account,json=sourceAccount" json:"source_account,omitempty"`
	RequiredConfirmations    int32                                                `protobuf:"varint,2,opt,name=required_confirmations,json=requiredConfirmations" json:"required_confirmations,omitempty"`
	FeePerKb                 int32                                                `protobuf:"varint,3,opt,name=fee_per_kb,json=feePerKb" json:"fee_per_kb,omitempty"`
	OutputSelectionAlgorithm ConstructTransactionRequest_OutputSelectionAlgorithm `` /* 197-byte string literal not displayed */
	NonChangeOutputs         []*ConstructTransactionRequest_Output                `protobuf:"bytes,5,rep,name=non_change_outputs,json=nonChangeOutputs" json:"non_change_outputs,omitempty"`
	ChangeDestination        *ConstructTransactionRequest_OutputDestination       `protobuf:"bytes,6,opt,name=change_destination,json=changeDestination" json:"change_destination,omitempty"`
}

func (*ConstructTransactionRequest) Descriptor added in v0.7.0

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

func (*ConstructTransactionRequest) GetChangeDestination added in v0.7.0

func (*ConstructTransactionRequest) GetNonChangeOutputs added in v0.7.0

func (*ConstructTransactionRequest) ProtoMessage added in v0.7.0

func (*ConstructTransactionRequest) ProtoMessage()

func (*ConstructTransactionRequest) Reset added in v0.7.0

func (m *ConstructTransactionRequest) Reset()

func (*ConstructTransactionRequest) String added in v0.7.0

func (m *ConstructTransactionRequest) String() string

type ConstructTransactionRequest_Output added in v0.7.0

type ConstructTransactionRequest_Output struct {
	Destination *ConstructTransactionRequest_OutputDestination `protobuf:"bytes,1,opt,name=destination" json:"destination,omitempty"`
	Amount      int64                                          `protobuf:"varint,2,opt,name=amount" json:"amount,omitempty"`
}

func (*ConstructTransactionRequest_Output) Descriptor added in v0.7.0

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

func (*ConstructTransactionRequest_Output) GetDestination added in v0.7.0

func (*ConstructTransactionRequest_Output) ProtoMessage added in v0.7.0

func (*ConstructTransactionRequest_Output) ProtoMessage()

func (*ConstructTransactionRequest_Output) Reset added in v0.7.0

func (*ConstructTransactionRequest_Output) String added in v0.7.0

type ConstructTransactionRequest_OutputDestination added in v0.7.0

type ConstructTransactionRequest_OutputDestination struct {
	Address       string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	Script        []byte `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"`
	ScriptVersion uint32 `protobuf:"varint,3,opt,name=script_version,json=scriptVersion" json:"script_version,omitempty"`
}

func (*ConstructTransactionRequest_OutputDestination) Descriptor added in v0.7.0

func (*ConstructTransactionRequest_OutputDestination) ProtoMessage added in v0.7.0

func (*ConstructTransactionRequest_OutputDestination) Reset added in v0.7.0

func (*ConstructTransactionRequest_OutputDestination) String added in v0.7.0

type ConstructTransactionRequest_OutputSelectionAlgorithm added in v0.7.0

type ConstructTransactionRequest_OutputSelectionAlgorithm int32
const (
	ConstructTransactionRequest_UNSPECIFIED ConstructTransactionRequest_OutputSelectionAlgorithm = 0
	ConstructTransactionRequest_ALL         ConstructTransactionRequest_OutputSelectionAlgorithm = 1
)

func (ConstructTransactionRequest_OutputSelectionAlgorithm) EnumDescriptor added in v0.7.0

func (ConstructTransactionRequest_OutputSelectionAlgorithm) String added in v0.7.0

type ConstructTransactionResponse added in v0.7.0

type ConstructTransactionResponse struct {
	UnsignedTransaction       []byte `protobuf:"bytes,1,opt,name=unsigned_transaction,json=unsignedTransaction,proto3" json:"unsigned_transaction,omitempty"`
	TotalPreviousOutputAmount int64  `` /* 134-byte string literal not displayed */
	TotalOutputAmount         int64  `protobuf:"varint,3,opt,name=total_output_amount,json=totalOutputAmount" json:"total_output_amount,omitempty"`
	EstimatedSignedSize       uint32 `protobuf:"varint,4,opt,name=estimated_signed_size,json=estimatedSignedSize" json:"estimated_signed_size,omitempty"`
}

func (*ConstructTransactionResponse) Descriptor added in v0.7.0

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

func (*ConstructTransactionResponse) ProtoMessage added in v0.7.0

func (*ConstructTransactionResponse) ProtoMessage()

func (*ConstructTransactionResponse) Reset added in v0.7.0

func (m *ConstructTransactionResponse) Reset()

func (*ConstructTransactionResponse) String added in v0.7.0

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) 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 DecodeSeedRequest added in v0.7.0

type DecodeSeedRequest struct {
	UserInput string `protobuf:"bytes,1,opt,name=user_input,json=userInput" json:"user_input,omitempty"`
}

func (*DecodeSeedRequest) Descriptor added in v0.7.0

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

func (*DecodeSeedRequest) ProtoMessage added in v0.7.0

func (*DecodeSeedRequest) ProtoMessage()

func (*DecodeSeedRequest) Reset added in v0.7.0

func (m *DecodeSeedRequest) Reset()

func (*DecodeSeedRequest) String added in v0.7.0

func (m *DecodeSeedRequest) String() string

type DecodeSeedResponse added in v0.7.0

type DecodeSeedResponse struct {
	DecodedSeed []byte `protobuf:"bytes,1,opt,name=decoded_seed,json=decodedSeed,proto3" json:"decoded_seed,omitempty"`
}

func (*DecodeSeedResponse) Descriptor added in v0.7.0

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

func (*DecodeSeedResponse) ProtoMessage added in v0.7.0

func (*DecodeSeedResponse) ProtoMessage()

func (*DecodeSeedResponse) Reset added in v0.7.0

func (m *DecodeSeedResponse) Reset()

func (*DecodeSeedResponse) String added in v0.7.0

func (m *DecodeSeedResponse) String() string

type DiscoverAddressesRequest added in v0.7.0

type DiscoverAddressesRequest struct {
	DiscoverAccounts  bool   `protobuf:"varint,1,opt,name=discover_accounts,json=discoverAccounts" json:"discover_accounts,omitempty"`
	PrivatePassphrase []byte `protobuf:"bytes,2,opt,name=private_passphrase,json=privatePassphrase,proto3" json:"private_passphrase,omitempty"`
}

func (*DiscoverAddressesRequest) Descriptor added in v0.7.0

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

func (*DiscoverAddressesRequest) ProtoMessage added in v0.7.0

func (*DiscoverAddressesRequest) ProtoMessage()

func (*DiscoverAddressesRequest) Reset added in v0.7.0

func (m *DiscoverAddressesRequest) Reset()

func (*DiscoverAddressesRequest) String added in v0.7.0

func (m *DiscoverAddressesRequest) String() string

type DiscoverAddressesResponse added in v0.7.0

type DiscoverAddressesResponse struct {
}

func (*DiscoverAddressesResponse) Descriptor added in v0.7.0

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

func (*DiscoverAddressesResponse) ProtoMessage added in v0.7.0

func (*DiscoverAddressesResponse) ProtoMessage()

func (*DiscoverAddressesResponse) Reset added in v0.7.0

func (m *DiscoverAddressesResponse) Reset()

func (*DiscoverAddressesResponse) String added in v0.7.0

func (m *DiscoverAddressesResponse) String() string

type FetchHeadersRequest added in v0.7.0

type FetchHeadersRequest struct {
}

func (*FetchHeadersRequest) Descriptor added in v0.7.0

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

func (*FetchHeadersRequest) ProtoMessage added in v0.7.0

func (*FetchHeadersRequest) ProtoMessage()

func (*FetchHeadersRequest) Reset added in v0.7.0

func (m *FetchHeadersRequest) Reset()

func (*FetchHeadersRequest) String added in v0.7.0

func (m *FetchHeadersRequest) String() string

type FetchHeadersResponse added in v0.7.0

type FetchHeadersResponse struct {
	FetchedHeadersCount uint32 `protobuf:"varint,1,opt,name=fetched_headers_count,json=fetchedHeadersCount" json:"fetched_headers_count,omitempty"`
	FirstNewBlockHash   []byte `protobuf:"bytes,2,opt,name=first_new_block_hash,json=firstNewBlockHash,proto3" json:"first_new_block_hash,omitempty"`
	FirstNewBlockHeight int32  `protobuf:"varint,3,opt,name=first_new_block_height,json=firstNewBlockHeight" json:"first_new_block_height,omitempty"`
}

func (*FetchHeadersResponse) Descriptor added in v0.7.0

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

func (*FetchHeadersResponse) ProtoMessage added in v0.7.0

func (*FetchHeadersResponse) ProtoMessage()

func (*FetchHeadersResponse) Reset added in v0.7.0

func (m *FetchHeadersResponse) Reset()

func (*FetchHeadersResponse) String added in v0.7.0

func (m *FetchHeadersResponse) 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) 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) GetSelectedOutputs

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"`
	Tree            int32  `protobuf:"varint,7,opt,name=tree" json:"tree,omitempty"`
}

func (*FundTransactionResponse_PreviousOutput) Descriptor

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

func (*FundTransactionResponse_PreviousOutput) ProtoMessage

func (*FundTransactionResponse_PreviousOutput) Reset

func (*FundTransactionResponse_PreviousOutput) String

type GenerateRandomSeedRequest added in v0.7.0

type GenerateRandomSeedRequest struct {
	SeedLength uint32 `protobuf:"varint,1,opt,name=seed_length,json=seedLength" json:"seed_length,omitempty"`
}

func (*GenerateRandomSeedRequest) Descriptor added in v0.7.0

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

func (*GenerateRandomSeedRequest) ProtoMessage added in v0.7.0

func (*GenerateRandomSeedRequest) ProtoMessage()

func (*GenerateRandomSeedRequest) Reset added in v0.7.0

func (m *GenerateRandomSeedRequest) Reset()

func (*GenerateRandomSeedRequest) String added in v0.7.0

func (m *GenerateRandomSeedRequest) String() string

type GenerateRandomSeedResponse added in v0.7.0

type GenerateRandomSeedResponse struct {
	SeedBytes    []byte `protobuf:"bytes,1,opt,name=seed_bytes,json=seedBytes,proto3" json:"seed_bytes,omitempty"`
	SeedHex      string `protobuf:"bytes,2,opt,name=seed_hex,json=seedHex" json:"seed_hex,omitempty"`
	SeedMnemonic string `protobuf:"bytes,3,opt,name=seed_mnemonic,json=seedMnemonic" json:"seed_mnemonic,omitempty"`
}

func (*GenerateRandomSeedResponse) Descriptor added in v0.7.0

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

func (*GenerateRandomSeedResponse) ProtoMessage added in v0.7.0

func (*GenerateRandomSeedResponse) ProtoMessage()

func (*GenerateRandomSeedResponse) Reset added in v0.7.0

func (m *GenerateRandomSeedResponse) Reset()

func (*GenerateRandomSeedResponse) String added in v0.7.0

func (m *GenerateRandomSeedResponse) 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) 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,opt,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"`
	ScanFrom      int32  `protobuf:"varint,5,opt,name=scan_from,json=scanFrom" json:"scan_from,omitempty"`
}

func (*ImportPrivateKeyRequest) Descriptor

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

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 ImportScriptRequest added in v0.2.0

type ImportScriptRequest struct {
	Passphrase []byte `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	Script     []byte `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"`
	Rescan     bool   `protobuf:"varint,3,opt,name=rescan" json:"rescan,omitempty"`
	ScanFrom   int32  `protobuf:"varint,4,opt,name=scan_from,json=scanFrom" json:"scan_from,omitempty"`
}

func (*ImportScriptRequest) Descriptor added in v0.2.0

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

func (*ImportScriptRequest) ProtoMessage added in v0.2.0

func (*ImportScriptRequest) ProtoMessage()

func (*ImportScriptRequest) Reset added in v0.2.0

func (m *ImportScriptRequest) Reset()

func (*ImportScriptRequest) String added in v0.2.0

func (m *ImportScriptRequest) String() string

type ImportScriptResponse added in v0.2.0

type ImportScriptResponse struct {
}

func (*ImportScriptResponse) Descriptor added in v0.2.0

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

func (*ImportScriptResponse) ProtoMessage added in v0.2.0

func (*ImportScriptResponse) ProtoMessage()

func (*ImportScriptResponse) Reset added in v0.2.0

func (m *ImportScriptResponse) Reset()

func (*ImportScriptResponse) String added in v0.2.0

func (m *ImportScriptResponse) String() string

type LoadActiveDataFiltersRequest added in v0.7.0

type LoadActiveDataFiltersRequest struct {
}

func (*LoadActiveDataFiltersRequest) Descriptor added in v0.7.0

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

func (*LoadActiveDataFiltersRequest) ProtoMessage added in v0.7.0

func (*LoadActiveDataFiltersRequest) ProtoMessage()

func (*LoadActiveDataFiltersRequest) Reset added in v0.7.0

func (m *LoadActiveDataFiltersRequest) Reset()

func (*LoadActiveDataFiltersRequest) String added in v0.7.0

type LoadActiveDataFiltersResponse added in v0.7.0

type LoadActiveDataFiltersResponse struct {
}

func (*LoadActiveDataFiltersResponse) Descriptor added in v0.7.0

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

func (*LoadActiveDataFiltersResponse) ProtoMessage added in v0.7.0

func (*LoadActiveDataFiltersResponse) ProtoMessage()

func (*LoadActiveDataFiltersResponse) Reset added in v0.7.0

func (m *LoadActiveDataFiltersResponse) Reset()

func (*LoadActiveDataFiltersResponse) String added in v0.7.0

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) 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) 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) 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) 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"`
	PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey" json:"public_key,omitempty"`
}

func (*NextAddressResponse) Descriptor

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

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

func (*PublishTransactionRequest) ProtoMessage()

func (*PublishTransactionRequest) Reset

func (m *PublishTransactionRequest) Reset()

func (*PublishTransactionRequest) String

func (m *PublishTransactionRequest) String() string

type PublishTransactionResponse

type PublishTransactionResponse struct {
	TransactionHash []byte `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"`
}

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 PurchaseTicketsRequest added in v0.2.0

type PurchaseTicketsRequest struct {
	Passphrase            []byte  `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	Account               uint32  `protobuf:"varint,2,opt,name=account" json:"account,omitempty"`
	SpendLimit            int64   `protobuf:"varint,3,opt,name=spend_limit,json=spendLimit" json:"spend_limit,omitempty"`
	RequiredConfirmations uint32  `protobuf:"varint,4,opt,name=required_confirmations,json=requiredConfirmations" json:"required_confirmations,omitempty"`
	TicketAddress         string  `protobuf:"bytes,5,opt,name=ticket_address,json=ticketAddress" json:"ticket_address,omitempty"`
	NumTickets            uint32  `protobuf:"varint,6,opt,name=num_tickets,json=numTickets" json:"num_tickets,omitempty"`
	PoolAddress           string  `protobuf:"bytes,7,opt,name=pool_address,json=poolAddress" json:"pool_address,omitempty"`
	PoolFees              float64 `protobuf:"fixed64,8,opt,name=pool_fees,json=poolFees" json:"pool_fees,omitempty"`
	Expiry                uint32  `protobuf:"varint,9,opt,name=expiry" json:"expiry,omitempty"`
	TxFee                 int64   `protobuf:"varint,10,opt,name=tx_fee,json=txFee" json:"tx_fee,omitempty"`
	TicketFee             int64   `protobuf:"varint,11,opt,name=ticket_fee,json=ticketFee" json:"ticket_fee,omitempty"`
}

func (*PurchaseTicketsRequest) Descriptor added in v0.2.0

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

func (*PurchaseTicketsRequest) ProtoMessage added in v0.2.0

func (*PurchaseTicketsRequest) ProtoMessage()

func (*PurchaseTicketsRequest) Reset added in v0.2.0

func (m *PurchaseTicketsRequest) Reset()

func (*PurchaseTicketsRequest) String added in v0.2.0

func (m *PurchaseTicketsRequest) String() string

type PurchaseTicketsResponse added in v0.2.0

type PurchaseTicketsResponse struct {
	TicketHashes [][]byte `protobuf:"bytes,1,rep,name=ticket_hashes,json=ticketHashes,proto3" json:"ticket_hashes,omitempty"`
}

func (*PurchaseTicketsResponse) Descriptor added in v0.2.0

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

func (*PurchaseTicketsResponse) ProtoMessage added in v0.2.0

func (*PurchaseTicketsResponse) ProtoMessage()

func (*PurchaseTicketsResponse) Reset added in v0.2.0

func (m *PurchaseTicketsResponse) Reset()

func (*PurchaseTicketsResponse) String added in v0.2.0

func (m *PurchaseTicketsResponse) 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) 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 RescanRequest added in v0.7.0

type RescanRequest struct {
	BeginHeight int32 `protobuf:"varint,1,opt,name=begin_height,json=beginHeight" json:"begin_height,omitempty"`
}

func (*RescanRequest) Descriptor added in v0.7.0

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

func (*RescanRequest) ProtoMessage added in v0.7.0

func (*RescanRequest) ProtoMessage()

func (*RescanRequest) Reset added in v0.7.0

func (m *RescanRequest) Reset()

func (*RescanRequest) String added in v0.7.0

func (m *RescanRequest) String() string

type RescanResponse added in v0.7.0

type RescanResponse struct {
	RescannedThrough int32 `protobuf:"varint,1,opt,name=rescanned_through,json=rescannedThrough" json:"rescanned_through,omitempty"`
}

func (*RescanResponse) Descriptor added in v0.7.0

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

func (*RescanResponse) ProtoMessage added in v0.7.0

func (*RescanResponse) ProtoMessage()

func (*RescanResponse) Reset added in v0.7.0

func (m *RescanResponse) Reset()

func (*RescanResponse) String added in v0.7.0

func (m *RescanResponse) String() string

type SeedServiceClient added in v0.7.0

type SeedServiceClient interface {
	GenerateRandomSeed(ctx context.Context, in *GenerateRandomSeedRequest, opts ...grpc.CallOption) (*GenerateRandomSeedResponse, error)
	DecodeSeed(ctx context.Context, in *DecodeSeedRequest, opts ...grpc.CallOption) (*DecodeSeedResponse, error)
}

func NewSeedServiceClient added in v0.7.0

func NewSeedServiceClient(cc *grpc.ClientConn) SeedServiceClient

type SeedServiceServer added in v0.7.0

type SeedServiceServer interface {
	GenerateRandomSeed(context.Context, *GenerateRandomSeedRequest) (*GenerateRandomSeedResponse, error)
	DecodeSeed(context.Context, *DecodeSeedRequest) (*DecodeSeedResponse, error)
}

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

func (*SpentnessNotificationsRequest) ProtoMessage()

func (*SpentnessNotificationsRequest) Reset

func (m *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" 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) GetSpender

func (*SpentnessNotificationsResponse) ProtoMessage

func (*SpentnessNotificationsResponse) ProtoMessage()

func (*SpentnessNotificationsResponse) Reset

func (m *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" json:"input_index,omitempty"`
}

func (*SpentnessNotificationsResponse_Spender) Descriptor

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

func (*SpentnessNotificationsResponse_Spender) ProtoMessage

func (*SpentnessNotificationsResponse_Spender) Reset

func (*SpentnessNotificationsResponse_Spender) String

type StakeInfoRequest added in v0.2.0

type StakeInfoRequest struct {
}

func (*StakeInfoRequest) Descriptor added in v0.2.0

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

func (*StakeInfoRequest) ProtoMessage added in v0.2.0

func (*StakeInfoRequest) ProtoMessage()

func (*StakeInfoRequest) Reset added in v0.2.0

func (m *StakeInfoRequest) Reset()

func (*StakeInfoRequest) String added in v0.2.0

func (m *StakeInfoRequest) String() string

type StakeInfoResponse added in v0.2.0

type StakeInfoResponse struct {
	PoolSize      uint32 `protobuf:"varint,1,opt,name=pool_size,json=poolSize" json:"pool_size,omitempty"`
	AllMempoolTix uint32 `protobuf:"varint,2,opt,name=all_mempool_tix,json=allMempoolTix" json:"all_mempool_tix,omitempty"`
	OwnMempoolTix uint32 `protobuf:"varint,3,opt,name=own_mempool_tix,json=ownMempoolTix" json:"own_mempool_tix,omitempty"`
	Immature      uint32 `protobuf:"varint,4,opt,name=immature" json:"immature,omitempty"`
	Live          uint32 `protobuf:"varint,5,opt,name=live" json:"live,omitempty"`
	Voted         uint32 `protobuf:"varint,6,opt,name=voted" json:"voted,omitempty"`
	Missed        uint32 `protobuf:"varint,7,opt,name=missed" json:"missed,omitempty"`
	Revoked       uint32 `protobuf:"varint,8,opt,name=revoked" json:"revoked,omitempty"`
	Expired       uint32 `protobuf:"varint,9,opt,name=expired" json:"expired,omitempty"`
	TotalSubsidy  int64  `protobuf:"varint,10,opt,name=total_subsidy,json=totalSubsidy" json:"total_subsidy,omitempty"`
}

func (*StakeInfoResponse) Descriptor added in v0.2.0

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

func (*StakeInfoResponse) ProtoMessage added in v0.2.0

func (*StakeInfoResponse) ProtoMessage()

func (*StakeInfoResponse) Reset added in v0.2.0

func (m *StakeInfoResponse) Reset()

func (*StakeInfoResponse) String added in v0.2.0

func (m *StakeInfoResponse) 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) 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 SubscribeToBlockNotificationsRequest added in v0.7.0

type SubscribeToBlockNotificationsRequest struct {
}

func (*SubscribeToBlockNotificationsRequest) Descriptor added in v0.7.0

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

func (*SubscribeToBlockNotificationsRequest) ProtoMessage added in v0.7.0

func (*SubscribeToBlockNotificationsRequest) ProtoMessage()

func (*SubscribeToBlockNotificationsRequest) Reset added in v0.7.0

func (*SubscribeToBlockNotificationsRequest) String added in v0.7.0

type SubscribeToBlockNotificationsResponse added in v0.7.0

type SubscribeToBlockNotificationsResponse struct {
}

func (*SubscribeToBlockNotificationsResponse) Descriptor added in v0.7.0

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

func (*SubscribeToBlockNotificationsResponse) ProtoMessage added in v0.7.0

func (*SubscribeToBlockNotificationsResponse) ProtoMessage()

func (*SubscribeToBlockNotificationsResponse) Reset added in v0.7.0

func (*SubscribeToBlockNotificationsResponse) String added in v0.7.0

type TicketPriceRequest added in v0.2.0

type TicketPriceRequest struct {
}

func (*TicketPriceRequest) Descriptor added in v0.2.0

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

func (*TicketPriceRequest) ProtoMessage added in v0.2.0

func (*TicketPriceRequest) ProtoMessage()

func (*TicketPriceRequest) Reset added in v0.2.0

func (m *TicketPriceRequest) Reset()

func (*TicketPriceRequest) String added in v0.2.0

func (m *TicketPriceRequest) String() string

type TicketPriceResponse added in v0.2.0

type TicketPriceResponse struct {
	TicketPrice int64 `protobuf:"varint,1,opt,name=ticket_price,json=ticketPrice" json:"ticket_price,omitempty"`
	Height      int32 `protobuf:"varint,2,opt,name=height" json:"height,omitempty"`
}

func (*TicketPriceResponse) Descriptor added in v0.2.0

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

func (*TicketPriceResponse) ProtoMessage added in v0.2.0

func (*TicketPriceResponse) ProtoMessage()

func (*TicketPriceResponse) Reset added in v0.2.0

func (m *TicketPriceResponse) Reset()

func (*TicketPriceResponse) String added in v0.2.0

func (m *TicketPriceResponse) 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 added in v0.1.3

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

func (*TransactionDetails) GetDebits

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

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) 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) 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 (*TransactionNotificationsRequest) 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) GetUnminedTransactions

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

func (*TransactionNotificationsResponse) ProtoMessage

func (*TransactionNotificationsResponse) ProtoMessage()

func (*TransactionNotificationsResponse) Reset

func (*TransactionNotificationsResponse) 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) 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) ProtoMessage

func (*WalletExistsResponse) ProtoMessage()

func (*WalletExistsResponse) Reset

func (m *WalletExistsResponse) Reset()

func (*WalletExistsResponse) String

func (m *WalletExistsResponse) String() string

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) (WalletService_GetTransactionsClient, error)
	TicketPrice(ctx context.Context, in *TicketPriceRequest, opts ...grpc.CallOption) (*TicketPriceResponse, error)
	StakeInfo(ctx context.Context, in *StakeInfoRequest, opts ...grpc.CallOption) (*StakeInfoResponse, 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)
	Rescan(ctx context.Context, in *RescanRequest, opts ...grpc.CallOption) (WalletService_RescanClient, 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)
	ImportScript(ctx context.Context, in *ImportScriptRequest, opts ...grpc.CallOption) (*ImportScriptResponse, error)
	FundTransaction(ctx context.Context, in *FundTransactionRequest, opts ...grpc.CallOption) (*FundTransactionResponse, error)
	ConstructTransaction(ctx context.Context, in *ConstructTransactionRequest, opts ...grpc.CallOption) (*ConstructTransactionResponse, error)
	SignTransaction(ctx context.Context, in *SignTransactionRequest, opts ...grpc.CallOption) (*SignTransactionResponse, error)
	PublishTransaction(ctx context.Context, in *PublishTransactionRequest, opts ...grpc.CallOption) (*PublishTransactionResponse, error)
	PurchaseTickets(ctx context.Context, in *PurchaseTicketsRequest, opts ...grpc.CallOption) (*PurchaseTicketsResponse, error)
	LoadActiveDataFilters(ctx context.Context, in *LoadActiveDataFiltersRequest, opts ...grpc.CallOption) (*LoadActiveDataFiltersResponse, 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(*GetTransactionsRequest, WalletService_GetTransactionsServer) error
	TicketPrice(context.Context, *TicketPriceRequest) (*TicketPriceResponse, error)
	StakeInfo(context.Context, *StakeInfoRequest) (*StakeInfoResponse, 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)
	Rescan(*RescanRequest, WalletService_RescanServer) error
	NextAccount(context.Context, *NextAccountRequest) (*NextAccountResponse, error)
	NextAddress(context.Context, *NextAddressRequest) (*NextAddressResponse, error)
	ImportPrivateKey(context.Context, *ImportPrivateKeyRequest) (*ImportPrivateKeyResponse, error)
	ImportScript(context.Context, *ImportScriptRequest) (*ImportScriptResponse, error)
	FundTransaction(context.Context, *FundTransactionRequest) (*FundTransactionResponse, error)
	ConstructTransaction(context.Context, *ConstructTransactionRequest) (*ConstructTransactionResponse, error)
	SignTransaction(context.Context, *SignTransactionRequest) (*SignTransactionResponse, error)
	PublishTransaction(context.Context, *PublishTransactionRequest) (*PublishTransactionResponse, error)
	PurchaseTickets(context.Context, *PurchaseTicketsRequest) (*PurchaseTicketsResponse, error)
	LoadActiveDataFilters(context.Context, *LoadActiveDataFiltersRequest) (*LoadActiveDataFiltersResponse, 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_GetTransactionsClient added in v0.7.0

type WalletService_GetTransactionsClient interface {
	Recv() (*GetTransactionsResponse, error)
	grpc.ClientStream
}

type WalletService_GetTransactionsServer added in v0.7.0

type WalletService_GetTransactionsServer interface {
	Send(*GetTransactionsResponse) error
	grpc.ServerStream
}

type WalletService_RescanClient added in v0.7.0

type WalletService_RescanClient interface {
	Recv() (*RescanResponse, error)
	grpc.ClientStream
}

type WalletService_RescanServer added in v0.7.0

type WalletService_RescanServer interface {
	Send(*RescanResponse) 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