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 StartAutoBuyerRequest StartAutoBuyerResponse StopAutoBuyerRequest StopAutoBuyerResponse TicketBuyerConfigRequest TicketBuyerConfigResponse SetAccountRequest SetAccountResponse SetBalanceToMaintainRequest SetBalanceToMaintainResponse SetMaxFeeRequest SetMaxFeeResponse SetMaxPriceRelativeRequest SetMaxPriceRelativeResponse SetMaxPriceAbsoluteRequest SetMaxPriceAbsoluteResponse SetVotingAddressRequest SetVotingAddressResponse SetPoolAddressRequest SetPoolAddressResponse SetPoolFeesRequest SetPoolFeesResponse SetMaxPerBlockRequest SetMaxPerBlockResponse AgendasRequest AgendasResponse VoteChoicesRequest VoteChoicesResponse SetVoteChoicesRequest SetVoteChoicesResponse
Index ¶
- Variables
- func RegisterAgendaServiceServer(s *grpc.Server, srv AgendaServiceServer)
- func RegisterSeedServiceServer(s *grpc.Server, srv SeedServiceServer)
- func RegisterTicketBuyerServiceServer(s *grpc.Server, srv TicketBuyerServiceServer)
- func RegisterVersionServiceServer(s *grpc.Server, srv VersionServiceServer)
- func RegisterVotingServiceServer(s *grpc.Server, srv VotingServiceServer)
- 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 AgendaServiceClient
- type AgendaServiceServer
- type AgendasRequest
- type AgendasResponse
- type AgendasResponse_Agenda
- func (*AgendasResponse_Agenda) Descriptor() ([]byte, []int)
- func (m *AgendasResponse_Agenda) GetChoices() []*AgendasResponse_Choice
- func (m *AgendasResponse_Agenda) GetDescription() string
- func (m *AgendasResponse_Agenda) GetExpireTime() int64
- func (m *AgendasResponse_Agenda) GetId() string
- func (m *AgendasResponse_Agenda) GetMask() uint32
- func (m *AgendasResponse_Agenda) GetStartTime() int64
- func (*AgendasResponse_Agenda) ProtoMessage()
- func (m *AgendasResponse_Agenda) Reset()
- func (m *AgendasResponse_Agenda) String() string
- type AgendasResponse_Choice
- func (*AgendasResponse_Choice) Descriptor() ([]byte, []int)
- func (m *AgendasResponse_Choice) GetBits() uint32
- func (m *AgendasResponse_Choice) GetDescription() string
- func (m *AgendasResponse_Choice) GetId() string
- func (m *AgendasResponse_Choice) GetIsAbstain() bool
- func (m *AgendasResponse_Choice) GetIsNo() bool
- func (*AgendasResponse_Choice) ProtoMessage()
- func (m *AgendasResponse_Choice) Reset()
- func (m *AgendasResponse_Choice) 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 ConstructTransactionRequest
- func (*ConstructTransactionRequest) Descriptor() ([]byte, []int)
- func (m *ConstructTransactionRequest) GetChangeDestination() *ConstructTransactionRequest_OutputDestination
- func (m *ConstructTransactionRequest) GetFeePerKb() int32
- func (m *ConstructTransactionRequest) GetNonChangeOutputs() []*ConstructTransactionRequest_Output
- func (m *ConstructTransactionRequest) GetOutputSelectionAlgorithm() ConstructTransactionRequest_OutputSelectionAlgorithm
- func (m *ConstructTransactionRequest) GetRequiredConfirmations() int32
- func (m *ConstructTransactionRequest) GetSourceAccount() uint32
- func (*ConstructTransactionRequest) ProtoMessage()
- func (m *ConstructTransactionRequest) Reset()
- func (m *ConstructTransactionRequest) String() string
- type ConstructTransactionRequest_Output
- func (*ConstructTransactionRequest_Output) Descriptor() ([]byte, []int)
- func (m *ConstructTransactionRequest_Output) GetAmount() int64
- func (m *ConstructTransactionRequest_Output) GetDestination() *ConstructTransactionRequest_OutputDestination
- func (*ConstructTransactionRequest_Output) ProtoMessage()
- func (m *ConstructTransactionRequest_Output) Reset()
- func (m *ConstructTransactionRequest_Output) String() string
- type ConstructTransactionRequest_OutputDestination
- func (*ConstructTransactionRequest_OutputDestination) Descriptor() ([]byte, []int)
- func (m *ConstructTransactionRequest_OutputDestination) GetAddress() string
- func (m *ConstructTransactionRequest_OutputDestination) GetScript() []byte
- func (m *ConstructTransactionRequest_OutputDestination) GetScriptVersion() uint32
- func (*ConstructTransactionRequest_OutputDestination) ProtoMessage()
- func (m *ConstructTransactionRequest_OutputDestination) Reset()
- func (m *ConstructTransactionRequest_OutputDestination) String() string
- type ConstructTransactionRequest_OutputSelectionAlgorithm
- type ConstructTransactionResponse
- func (*ConstructTransactionResponse) Descriptor() ([]byte, []int)
- func (m *ConstructTransactionResponse) GetEstimatedSignedSize() uint32
- func (m *ConstructTransactionResponse) GetTotalOutputAmount() int64
- func (m *ConstructTransactionResponse) GetTotalPreviousOutputAmount() int64
- func (m *ConstructTransactionResponse) GetUnsignedTransaction() []byte
- func (*ConstructTransactionResponse) ProtoMessage()
- func (m *ConstructTransactionResponse) Reset()
- func (m *ConstructTransactionResponse) String() string
- 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 DecodeSeedRequest
- type DecodeSeedResponse
- type DiscoverAddressesRequest
- func (*DiscoverAddressesRequest) Descriptor() ([]byte, []int)
- func (m *DiscoverAddressesRequest) GetDiscoverAccounts() bool
- func (m *DiscoverAddressesRequest) GetPrivatePassphrase() []byte
- func (*DiscoverAddressesRequest) ProtoMessage()
- func (m *DiscoverAddressesRequest) Reset()
- func (m *DiscoverAddressesRequest) String() string
- type DiscoverAddressesResponse
- type FetchHeadersRequest
- type FetchHeadersResponse
- func (*FetchHeadersResponse) Descriptor() ([]byte, []int)
- func (m *FetchHeadersResponse) GetFetchedHeadersCount() uint32
- func (m *FetchHeadersResponse) GetFirstNewBlockHash() []byte
- func (m *FetchHeadersResponse) GetFirstNewBlockHeight() int32
- func (m *FetchHeadersResponse) GetMainChainTipBlockHash() []byte
- func (m *FetchHeadersResponse) GetMainChainTipBlockHeight() int32
- func (*FetchHeadersResponse) ProtoMessage()
- func (m *FetchHeadersResponse) Reset()
- func (m *FetchHeadersResponse) String() string
- 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 (m *FundTransactionResponse_PreviousOutput) GetTree() int32
- func (*FundTransactionResponse_PreviousOutput) ProtoMessage()
- func (m *FundTransactionResponse_PreviousOutput) Reset()
- func (m *FundTransactionResponse_PreviousOutput) String() string
- type GenerateRandomSeedRequest
- type GenerateRandomSeedResponse
- func (*GenerateRandomSeedResponse) Descriptor() ([]byte, []int)
- func (m *GenerateRandomSeedResponse) GetSeedBytes() []byte
- func (m *GenerateRandomSeedResponse) GetSeedHex() string
- func (m *GenerateRandomSeedResponse) GetSeedMnemonic() string
- func (*GenerateRandomSeedResponse) ProtoMessage()
- func (m *GenerateRandomSeedResponse) Reset()
- func (m *GenerateRandomSeedResponse) 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 (m *ImportPrivateKeyRequest) GetScanFrom() int32
- func (*ImportPrivateKeyRequest) ProtoMessage()
- func (m *ImportPrivateKeyRequest) Reset()
- func (m *ImportPrivateKeyRequest) String() string
- type ImportPrivateKeyResponse
- type ImportScriptRequest
- func (*ImportScriptRequest) Descriptor() ([]byte, []int)
- func (m *ImportScriptRequest) GetPassphrase() []byte
- func (m *ImportScriptRequest) GetRescan() bool
- func (m *ImportScriptRequest) GetScanFrom() int32
- func (m *ImportScriptRequest) GetScript() []byte
- func (*ImportScriptRequest) ProtoMessage()
- func (m *ImportScriptRequest) Reset()
- func (m *ImportScriptRequest) String() string
- type ImportScriptResponse
- type LoadActiveDataFiltersRequest
- type LoadActiveDataFiltersResponse
- 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 PurchaseTicketsRequest
- func (*PurchaseTicketsRequest) Descriptor() ([]byte, []int)
- func (m *PurchaseTicketsRequest) GetAccount() uint32
- func (m *PurchaseTicketsRequest) GetExpiry() uint32
- func (m *PurchaseTicketsRequest) GetNumTickets() uint32
- func (m *PurchaseTicketsRequest) GetPassphrase() []byte
- func (m *PurchaseTicketsRequest) GetPoolAddress() string
- func (m *PurchaseTicketsRequest) GetPoolFees() float64
- func (m *PurchaseTicketsRequest) GetRequiredConfirmations() uint32
- func (m *PurchaseTicketsRequest) GetSpendLimit() int64
- func (m *PurchaseTicketsRequest) GetTicketAddress() string
- func (m *PurchaseTicketsRequest) GetTicketFee() int64
- func (m *PurchaseTicketsRequest) GetTxFee() int64
- func (*PurchaseTicketsRequest) ProtoMessage()
- func (m *PurchaseTicketsRequest) Reset()
- func (m *PurchaseTicketsRequest) String() string
- type PurchaseTicketsResponse
- type RenameAccountRequest
- type RenameAccountResponse
- type RescanRequest
- type RescanResponse
- type SeedServiceClient
- type SeedServiceServer
- type SetAccountRequest
- type SetAccountResponse
- type SetBalanceToMaintainRequest
- type SetBalanceToMaintainResponse
- type SetMaxFeeRequest
- type SetMaxFeeResponse
- type SetMaxPerBlockRequest
- type SetMaxPerBlockResponse
- type SetMaxPriceAbsoluteRequest
- type SetMaxPriceAbsoluteResponse
- type SetMaxPriceRelativeRequest
- type SetMaxPriceRelativeResponse
- type SetPoolAddressRequest
- type SetPoolAddressResponse
- type SetPoolFeesRequest
- type SetPoolFeesResponse
- type SetVoteChoicesRequest
- type SetVoteChoicesRequest_Choice
- func (*SetVoteChoicesRequest_Choice) Descriptor() ([]byte, []int)
- func (m *SetVoteChoicesRequest_Choice) GetAgendaId() string
- func (m *SetVoteChoicesRequest_Choice) GetChoiceId() string
- func (*SetVoteChoicesRequest_Choice) ProtoMessage()
- func (m *SetVoteChoicesRequest_Choice) Reset()
- func (m *SetVoteChoicesRequest_Choice) String() string
- type SetVoteChoicesResponse
- type SetVotingAddressRequest
- type SetVotingAddressResponse
- 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 StakeInfoRequest
- type StakeInfoResponse
- func (*StakeInfoResponse) Descriptor() ([]byte, []int)
- func (m *StakeInfoResponse) GetAllMempoolTix() uint32
- func (m *StakeInfoResponse) GetExpired() uint32
- func (m *StakeInfoResponse) GetImmature() uint32
- func (m *StakeInfoResponse) GetLive() uint32
- func (m *StakeInfoResponse) GetMissed() uint32
- func (m *StakeInfoResponse) GetOwnMempoolTix() uint32
- func (m *StakeInfoResponse) GetPoolSize() uint32
- func (m *StakeInfoResponse) GetRevoked() uint32
- func (m *StakeInfoResponse) GetTotalSubsidy() int64
- func (m *StakeInfoResponse) GetVoted() uint32
- func (*StakeInfoResponse) ProtoMessage()
- func (m *StakeInfoResponse) Reset()
- func (m *StakeInfoResponse) String() string
- type StartAutoBuyerRequest
- func (*StartAutoBuyerRequest) Descriptor() ([]byte, []int)
- func (m *StartAutoBuyerRequest) GetAccount() uint32
- func (m *StartAutoBuyerRequest) GetBalanceToMaintain() int64
- func (m *StartAutoBuyerRequest) GetMaxFeePerKb() int64
- func (m *StartAutoBuyerRequest) GetMaxPerBlock() int64
- func (m *StartAutoBuyerRequest) GetMaxPriceAbsolute() int64
- func (m *StartAutoBuyerRequest) GetMaxPriceRelative() float64
- func (m *StartAutoBuyerRequest) GetPassphrase() []byte
- func (m *StartAutoBuyerRequest) GetPoolAddress() string
- func (m *StartAutoBuyerRequest) GetPoolFees() float64
- func (m *StartAutoBuyerRequest) GetVotingAddress() string
- func (*StartAutoBuyerRequest) ProtoMessage()
- func (m *StartAutoBuyerRequest) Reset()
- func (m *StartAutoBuyerRequest) String() string
- type StartAutoBuyerResponse
- 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 StopAutoBuyerRequest
- type StopAutoBuyerResponse
- type SubscribeToBlockNotificationsRequest
- type SubscribeToBlockNotificationsResponse
- type TicketBuyerConfigRequest
- type TicketBuyerConfigResponse
- func (*TicketBuyerConfigResponse) Descriptor() ([]byte, []int)
- func (m *TicketBuyerConfigResponse) GetAccount() uint32
- func (m *TicketBuyerConfigResponse) GetAvgPriceMode() string
- func (m *TicketBuyerConfigResponse) GetAvgPriceVWAPDelta() int64
- func (m *TicketBuyerConfigResponse) GetBalanceToMaintain() int64
- func (m *TicketBuyerConfigResponse) GetBlocksToAvg() int64
- func (m *TicketBuyerConfigResponse) GetDontWaitForTickets() bool
- func (m *TicketBuyerConfigResponse) GetExpiryDelta() int64
- func (m *TicketBuyerConfigResponse) GetFeeSource() string
- func (m *TicketBuyerConfigResponse) GetFeeTargetScaling() float64
- func (m *TicketBuyerConfigResponse) GetMaxFee() int64
- func (m *TicketBuyerConfigResponse) GetMaxInMempool() int64
- func (m *TicketBuyerConfigResponse) GetMaxPerBlock() int64
- func (m *TicketBuyerConfigResponse) GetMaxPriceAbsolute() int64
- func (m *TicketBuyerConfigResponse) GetMaxPriceRelative() float64
- func (m *TicketBuyerConfigResponse) GetMinFee() int64
- func (m *TicketBuyerConfigResponse) GetPoolAddress() string
- func (m *TicketBuyerConfigResponse) GetPoolFees() float64
- func (m *TicketBuyerConfigResponse) GetSpreadTicketPurchases() bool
- func (m *TicketBuyerConfigResponse) GetTxFee() int64
- func (m *TicketBuyerConfigResponse) GetVotingAddress() string
- func (*TicketBuyerConfigResponse) ProtoMessage()
- func (m *TicketBuyerConfigResponse) Reset()
- func (m *TicketBuyerConfigResponse) String() string
- type TicketBuyerServiceClient
- type TicketBuyerServiceServer
- type TicketPriceRequest
- type TicketPriceResponse
- 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 (m *TransactionDetails) GetTransactionType() TransactionDetails_TransactionType
- 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) GetAddress() string
- func (m *TransactionDetails_Output) GetAmount() int64
- func (m *TransactionDetails_Output) GetIndex() uint32
- func (m *TransactionDetails_Output) GetInternal() bool
- func (m *TransactionDetails_Output) GetOutputScript() []byte
- func (*TransactionDetails_Output) ProtoMessage()
- func (m *TransactionDetails_Output) Reset()
- func (m *TransactionDetails_Output) String() string
- type TransactionDetails_TransactionType
- 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 VoteChoicesRequest
- type VoteChoicesResponse
- func (*VoteChoicesResponse) Descriptor() ([]byte, []int)
- func (m *VoteChoicesResponse) GetChoices() []*VoteChoicesResponse_Choice
- func (m *VoteChoicesResponse) GetVersion() uint32
- func (m *VoteChoicesResponse) GetVotebits() uint32
- func (*VoteChoicesResponse) ProtoMessage()
- func (m *VoteChoicesResponse) Reset()
- func (m *VoteChoicesResponse) String() string
- type VoteChoicesResponse_Choice
- func (*VoteChoicesResponse_Choice) Descriptor() ([]byte, []int)
- func (m *VoteChoicesResponse_Choice) GetAgendaDescription() string
- func (m *VoteChoicesResponse_Choice) GetAgendaId() string
- func (m *VoteChoicesResponse_Choice) GetChoiceDescription() string
- func (m *VoteChoicesResponse_Choice) GetChoiceId() string
- func (*VoteChoicesResponse_Choice) ProtoMessage()
- func (m *VoteChoicesResponse_Choice) Reset()
- func (m *VoteChoicesResponse_Choice) String() string
- type VotingServiceClient
- type VotingServiceServer
- type WalletExistsRequest
- type WalletExistsResponse
- type WalletLoaderServiceClient
- type WalletLoaderServiceServer
- type WalletServiceClient
- type WalletServiceServer
- type WalletService_AccountNotificationsClient
- type WalletService_AccountNotificationsServer
- type WalletService_GetTransactionsClient
- type WalletService_GetTransactionsServer
- type WalletService_RescanClient
- type WalletService_RescanServer
- 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 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,
}
View Source
var TransactionDetails_TransactionType_name = map[int32]string{
0: "REGULAR",
1: "TICKET_PURCHASE",
2: "VOTE",
3: "REVOCATION",
}
View Source
var TransactionDetails_TransactionType_value = map[string]int32{
"REGULAR": 0,
"TICKET_PURCHASE": 1,
"VOTE": 2,
"REVOCATION": 3,
}
Functions ¶
func RegisterAgendaServiceServer ¶ added in v1.0.0
func RegisterAgendaServiceServer(s *grpc.Server, srv AgendaServiceServer)
func RegisterSeedServiceServer ¶ added in v0.7.0
func RegisterSeedServiceServer(s *grpc.Server, srv SeedServiceServer)
func RegisterTicketBuyerServiceServer ¶ added in v1.0.0
func RegisterTicketBuyerServiceServer(s *grpc.Server, srv TicketBuyerServiceServer)
func RegisterVersionServiceServer ¶
func RegisterVersionServiceServer(s *grpc.Server, srv VersionServiceServer)
func RegisterVotingServiceServer ¶ added in v1.0.0
func RegisterVotingServiceServer(s *grpc.Server, srv VotingServiceServer)
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 ¶ added in v0.8.0
func (m *AccountBalance) GetAccount() uint32
func (*AccountBalance) GetTotalBalance ¶ added in v0.8.0
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 ¶ added in v0.8.0
func (m *AccountNotificationsResponse) GetAccountName() string
func (*AccountNotificationsResponse) GetAccountNumber ¶ added in v0.8.0
func (m *AccountNotificationsResponse) GetAccountNumber() uint32
func (*AccountNotificationsResponse) GetExternalKeyCount ¶ added in v0.8.0
func (m *AccountNotificationsResponse) GetExternalKeyCount() uint32
func (*AccountNotificationsResponse) GetImportedKeyCount ¶ added in v0.8.0
func (m *AccountNotificationsResponse) GetImportedKeyCount() uint32
func (*AccountNotificationsResponse) GetInternalKeyCount ¶ added in v0.8.0
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 ¶ added in v0.8.0
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 ¶ added in v0.8.0
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 ¶ added in v0.8.0
func (m *AccountsResponse) GetCurrentBlockHash() []byte
func (*AccountsResponse) GetCurrentBlockHeight ¶ added in v0.8.0
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 ¶ added in v0.8.0
func (m *AccountsResponse_Account) GetAccountName() string
func (*AccountsResponse_Account) GetAccountNumber ¶ added in v0.8.0
func (m *AccountsResponse_Account) GetAccountNumber() uint32
func (*AccountsResponse_Account) GetExternalKeyCount ¶ added in v0.8.0
func (m *AccountsResponse_Account) GetExternalKeyCount() uint32
func (*AccountsResponse_Account) GetImportedKeyCount ¶ added in v0.8.0
func (m *AccountsResponse_Account) GetImportedKeyCount() uint32
func (*AccountsResponse_Account) GetInternalKeyCount ¶ added in v0.8.0
func (m *AccountsResponse_Account) GetInternalKeyCount() uint32
func (*AccountsResponse_Account) GetTotalBalance ¶ added in v0.8.0
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 AgendaServiceClient ¶ added in v1.0.0
type AgendaServiceClient interface {
Agendas(ctx context.Context, in *AgendasRequest, opts ...grpc.CallOption) (*AgendasResponse, error)
}
func NewAgendaServiceClient ¶ added in v1.0.0
func NewAgendaServiceClient(cc *grpc.ClientConn) AgendaServiceClient
type AgendaServiceServer ¶ added in v1.0.0
type AgendaServiceServer interface {
Agendas(context.Context, *AgendasRequest) (*AgendasResponse, error)
}
type AgendasRequest ¶ added in v1.0.0
type AgendasRequest struct { }
func (*AgendasRequest) Descriptor ¶ added in v1.0.0
func (*AgendasRequest) Descriptor() ([]byte, []int)
func (*AgendasRequest) ProtoMessage ¶ added in v1.0.0
func (*AgendasRequest) ProtoMessage()
func (*AgendasRequest) Reset ¶ added in v1.0.0
func (m *AgendasRequest) Reset()
func (*AgendasRequest) String ¶ added in v1.0.0
func (m *AgendasRequest) String() string
type AgendasResponse ¶ added in v1.0.0
type AgendasResponse struct { Version uint32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"` Agendas []*AgendasResponse_Agenda `protobuf:"bytes,2,rep,name=agendas" json:"agendas,omitempty"` }
func (*AgendasResponse) Descriptor ¶ added in v1.0.0
func (*AgendasResponse) Descriptor() ([]byte, []int)
func (*AgendasResponse) GetAgendas ¶ added in v1.0.0
func (m *AgendasResponse) GetAgendas() []*AgendasResponse_Agenda
func (*AgendasResponse) GetVersion ¶ added in v1.0.0
func (m *AgendasResponse) GetVersion() uint32
func (*AgendasResponse) ProtoMessage ¶ added in v1.0.0
func (*AgendasResponse) ProtoMessage()
func (*AgendasResponse) Reset ¶ added in v1.0.0
func (m *AgendasResponse) Reset()
func (*AgendasResponse) String ¶ added in v1.0.0
func (m *AgendasResponse) String() string
type AgendasResponse_Agenda ¶ added in v1.0.0
type AgendasResponse_Agenda struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` Mask uint32 `protobuf:"varint,3,opt,name=mask" json:"mask,omitempty"` Choices []*AgendasResponse_Choice `protobuf:"bytes,4,rep,name=choices" json:"choices,omitempty"` StartTime int64 `protobuf:"varint,5,opt,name=start_time,json=startTime" json:"start_time,omitempty"` ExpireTime int64 `protobuf:"varint,6,opt,name=expire_time,json=expireTime" json:"expire_time,omitempty"` }
func (*AgendasResponse_Agenda) Descriptor ¶ added in v1.0.0
func (*AgendasResponse_Agenda) Descriptor() ([]byte, []int)
func (*AgendasResponse_Agenda) GetChoices ¶ added in v1.0.0
func (m *AgendasResponse_Agenda) GetChoices() []*AgendasResponse_Choice
func (*AgendasResponse_Agenda) GetDescription ¶ added in v1.0.0
func (m *AgendasResponse_Agenda) GetDescription() string
func (*AgendasResponse_Agenda) GetExpireTime ¶ added in v1.0.0
func (m *AgendasResponse_Agenda) GetExpireTime() int64
func (*AgendasResponse_Agenda) GetId ¶ added in v1.0.0
func (m *AgendasResponse_Agenda) GetId() string
func (*AgendasResponse_Agenda) GetMask ¶ added in v1.0.0
func (m *AgendasResponse_Agenda) GetMask() uint32
func (*AgendasResponse_Agenda) GetStartTime ¶ added in v1.0.0
func (m *AgendasResponse_Agenda) GetStartTime() int64
func (*AgendasResponse_Agenda) ProtoMessage ¶ added in v1.0.0
func (*AgendasResponse_Agenda) ProtoMessage()
func (*AgendasResponse_Agenda) Reset ¶ added in v1.0.0
func (m *AgendasResponse_Agenda) Reset()
func (*AgendasResponse_Agenda) String ¶ added in v1.0.0
func (m *AgendasResponse_Agenda) String() string
type AgendasResponse_Choice ¶ added in v1.0.0
type AgendasResponse_Choice struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` Bits uint32 `protobuf:"varint,3,opt,name=bits" json:"bits,omitempty"` IsAbstain bool `protobuf:"varint,4,opt,name=is_abstain,json=isAbstain" json:"is_abstain,omitempty"` IsNo bool `protobuf:"varint,5,opt,name=is_no,json=isNo" json:"is_no,omitempty"` }
func (*AgendasResponse_Choice) Descriptor ¶ added in v1.0.0
func (*AgendasResponse_Choice) Descriptor() ([]byte, []int)
func (*AgendasResponse_Choice) GetBits ¶ added in v1.0.0
func (m *AgendasResponse_Choice) GetBits() uint32
func (*AgendasResponse_Choice) GetDescription ¶ added in v1.0.0
func (m *AgendasResponse_Choice) GetDescription() string
func (*AgendasResponse_Choice) GetId ¶ added in v1.0.0
func (m *AgendasResponse_Choice) GetId() string
func (*AgendasResponse_Choice) GetIsAbstain ¶ added in v1.0.0
func (m *AgendasResponse_Choice) GetIsAbstain() bool
func (*AgendasResponse_Choice) GetIsNo ¶ added in v1.0.0
func (m *AgendasResponse_Choice) GetIsNo() bool
func (*AgendasResponse_Choice) ProtoMessage ¶ added in v1.0.0
func (*AgendasResponse_Choice) ProtoMessage()
func (*AgendasResponse_Choice) Reset ¶ added in v1.0.0
func (m *AgendasResponse_Choice) Reset()
func (*AgendasResponse_Choice) String ¶ added in v1.0.0
func (m *AgendasResponse_Choice) 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 ¶ added in v0.8.0
func (m *BalanceRequest) GetAccountNumber() uint32
func (*BalanceRequest) GetRequiredConfirmations ¶ added in v0.8.0
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 ¶ added in v0.8.0
func (m *BalanceResponse) GetImmatureReward() int64
func (*BalanceResponse) GetSpendable ¶ added in v0.8.0
func (m *BalanceResponse) GetSpendable() int64
func (*BalanceResponse) GetTotal ¶ added in v0.8.0
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 ¶ added in v0.8.0
func (m *BlockDetails) GetHash() []byte
func (*BlockDetails) GetHeight ¶ added in v0.8.0
func (m *BlockDetails) GetHeight() int32
func (*BlockDetails) GetTimestamp ¶ added in v0.8.0
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 ¶ added in v0.8.0
func (m *ChangePassphraseRequest) GetKey() ChangePassphraseRequest_Key
func (*ChangePassphraseRequest) GetNewPassphrase ¶ added in v0.8.0
func (m *ChangePassphraseRequest) GetNewPassphrase() []byte
func (*ChangePassphraseRequest) GetOldPassphrase ¶ added in v0.8.0
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 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 (m *ConstructTransactionRequest) GetChangeDestination() *ConstructTransactionRequest_OutputDestination
func (*ConstructTransactionRequest) GetFeePerKb ¶ added in v0.8.0
func (m *ConstructTransactionRequest) GetFeePerKb() int32
func (*ConstructTransactionRequest) GetNonChangeOutputs ¶ added in v0.7.0
func (m *ConstructTransactionRequest) GetNonChangeOutputs() []*ConstructTransactionRequest_Output
func (*ConstructTransactionRequest) GetOutputSelectionAlgorithm ¶ added in v0.8.0
func (m *ConstructTransactionRequest) GetOutputSelectionAlgorithm() ConstructTransactionRequest_OutputSelectionAlgorithm
func (*ConstructTransactionRequest) GetRequiredConfirmations ¶ added in v0.8.0
func (m *ConstructTransactionRequest) GetRequiredConfirmations() int32
func (*ConstructTransactionRequest) GetSourceAccount ¶ added in v0.8.0
func (m *ConstructTransactionRequest) GetSourceAccount() uint32
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) GetAmount ¶ added in v0.8.0
func (m *ConstructTransactionRequest_Output) GetAmount() int64
func (*ConstructTransactionRequest_Output) GetDestination ¶ added in v0.7.0
func (m *ConstructTransactionRequest_Output) GetDestination() *ConstructTransactionRequest_OutputDestination
func (*ConstructTransactionRequest_Output) ProtoMessage ¶ added in v0.7.0
func (*ConstructTransactionRequest_Output) ProtoMessage()
func (*ConstructTransactionRequest_Output) Reset ¶ added in v0.7.0
func (m *ConstructTransactionRequest_Output) Reset()
func (*ConstructTransactionRequest_Output) String ¶ added in v0.7.0
func (m *ConstructTransactionRequest_Output) String() string
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) Descriptor() ([]byte, []int)
func (*ConstructTransactionRequest_OutputDestination) GetAddress ¶ added in v0.8.0
func (m *ConstructTransactionRequest_OutputDestination) GetAddress() string
func (*ConstructTransactionRequest_OutputDestination) GetScript ¶ added in v0.8.0
func (m *ConstructTransactionRequest_OutputDestination) GetScript() []byte
func (*ConstructTransactionRequest_OutputDestination) GetScriptVersion ¶ added in v0.8.0
func (m *ConstructTransactionRequest_OutputDestination) GetScriptVersion() uint32
func (*ConstructTransactionRequest_OutputDestination) ProtoMessage ¶ added in v0.7.0
func (*ConstructTransactionRequest_OutputDestination) ProtoMessage()
func (*ConstructTransactionRequest_OutputDestination) Reset ¶ added in v0.7.0
func (m *ConstructTransactionRequest_OutputDestination) Reset()
func (*ConstructTransactionRequest_OutputDestination) String ¶ added in v0.7.0
func (m *ConstructTransactionRequest_OutputDestination) String() string
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) EnumDescriptor() ([]byte, []int)
func (ConstructTransactionRequest_OutputSelectionAlgorithm) String ¶ added in v0.7.0
func (x ConstructTransactionRequest_OutputSelectionAlgorithm) String() string
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) GetEstimatedSignedSize ¶ added in v0.8.0
func (m *ConstructTransactionResponse) GetEstimatedSignedSize() uint32
func (*ConstructTransactionResponse) GetTotalOutputAmount ¶ added in v0.8.0
func (m *ConstructTransactionResponse) GetTotalOutputAmount() int64
func (*ConstructTransactionResponse) GetTotalPreviousOutputAmount ¶ added in v0.8.0
func (m *ConstructTransactionResponse) GetTotalPreviousOutputAmount() int64
func (*ConstructTransactionResponse) GetUnsignedTransaction ¶ added in v0.8.0
func (m *ConstructTransactionResponse) GetUnsignedTransaction() []byte
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
func (m *ConstructTransactionResponse) 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 ¶ added in v0.8.0
func (m *CreateWalletRequest) GetPrivatePassphrase() []byte
func (*CreateWalletRequest) GetPublicPassphrase ¶ added in v0.8.0
func (m *CreateWalletRequest) GetPublicPassphrase() []byte
func (*CreateWalletRequest) GetSeed ¶ added in v0.8.0
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 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) GetUserInput ¶ added in v0.8.0
func (m *DecodeSeedRequest) GetUserInput() string
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) GetDecodedSeed ¶ added in v0.8.0
func (m *DecodeSeedResponse) GetDecodedSeed() []byte
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) GetDiscoverAccounts ¶ added in v0.8.0
func (m *DiscoverAddressesRequest) GetDiscoverAccounts() bool
func (*DiscoverAddressesRequest) GetPrivatePassphrase ¶ added in v0.8.0
func (m *DiscoverAddressesRequest) GetPrivatePassphrase() []byte
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"` MainChainTipBlockHash []byte `` /* 130-byte string literal not displayed */ MainChainTipBlockHeight int32 `` /* 130-byte string literal not displayed */ }
func (*FetchHeadersResponse) Descriptor ¶ added in v0.7.0
func (*FetchHeadersResponse) Descriptor() ([]byte, []int)
func (*FetchHeadersResponse) GetFetchedHeadersCount ¶ added in v0.8.0
func (m *FetchHeadersResponse) GetFetchedHeadersCount() uint32
func (*FetchHeadersResponse) GetFirstNewBlockHash ¶ added in v0.8.0
func (m *FetchHeadersResponse) GetFirstNewBlockHash() []byte
func (*FetchHeadersResponse) GetFirstNewBlockHeight ¶ added in v0.8.0
func (m *FetchHeadersResponse) GetFirstNewBlockHeight() int32
func (*FetchHeadersResponse) GetMainChainTipBlockHash ¶ added in v0.8.0
func (m *FetchHeadersResponse) GetMainChainTipBlockHash() []byte
func (*FetchHeadersResponse) GetMainChainTipBlockHeight ¶ added in v0.8.0
func (m *FetchHeadersResponse) GetMainChainTipBlockHeight() int32
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) GetAccount ¶ added in v0.8.0
func (m *FundTransactionRequest) GetAccount() uint32
func (*FundTransactionRequest) GetIncludeChangeScript ¶ added in v0.8.0
func (m *FundTransactionRequest) GetIncludeChangeScript() bool
func (*FundTransactionRequest) GetIncludeImmatureCoinbases ¶ added in v0.8.0
func (m *FundTransactionRequest) GetIncludeImmatureCoinbases() bool
func (*FundTransactionRequest) GetRequiredConfirmations ¶ added in v0.8.0
func (m *FundTransactionRequest) GetRequiredConfirmations() int32
func (*FundTransactionRequest) GetTargetAmount ¶ added in v0.8.0
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 ¶ added in v0.8.0
func (m *FundTransactionResponse) GetChangePkScript() []byte
func (*FundTransactionResponse) GetSelectedOutputs ¶
func (m *FundTransactionResponse) GetSelectedOutputs() []*FundTransactionResponse_PreviousOutput
func (*FundTransactionResponse) GetTotalAmount ¶ added in v0.8.0
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"` Tree int32 `protobuf:"varint,7,opt,name=tree" json:"tree,omitempty"` }
func (*FundTransactionResponse_PreviousOutput) Descriptor ¶
func (*FundTransactionResponse_PreviousOutput) Descriptor() ([]byte, []int)
func (*FundTransactionResponse_PreviousOutput) GetAmount ¶ added in v0.8.0
func (m *FundTransactionResponse_PreviousOutput) GetAmount() int64
func (*FundTransactionResponse_PreviousOutput) GetFromCoinbase ¶ added in v0.8.0
func (m *FundTransactionResponse_PreviousOutput) GetFromCoinbase() bool
func (*FundTransactionResponse_PreviousOutput) GetOutputIndex ¶ added in v0.8.0
func (m *FundTransactionResponse_PreviousOutput) GetOutputIndex() uint32
func (*FundTransactionResponse_PreviousOutput) GetPkScript ¶ added in v0.8.0
func (m *FundTransactionResponse_PreviousOutput) GetPkScript() []byte
func (*FundTransactionResponse_PreviousOutput) GetReceiveTime ¶ added in v0.8.0
func (m *FundTransactionResponse_PreviousOutput) GetReceiveTime() int64
func (*FundTransactionResponse_PreviousOutput) GetTransactionHash ¶ added in v0.8.0
func (m *FundTransactionResponse_PreviousOutput) GetTransactionHash() []byte
func (*FundTransactionResponse_PreviousOutput) GetTree ¶ added in v0.8.0
func (m *FundTransactionResponse_PreviousOutput) GetTree() int32
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 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) GetSeedLength ¶ added in v0.8.0
func (m *GenerateRandomSeedRequest) GetSeedLength() uint32
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) GetSeedBytes ¶ added in v0.8.0
func (m *GenerateRandomSeedResponse) GetSeedBytes() []byte
func (*GenerateRandomSeedResponse) GetSeedHex ¶ added in v0.8.0
func (m *GenerateRandomSeedResponse) GetSeedHex() string
func (*GenerateRandomSeedResponse) GetSeedMnemonic ¶ added in v0.8.0
func (m *GenerateRandomSeedResponse) GetSeedMnemonic() string
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) GetEndingBlockHash ¶ added in v0.8.0
func (m *GetTransactionsRequest) GetEndingBlockHash() []byte
func (*GetTransactionsRequest) GetEndingBlockHeight ¶ added in v0.8.0
func (m *GetTransactionsRequest) GetEndingBlockHeight() int32
func (*GetTransactionsRequest) GetMinimumRecentTransactions ¶ added in v0.8.0
func (m *GetTransactionsRequest) GetMinimumRecentTransactions() int32
func (*GetTransactionsRequest) GetStartingBlockHash ¶ added in v0.8.0
func (m *GetTransactionsRequest) GetStartingBlockHash() []byte
func (*GetTransactionsRequest) GetStartingBlockHeight ¶ added in v0.8.0
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,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) GetAccount ¶ added in v0.8.0
func (m *ImportPrivateKeyRequest) GetAccount() uint32
func (*ImportPrivateKeyRequest) GetPassphrase ¶ added in v0.8.0
func (m *ImportPrivateKeyRequest) GetPassphrase() []byte
func (*ImportPrivateKeyRequest) GetPrivateKeyWif ¶ added in v0.8.0
func (m *ImportPrivateKeyRequest) GetPrivateKeyWif() string
func (*ImportPrivateKeyRequest) GetRescan ¶ added in v0.8.0
func (m *ImportPrivateKeyRequest) GetRescan() bool
func (*ImportPrivateKeyRequest) GetScanFrom ¶ added in v0.8.0
func (m *ImportPrivateKeyRequest) GetScanFrom() int32
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) GetPassphrase ¶ added in v0.8.0
func (m *ImportScriptRequest) GetPassphrase() []byte
func (*ImportScriptRequest) GetRescan ¶ added in v0.8.0
func (m *ImportScriptRequest) GetRescan() bool
func (*ImportScriptRequest) GetScanFrom ¶ added in v0.8.0
func (m *ImportScriptRequest) GetScanFrom() int32
func (*ImportScriptRequest) GetScript ¶ added in v0.8.0
func (m *ImportScriptRequest) GetScript() []byte
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
func (m *LoadActiveDataFiltersRequest) String() string
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
func (m *LoadActiveDataFiltersResponse) 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 ¶ added in v0.8.0
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 ¶ added in v0.8.0
func (m *NextAccountRequest) GetAccountName() string
func (*NextAccountRequest) GetPassphrase ¶ added in v0.8.0
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 ¶ added in v0.8.0
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 ¶ added in v0.8.0
func (m *NextAddressRequest) GetAccount() uint32
func (*NextAddressRequest) GetKind ¶ added in v0.8.0
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"` 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) GetAddress ¶ added in v0.8.0
func (m *NextAddressResponse) GetAddress() string
func (*NextAddressResponse) GetPublicKey ¶ added in v0.8.0
func (m *NextAddressResponse) GetPublicKey() 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 ¶ added in v0.8.0
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 ¶ added in v0.8.0
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 {
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) GetTransactionHash ¶ added in v0.8.0
func (m *PublishTransactionResponse) GetTransactionHash() []byte
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) GetAccount ¶ added in v0.8.0
func (m *PurchaseTicketsRequest) GetAccount() uint32
func (*PurchaseTicketsRequest) GetExpiry ¶ added in v0.8.0
func (m *PurchaseTicketsRequest) GetExpiry() uint32
func (*PurchaseTicketsRequest) GetNumTickets ¶ added in v0.8.0
func (m *PurchaseTicketsRequest) GetNumTickets() uint32
func (*PurchaseTicketsRequest) GetPassphrase ¶ added in v0.8.0
func (m *PurchaseTicketsRequest) GetPassphrase() []byte
func (*PurchaseTicketsRequest) GetPoolAddress ¶ added in v0.8.0
func (m *PurchaseTicketsRequest) GetPoolAddress() string
func (*PurchaseTicketsRequest) GetPoolFees ¶ added in v0.8.0
func (m *PurchaseTicketsRequest) GetPoolFees() float64
func (*PurchaseTicketsRequest) GetRequiredConfirmations ¶ added in v0.8.0
func (m *PurchaseTicketsRequest) GetRequiredConfirmations() uint32
func (*PurchaseTicketsRequest) GetSpendLimit ¶ added in v0.8.0
func (m *PurchaseTicketsRequest) GetSpendLimit() int64
func (*PurchaseTicketsRequest) GetTicketAddress ¶ added in v0.8.0
func (m *PurchaseTicketsRequest) GetTicketAddress() string
func (*PurchaseTicketsRequest) GetTicketFee ¶ added in v0.8.0
func (m *PurchaseTicketsRequest) GetTicketFee() int64
func (*PurchaseTicketsRequest) GetTxFee ¶ added in v0.8.0
func (m *PurchaseTicketsRequest) GetTxFee() int64
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) GetTicketHashes ¶ added in v0.8.0
func (m *PurchaseTicketsResponse) GetTicketHashes() [][]byte
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) GetAccountNumber ¶ added in v0.8.0
func (m *RenameAccountRequest) GetAccountNumber() uint32
func (*RenameAccountRequest) GetNewName ¶ added in v0.8.0
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 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) GetBeginHeight ¶ added in v0.8.0
func (m *RescanRequest) GetBeginHeight() int32
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) GetRescannedThrough ¶ added in v0.8.0
func (m *RescanResponse) GetRescannedThrough() int32
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 SetAccountRequest ¶ added in v1.0.0
type SetAccountRequest struct {
Account uint32 `protobuf:"varint,1,opt,name=account" json:"account,omitempty"`
}
func (*SetAccountRequest) Descriptor ¶ added in v1.0.0
func (*SetAccountRequest) Descriptor() ([]byte, []int)
func (*SetAccountRequest) GetAccount ¶ added in v1.0.0
func (m *SetAccountRequest) GetAccount() uint32
func (*SetAccountRequest) ProtoMessage ¶ added in v1.0.0
func (*SetAccountRequest) ProtoMessage()
func (*SetAccountRequest) Reset ¶ added in v1.0.0
func (m *SetAccountRequest) Reset()
func (*SetAccountRequest) String ¶ added in v1.0.0
func (m *SetAccountRequest) String() string
type SetAccountResponse ¶ added in v1.0.0
type SetAccountResponse struct { }
func (*SetAccountResponse) Descriptor ¶ added in v1.0.0
func (*SetAccountResponse) Descriptor() ([]byte, []int)
func (*SetAccountResponse) ProtoMessage ¶ added in v1.0.0
func (*SetAccountResponse) ProtoMessage()
func (*SetAccountResponse) Reset ¶ added in v1.0.0
func (m *SetAccountResponse) Reset()
func (*SetAccountResponse) String ¶ added in v1.0.0
func (m *SetAccountResponse) String() string
type SetBalanceToMaintainRequest ¶ added in v1.0.0
type SetBalanceToMaintainRequest struct {
BalanceToMaintain int64 `protobuf:"varint,1,opt,name=balance_to_maintain,json=balanceToMaintain" json:"balance_to_maintain,omitempty"`
}
func (*SetBalanceToMaintainRequest) Descriptor ¶ added in v1.0.0
func (*SetBalanceToMaintainRequest) Descriptor() ([]byte, []int)
func (*SetBalanceToMaintainRequest) GetBalanceToMaintain ¶ added in v1.0.0
func (m *SetBalanceToMaintainRequest) GetBalanceToMaintain() int64
func (*SetBalanceToMaintainRequest) ProtoMessage ¶ added in v1.0.0
func (*SetBalanceToMaintainRequest) ProtoMessage()
func (*SetBalanceToMaintainRequest) Reset ¶ added in v1.0.0
func (m *SetBalanceToMaintainRequest) Reset()
func (*SetBalanceToMaintainRequest) String ¶ added in v1.0.0
func (m *SetBalanceToMaintainRequest) String() string
type SetBalanceToMaintainResponse ¶ added in v1.0.0
type SetBalanceToMaintainResponse struct { }
func (*SetBalanceToMaintainResponse) Descriptor ¶ added in v1.0.0
func (*SetBalanceToMaintainResponse) Descriptor() ([]byte, []int)
func (*SetBalanceToMaintainResponse) ProtoMessage ¶ added in v1.0.0
func (*SetBalanceToMaintainResponse) ProtoMessage()
func (*SetBalanceToMaintainResponse) Reset ¶ added in v1.0.0
func (m *SetBalanceToMaintainResponse) Reset()
func (*SetBalanceToMaintainResponse) String ¶ added in v1.0.0
func (m *SetBalanceToMaintainResponse) String() string
type SetMaxFeeRequest ¶ added in v1.0.0
type SetMaxFeeRequest struct {
MaxFeePerKb int64 `protobuf:"varint,1,opt,name=max_fee_per_kb,json=maxFeePerKb" json:"max_fee_per_kb,omitempty"`
}
func (*SetMaxFeeRequest) Descriptor ¶ added in v1.0.0
func (*SetMaxFeeRequest) Descriptor() ([]byte, []int)
func (*SetMaxFeeRequest) GetMaxFeePerKb ¶ added in v1.0.0
func (m *SetMaxFeeRequest) GetMaxFeePerKb() int64
func (*SetMaxFeeRequest) ProtoMessage ¶ added in v1.0.0
func (*SetMaxFeeRequest) ProtoMessage()
func (*SetMaxFeeRequest) Reset ¶ added in v1.0.0
func (m *SetMaxFeeRequest) Reset()
func (*SetMaxFeeRequest) String ¶ added in v1.0.0
func (m *SetMaxFeeRequest) String() string
type SetMaxFeeResponse ¶ added in v1.0.0
type SetMaxFeeResponse struct { }
func (*SetMaxFeeResponse) Descriptor ¶ added in v1.0.0
func (*SetMaxFeeResponse) Descriptor() ([]byte, []int)
func (*SetMaxFeeResponse) ProtoMessage ¶ added in v1.0.0
func (*SetMaxFeeResponse) ProtoMessage()
func (*SetMaxFeeResponse) Reset ¶ added in v1.0.0
func (m *SetMaxFeeResponse) Reset()
func (*SetMaxFeeResponse) String ¶ added in v1.0.0
func (m *SetMaxFeeResponse) String() string
type SetMaxPerBlockRequest ¶ added in v1.0.0
type SetMaxPerBlockRequest struct {
MaxPerBlock int64 `protobuf:"varint,1,opt,name=max_per_block,json=maxPerBlock" json:"max_per_block,omitempty"`
}
func (*SetMaxPerBlockRequest) Descriptor ¶ added in v1.0.0
func (*SetMaxPerBlockRequest) Descriptor() ([]byte, []int)
func (*SetMaxPerBlockRequest) GetMaxPerBlock ¶ added in v1.0.0
func (m *SetMaxPerBlockRequest) GetMaxPerBlock() int64
func (*SetMaxPerBlockRequest) ProtoMessage ¶ added in v1.0.0
func (*SetMaxPerBlockRequest) ProtoMessage()
func (*SetMaxPerBlockRequest) Reset ¶ added in v1.0.0
func (m *SetMaxPerBlockRequest) Reset()
func (*SetMaxPerBlockRequest) String ¶ added in v1.0.0
func (m *SetMaxPerBlockRequest) String() string
type SetMaxPerBlockResponse ¶ added in v1.0.0
type SetMaxPerBlockResponse struct { }
func (*SetMaxPerBlockResponse) Descriptor ¶ added in v1.0.0
func (*SetMaxPerBlockResponse) Descriptor() ([]byte, []int)
func (*SetMaxPerBlockResponse) ProtoMessage ¶ added in v1.0.0
func (*SetMaxPerBlockResponse) ProtoMessage()
func (*SetMaxPerBlockResponse) Reset ¶ added in v1.0.0
func (m *SetMaxPerBlockResponse) Reset()
func (*SetMaxPerBlockResponse) String ¶ added in v1.0.0
func (m *SetMaxPerBlockResponse) String() string
type SetMaxPriceAbsoluteRequest ¶ added in v1.0.0
type SetMaxPriceAbsoluteRequest struct {
MaxPriceAbsolute int64 `protobuf:"varint,1,opt,name=max_price_absolute,json=maxPriceAbsolute" json:"max_price_absolute,omitempty"`
}
func (*SetMaxPriceAbsoluteRequest) Descriptor ¶ added in v1.0.0
func (*SetMaxPriceAbsoluteRequest) Descriptor() ([]byte, []int)
func (*SetMaxPriceAbsoluteRequest) GetMaxPriceAbsolute ¶ added in v1.0.0
func (m *SetMaxPriceAbsoluteRequest) GetMaxPriceAbsolute() int64
func (*SetMaxPriceAbsoluteRequest) ProtoMessage ¶ added in v1.0.0
func (*SetMaxPriceAbsoluteRequest) ProtoMessage()
func (*SetMaxPriceAbsoluteRequest) Reset ¶ added in v1.0.0
func (m *SetMaxPriceAbsoluteRequest) Reset()
func (*SetMaxPriceAbsoluteRequest) String ¶ added in v1.0.0
func (m *SetMaxPriceAbsoluteRequest) String() string
type SetMaxPriceAbsoluteResponse ¶ added in v1.0.0
type SetMaxPriceAbsoluteResponse struct { }
func (*SetMaxPriceAbsoluteResponse) Descriptor ¶ added in v1.0.0
func (*SetMaxPriceAbsoluteResponse) Descriptor() ([]byte, []int)
func (*SetMaxPriceAbsoluteResponse) ProtoMessage ¶ added in v1.0.0
func (*SetMaxPriceAbsoluteResponse) ProtoMessage()
func (*SetMaxPriceAbsoluteResponse) Reset ¶ added in v1.0.0
func (m *SetMaxPriceAbsoluteResponse) Reset()
func (*SetMaxPriceAbsoluteResponse) String ¶ added in v1.0.0
func (m *SetMaxPriceAbsoluteResponse) String() string
type SetMaxPriceRelativeRequest ¶ added in v1.0.0
type SetMaxPriceRelativeRequest struct {
MaxPriceRelative float64 `protobuf:"fixed64,1,opt,name=max_price_relative,json=maxPriceRelative" json:"max_price_relative,omitempty"`
}
func (*SetMaxPriceRelativeRequest) Descriptor ¶ added in v1.0.0
func (*SetMaxPriceRelativeRequest) Descriptor() ([]byte, []int)
func (*SetMaxPriceRelativeRequest) GetMaxPriceRelative ¶ added in v1.0.0
func (m *SetMaxPriceRelativeRequest) GetMaxPriceRelative() float64
func (*SetMaxPriceRelativeRequest) ProtoMessage ¶ added in v1.0.0
func (*SetMaxPriceRelativeRequest) ProtoMessage()
func (*SetMaxPriceRelativeRequest) Reset ¶ added in v1.0.0
func (m *SetMaxPriceRelativeRequest) Reset()
func (*SetMaxPriceRelativeRequest) String ¶ added in v1.0.0
func (m *SetMaxPriceRelativeRequest) String() string
type SetMaxPriceRelativeResponse ¶ added in v1.0.0
type SetMaxPriceRelativeResponse struct { }
func (*SetMaxPriceRelativeResponse) Descriptor ¶ added in v1.0.0
func (*SetMaxPriceRelativeResponse) Descriptor() ([]byte, []int)
func (*SetMaxPriceRelativeResponse) ProtoMessage ¶ added in v1.0.0
func (*SetMaxPriceRelativeResponse) ProtoMessage()
func (*SetMaxPriceRelativeResponse) Reset ¶ added in v1.0.0
func (m *SetMaxPriceRelativeResponse) Reset()
func (*SetMaxPriceRelativeResponse) String ¶ added in v1.0.0
func (m *SetMaxPriceRelativeResponse) String() string
type SetPoolAddressRequest ¶ added in v1.0.0
type SetPoolAddressRequest struct {
PoolAddress string `protobuf:"bytes,1,opt,name=pool_address,json=poolAddress" json:"pool_address,omitempty"`
}
func (*SetPoolAddressRequest) Descriptor ¶ added in v1.0.0
func (*SetPoolAddressRequest) Descriptor() ([]byte, []int)
func (*SetPoolAddressRequest) GetPoolAddress ¶ added in v1.0.0
func (m *SetPoolAddressRequest) GetPoolAddress() string
func (*SetPoolAddressRequest) ProtoMessage ¶ added in v1.0.0
func (*SetPoolAddressRequest) ProtoMessage()
func (*SetPoolAddressRequest) Reset ¶ added in v1.0.0
func (m *SetPoolAddressRequest) Reset()
func (*SetPoolAddressRequest) String ¶ added in v1.0.0
func (m *SetPoolAddressRequest) String() string
type SetPoolAddressResponse ¶ added in v1.0.0
type SetPoolAddressResponse struct { }
func (*SetPoolAddressResponse) Descriptor ¶ added in v1.0.0
func (*SetPoolAddressResponse) Descriptor() ([]byte, []int)
func (*SetPoolAddressResponse) ProtoMessage ¶ added in v1.0.0
func (*SetPoolAddressResponse) ProtoMessage()
func (*SetPoolAddressResponse) Reset ¶ added in v1.0.0
func (m *SetPoolAddressResponse) Reset()
func (*SetPoolAddressResponse) String ¶ added in v1.0.0
func (m *SetPoolAddressResponse) String() string
type SetPoolFeesRequest ¶ added in v1.0.0
type SetPoolFeesRequest struct {
PoolFees float64 `protobuf:"fixed64,1,opt,name=pool_fees,json=poolFees" json:"pool_fees,omitempty"`
}
func (*SetPoolFeesRequest) Descriptor ¶ added in v1.0.0
func (*SetPoolFeesRequest) Descriptor() ([]byte, []int)
func (*SetPoolFeesRequest) GetPoolFees ¶ added in v1.0.0
func (m *SetPoolFeesRequest) GetPoolFees() float64
func (*SetPoolFeesRequest) ProtoMessage ¶ added in v1.0.0
func (*SetPoolFeesRequest) ProtoMessage()
func (*SetPoolFeesRequest) Reset ¶ added in v1.0.0
func (m *SetPoolFeesRequest) Reset()
func (*SetPoolFeesRequest) String ¶ added in v1.0.0
func (m *SetPoolFeesRequest) String() string
type SetPoolFeesResponse ¶ added in v1.0.0
type SetPoolFeesResponse struct { }
func (*SetPoolFeesResponse) Descriptor ¶ added in v1.0.0
func (*SetPoolFeesResponse) Descriptor() ([]byte, []int)
func (*SetPoolFeesResponse) ProtoMessage ¶ added in v1.0.0
func (*SetPoolFeesResponse) ProtoMessage()
func (*SetPoolFeesResponse) Reset ¶ added in v1.0.0
func (m *SetPoolFeesResponse) Reset()
func (*SetPoolFeesResponse) String ¶ added in v1.0.0
func (m *SetPoolFeesResponse) String() string
type SetVoteChoicesRequest ¶ added in v1.0.0
type SetVoteChoicesRequest struct {
Choices []*SetVoteChoicesRequest_Choice `protobuf:"bytes,1,rep,name=choices" json:"choices,omitempty"`
}
func (*SetVoteChoicesRequest) Descriptor ¶ added in v1.0.0
func (*SetVoteChoicesRequest) Descriptor() ([]byte, []int)
func (*SetVoteChoicesRequest) GetChoices ¶ added in v1.0.0
func (m *SetVoteChoicesRequest) GetChoices() []*SetVoteChoicesRequest_Choice
func (*SetVoteChoicesRequest) ProtoMessage ¶ added in v1.0.0
func (*SetVoteChoicesRequest) ProtoMessage()
func (*SetVoteChoicesRequest) Reset ¶ added in v1.0.0
func (m *SetVoteChoicesRequest) Reset()
func (*SetVoteChoicesRequest) String ¶ added in v1.0.0
func (m *SetVoteChoicesRequest) String() string
type SetVoteChoicesRequest_Choice ¶ added in v1.0.0
type SetVoteChoicesRequest_Choice struct { AgendaId string `protobuf:"bytes,1,opt,name=agenda_id,json=agendaId" json:"agenda_id,omitempty"` ChoiceId string `protobuf:"bytes,2,opt,name=choice_id,json=choiceId" json:"choice_id,omitempty"` }
func (*SetVoteChoicesRequest_Choice) Descriptor ¶ added in v1.0.0
func (*SetVoteChoicesRequest_Choice) Descriptor() ([]byte, []int)
func (*SetVoteChoicesRequest_Choice) GetAgendaId ¶ added in v1.0.0
func (m *SetVoteChoicesRequest_Choice) GetAgendaId() string
func (*SetVoteChoicesRequest_Choice) GetChoiceId ¶ added in v1.0.0
func (m *SetVoteChoicesRequest_Choice) GetChoiceId() string
func (*SetVoteChoicesRequest_Choice) ProtoMessage ¶ added in v1.0.0
func (*SetVoteChoicesRequest_Choice) ProtoMessage()
func (*SetVoteChoicesRequest_Choice) Reset ¶ added in v1.0.0
func (m *SetVoteChoicesRequest_Choice) Reset()
func (*SetVoteChoicesRequest_Choice) String ¶ added in v1.0.0
func (m *SetVoteChoicesRequest_Choice) String() string
type SetVoteChoicesResponse ¶ added in v1.0.0
type SetVoteChoicesResponse struct {
Votebits uint32 `protobuf:"varint,1,opt,name=votebits" json:"votebits,omitempty"`
}
func (*SetVoteChoicesResponse) Descriptor ¶ added in v1.0.0
func (*SetVoteChoicesResponse) Descriptor() ([]byte, []int)
func (*SetVoteChoicesResponse) GetVotebits ¶ added in v1.0.0
func (m *SetVoteChoicesResponse) GetVotebits() uint32
func (*SetVoteChoicesResponse) ProtoMessage ¶ added in v1.0.0
func (*SetVoteChoicesResponse) ProtoMessage()
func (*SetVoteChoicesResponse) Reset ¶ added in v1.0.0
func (m *SetVoteChoicesResponse) Reset()
func (*SetVoteChoicesResponse) String ¶ added in v1.0.0
func (m *SetVoteChoicesResponse) String() string
type SetVotingAddressRequest ¶ added in v1.0.0
type SetVotingAddressRequest struct {
VotingAddress string `protobuf:"bytes,1,opt,name=voting_address,json=votingAddress" json:"voting_address,omitempty"`
}
func (*SetVotingAddressRequest) Descriptor ¶ added in v1.0.0
func (*SetVotingAddressRequest) Descriptor() ([]byte, []int)
func (*SetVotingAddressRequest) GetVotingAddress ¶ added in v1.0.0
func (m *SetVotingAddressRequest) GetVotingAddress() string
func (*SetVotingAddressRequest) ProtoMessage ¶ added in v1.0.0
func (*SetVotingAddressRequest) ProtoMessage()
func (*SetVotingAddressRequest) Reset ¶ added in v1.0.0
func (m *SetVotingAddressRequest) Reset()
func (*SetVotingAddressRequest) String ¶ added in v1.0.0
func (m *SetVotingAddressRequest) String() string
type SetVotingAddressResponse ¶ added in v1.0.0
type SetVotingAddressResponse struct { }
func (*SetVotingAddressResponse) Descriptor ¶ added in v1.0.0
func (*SetVotingAddressResponse) Descriptor() ([]byte, []int)
func (*SetVotingAddressResponse) ProtoMessage ¶ added in v1.0.0
func (*SetVotingAddressResponse) ProtoMessage()
func (*SetVotingAddressResponse) Reset ¶ added in v1.0.0
func (m *SetVotingAddressResponse) Reset()
func (*SetVotingAddressResponse) String ¶ added in v1.0.0
func (m *SetVotingAddressResponse) 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 ¶ added in v0.8.0
func (m *SignTransactionRequest) GetInputIndexes() []uint32
func (*SignTransactionRequest) GetPassphrase ¶ added in v0.8.0
func (m *SignTransactionRequest) GetPassphrase() []byte
func (*SignTransactionRequest) GetSerializedTransaction ¶ added in v0.8.0
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 ¶ added in v0.8.0
func (m *SignTransactionResponse) GetTransaction() []byte
func (*SignTransactionResponse) GetUnsignedInputIndexes ¶ added in v0.8.0
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 ¶ added in v0.8.0
func (m *SpentnessNotificationsRequest) GetAccount() uint32
func (*SpentnessNotificationsRequest) GetNoNotifySpent ¶ added in v0.8.0
func (m *SpentnessNotificationsRequest) GetNoNotifySpent() bool
func (*SpentnessNotificationsRequest) GetNoNotifyUnspent ¶ added in v0.8.0
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 ¶ added in v0.8.0
func (m *SpentnessNotificationsResponse) GetOutputIndex() uint32
func (*SpentnessNotificationsResponse) GetSpender ¶
func (m *SpentnessNotificationsResponse) GetSpender() *SpentnessNotificationsResponse_Spender
func (*SpentnessNotificationsResponse) GetTransactionHash ¶ added in v0.8.0
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 ¶ added in v0.8.0
func (m *SpentnessNotificationsResponse_Spender) GetInputIndex() uint32
func (*SpentnessNotificationsResponse_Spender) GetTransactionHash ¶ added in v0.8.0
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 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) GetAllMempoolTix ¶ added in v0.8.0
func (m *StakeInfoResponse) GetAllMempoolTix() uint32
func (*StakeInfoResponse) GetExpired ¶ added in v0.8.0
func (m *StakeInfoResponse) GetExpired() uint32
func (*StakeInfoResponse) GetImmature ¶ added in v0.8.0
func (m *StakeInfoResponse) GetImmature() uint32
func (*StakeInfoResponse) GetLive ¶ added in v0.8.0
func (m *StakeInfoResponse) GetLive() uint32
func (*StakeInfoResponse) GetMissed ¶ added in v0.8.0
func (m *StakeInfoResponse) GetMissed() uint32
func (*StakeInfoResponse) GetOwnMempoolTix ¶ added in v0.8.0
func (m *StakeInfoResponse) GetOwnMempoolTix() uint32
func (*StakeInfoResponse) GetPoolSize ¶ added in v0.8.0
func (m *StakeInfoResponse) GetPoolSize() uint32
func (*StakeInfoResponse) GetRevoked ¶ added in v0.8.0
func (m *StakeInfoResponse) GetRevoked() uint32
func (*StakeInfoResponse) GetTotalSubsidy ¶ added in v0.8.0
func (m *StakeInfoResponse) GetTotalSubsidy() int64
func (*StakeInfoResponse) GetVoted ¶ added in v0.8.0
func (m *StakeInfoResponse) GetVoted() uint32
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 StartAutoBuyerRequest ¶ added in v1.0.0
type StartAutoBuyerRequest struct { Passphrase []byte `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"` Account uint32 `protobuf:"varint,2,opt,name=account" json:"account,omitempty"` BalanceToMaintain int64 `protobuf:"varint,3,opt,name=balance_to_maintain,json=balanceToMaintain" json:"balance_to_maintain,omitempty"` MaxFeePerKb int64 `protobuf:"varint,4,opt,name=max_fee_per_kb,json=maxFeePerKb" json:"max_fee_per_kb,omitempty"` MaxPriceRelative float64 `protobuf:"fixed64,5,opt,name=max_price_relative,json=maxPriceRelative" json:"max_price_relative,omitempty"` MaxPriceAbsolute int64 `protobuf:"varint,6,opt,name=max_price_absolute,json=maxPriceAbsolute" json:"max_price_absolute,omitempty"` VotingAddress string `protobuf:"bytes,7,opt,name=voting_address,json=votingAddress" json:"voting_address,omitempty"` PoolAddress string `protobuf:"bytes,8,opt,name=pool_address,json=poolAddress" json:"pool_address,omitempty"` PoolFees float64 `protobuf:"fixed64,9,opt,name=pool_fees,json=poolFees" json:"pool_fees,omitempty"` MaxPerBlock int64 `protobuf:"varint,10,opt,name=max_per_block,json=maxPerBlock" json:"max_per_block,omitempty"` }
func (*StartAutoBuyerRequest) Descriptor ¶ added in v1.0.0
func (*StartAutoBuyerRequest) Descriptor() ([]byte, []int)
func (*StartAutoBuyerRequest) GetAccount ¶ added in v1.0.0
func (m *StartAutoBuyerRequest) GetAccount() uint32
func (*StartAutoBuyerRequest) GetBalanceToMaintain ¶ added in v1.0.0
func (m *StartAutoBuyerRequest) GetBalanceToMaintain() int64
func (*StartAutoBuyerRequest) GetMaxFeePerKb ¶ added in v1.0.0
func (m *StartAutoBuyerRequest) GetMaxFeePerKb() int64
func (*StartAutoBuyerRequest) GetMaxPerBlock ¶ added in v1.0.0
func (m *StartAutoBuyerRequest) GetMaxPerBlock() int64
func (*StartAutoBuyerRequest) GetMaxPriceAbsolute ¶ added in v1.0.0
func (m *StartAutoBuyerRequest) GetMaxPriceAbsolute() int64
func (*StartAutoBuyerRequest) GetMaxPriceRelative ¶ added in v1.0.0
func (m *StartAutoBuyerRequest) GetMaxPriceRelative() float64
func (*StartAutoBuyerRequest) GetPassphrase ¶ added in v1.0.0
func (m *StartAutoBuyerRequest) GetPassphrase() []byte
func (*StartAutoBuyerRequest) GetPoolAddress ¶ added in v1.0.0
func (m *StartAutoBuyerRequest) GetPoolAddress() string
func (*StartAutoBuyerRequest) GetPoolFees ¶ added in v1.0.0
func (m *StartAutoBuyerRequest) GetPoolFees() float64
func (*StartAutoBuyerRequest) GetVotingAddress ¶ added in v1.0.0
func (m *StartAutoBuyerRequest) GetVotingAddress() string
func (*StartAutoBuyerRequest) ProtoMessage ¶ added in v1.0.0
func (*StartAutoBuyerRequest) ProtoMessage()
func (*StartAutoBuyerRequest) Reset ¶ added in v1.0.0
func (m *StartAutoBuyerRequest) Reset()
func (*StartAutoBuyerRequest) String ¶ added in v1.0.0
func (m *StartAutoBuyerRequest) String() string
type StartAutoBuyerResponse ¶ added in v1.0.0
type StartAutoBuyerResponse struct { }
func (*StartAutoBuyerResponse) Descriptor ¶ added in v1.0.0
func (*StartAutoBuyerResponse) Descriptor() ([]byte, []int)
func (*StartAutoBuyerResponse) ProtoMessage ¶ added in v1.0.0
func (*StartAutoBuyerResponse) ProtoMessage()
func (*StartAutoBuyerResponse) Reset ¶ added in v1.0.0
func (m *StartAutoBuyerResponse) Reset()
func (*StartAutoBuyerResponse) String ¶ added in v1.0.0
func (m *StartAutoBuyerResponse) 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 ¶ added in v0.8.0
func (m *StartConsensusRpcRequest) GetCertificate() []byte
func (*StartConsensusRpcRequest) GetNetworkAddress ¶ added in v0.8.0
func (m *StartConsensusRpcRequest) GetNetworkAddress() string
func (*StartConsensusRpcRequest) GetPassword ¶ added in v0.8.0
func (m *StartConsensusRpcRequest) GetPassword() []byte
func (*StartConsensusRpcRequest) GetUsername ¶ added in v0.8.0
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 StopAutoBuyerRequest ¶ added in v1.0.0
type StopAutoBuyerRequest struct { }
func (*StopAutoBuyerRequest) Descriptor ¶ added in v1.0.0
func (*StopAutoBuyerRequest) Descriptor() ([]byte, []int)
func (*StopAutoBuyerRequest) ProtoMessage ¶ added in v1.0.0
func (*StopAutoBuyerRequest) ProtoMessage()
func (*StopAutoBuyerRequest) Reset ¶ added in v1.0.0
func (m *StopAutoBuyerRequest) Reset()
func (*StopAutoBuyerRequest) String ¶ added in v1.0.0
func (m *StopAutoBuyerRequest) String() string
type StopAutoBuyerResponse ¶ added in v1.0.0
type StopAutoBuyerResponse struct { }
func (*StopAutoBuyerResponse) Descriptor ¶ added in v1.0.0
func (*StopAutoBuyerResponse) Descriptor() ([]byte, []int)
func (*StopAutoBuyerResponse) ProtoMessage ¶ added in v1.0.0
func (*StopAutoBuyerResponse) ProtoMessage()
func (*StopAutoBuyerResponse) Reset ¶ added in v1.0.0
func (m *StopAutoBuyerResponse) Reset()
func (*StopAutoBuyerResponse) String ¶ added in v1.0.0
func (m *StopAutoBuyerResponse) 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 (m *SubscribeToBlockNotificationsRequest) Reset()
func (*SubscribeToBlockNotificationsRequest) String ¶ added in v0.7.0
func (m *SubscribeToBlockNotificationsRequest) String() string
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 (m *SubscribeToBlockNotificationsResponse) Reset()
func (*SubscribeToBlockNotificationsResponse) String ¶ added in v0.7.0
func (m *SubscribeToBlockNotificationsResponse) String() string
type TicketBuyerConfigRequest ¶ added in v1.0.0
type TicketBuyerConfigRequest struct { }
func (*TicketBuyerConfigRequest) Descriptor ¶ added in v1.0.0
func (*TicketBuyerConfigRequest) Descriptor() ([]byte, []int)
func (*TicketBuyerConfigRequest) ProtoMessage ¶ added in v1.0.0
func (*TicketBuyerConfigRequest) ProtoMessage()
func (*TicketBuyerConfigRequest) Reset ¶ added in v1.0.0
func (m *TicketBuyerConfigRequest) Reset()
func (*TicketBuyerConfigRequest) String ¶ added in v1.0.0
func (m *TicketBuyerConfigRequest) String() string
type TicketBuyerConfigResponse ¶ added in v1.0.0
type TicketBuyerConfigResponse struct { Account uint32 `protobuf:"varint,1,opt,name=account" json:"account,omitempty"` AvgPriceMode string `protobuf:"bytes,2,opt,name=avg_price_mode,json=avgPriceMode" json:"avg_price_mode,omitempty"` AvgPriceVWAPDelta int64 `protobuf:"varint,3,opt,name=avg_priceVWAP_delta,json=avgPriceVWAPDelta" json:"avg_priceVWAP_delta,omitempty"` BalanceToMaintain int64 `protobuf:"varint,4,opt,name=balance_to_maintain,json=balanceToMaintain" json:"balance_to_maintain,omitempty"` BlocksToAvg int64 `protobuf:"varint,5,opt,name=blocks_to_avg,json=blocksToAvg" json:"blocks_to_avg,omitempty"` DontWaitForTickets bool `protobuf:"varint,6,opt,name=dont_wait_for_tickets,json=dontWaitForTickets" json:"dont_wait_for_tickets,omitempty"` ExpiryDelta int64 `protobuf:"varint,7,opt,name=expiry_delta,json=expiryDelta" json:"expiry_delta,omitempty"` FeeSource string `protobuf:"bytes,8,opt,name=fee_source,json=feeSource" json:"fee_source,omitempty"` FeeTargetScaling float64 `protobuf:"fixed64,9,opt,name=fee_target_scaling,json=feeTargetScaling" json:"fee_target_scaling,omitempty"` MinFee int64 `protobuf:"varint,10,opt,name=min_fee,json=minFee" json:"min_fee,omitempty"` MaxFee int64 `protobuf:"varint,12,opt,name=max_fee,json=maxFee" json:"max_fee,omitempty"` MaxPerBlock int64 `protobuf:"varint,13,opt,name=max_per_block,json=maxPerBlock" json:"max_per_block,omitempty"` MaxPriceAbsolute int64 `protobuf:"varint,14,opt,name=max_price_absolute,json=maxPriceAbsolute" json:"max_price_absolute,omitempty"` MaxPriceRelative float64 `protobuf:"fixed64,15,opt,name=max_price_relative,json=maxPriceRelative" json:"max_price_relative,omitempty"` MaxInMempool int64 `protobuf:"varint,17,opt,name=max_in_mempool,json=maxInMempool" json:"max_in_mempool,omitempty"` PoolAddress string `protobuf:"bytes,18,opt,name=pool_address,json=poolAddress" json:"pool_address,omitempty"` PoolFees float64 `protobuf:"fixed64,19,opt,name=pool_fees,json=poolFees" json:"pool_fees,omitempty"` SpreadTicketPurchases bool `protobuf:"varint,20,opt,name=spread_ticket_purchases,json=spreadTicketPurchases" json:"spread_ticket_purchases,omitempty"` VotingAddress string `protobuf:"bytes,21,opt,name=voting_address,json=votingAddress" json:"voting_address,omitempty"` TxFee int64 `protobuf:"varint,22,opt,name=tx_fee,json=txFee" json:"tx_fee,omitempty"` }
func (*TicketBuyerConfigResponse) Descriptor ¶ added in v1.0.0
func (*TicketBuyerConfigResponse) Descriptor() ([]byte, []int)
func (*TicketBuyerConfigResponse) GetAccount ¶ added in v1.0.0
func (m *TicketBuyerConfigResponse) GetAccount() uint32
func (*TicketBuyerConfigResponse) GetAvgPriceMode ¶ added in v1.0.0
func (m *TicketBuyerConfigResponse) GetAvgPriceMode() string
func (*TicketBuyerConfigResponse) GetAvgPriceVWAPDelta ¶ added in v1.0.0
func (m *TicketBuyerConfigResponse) GetAvgPriceVWAPDelta() int64
func (*TicketBuyerConfigResponse) GetBalanceToMaintain ¶ added in v1.0.0
func (m *TicketBuyerConfigResponse) GetBalanceToMaintain() int64
func (*TicketBuyerConfigResponse) GetBlocksToAvg ¶ added in v1.0.0
func (m *TicketBuyerConfigResponse) GetBlocksToAvg() int64
func (*TicketBuyerConfigResponse) GetDontWaitForTickets ¶ added in v1.0.0
func (m *TicketBuyerConfigResponse) GetDontWaitForTickets() bool
func (*TicketBuyerConfigResponse) GetExpiryDelta ¶ added in v1.0.0
func (m *TicketBuyerConfigResponse) GetExpiryDelta() int64
func (*TicketBuyerConfigResponse) GetFeeSource ¶ added in v1.0.0
func (m *TicketBuyerConfigResponse) GetFeeSource() string
func (*TicketBuyerConfigResponse) GetFeeTargetScaling ¶ added in v1.0.0
func (m *TicketBuyerConfigResponse) GetFeeTargetScaling() float64
func (*TicketBuyerConfigResponse) GetMaxFee ¶ added in v1.0.0
func (m *TicketBuyerConfigResponse) GetMaxFee() int64
func (*TicketBuyerConfigResponse) GetMaxInMempool ¶ added in v1.0.0
func (m *TicketBuyerConfigResponse) GetMaxInMempool() int64
func (*TicketBuyerConfigResponse) GetMaxPerBlock ¶ added in v1.0.0
func (m *TicketBuyerConfigResponse) GetMaxPerBlock() int64
func (*TicketBuyerConfigResponse) GetMaxPriceAbsolute ¶ added in v1.0.0
func (m *TicketBuyerConfigResponse) GetMaxPriceAbsolute() int64
func (*TicketBuyerConfigResponse) GetMaxPriceRelative ¶ added in v1.0.0
func (m *TicketBuyerConfigResponse) GetMaxPriceRelative() float64
func (*TicketBuyerConfigResponse) GetMinFee ¶ added in v1.0.0
func (m *TicketBuyerConfigResponse) GetMinFee() int64
func (*TicketBuyerConfigResponse) GetPoolAddress ¶ added in v1.0.0
func (m *TicketBuyerConfigResponse) GetPoolAddress() string
func (*TicketBuyerConfigResponse) GetPoolFees ¶ added in v1.0.0
func (m *TicketBuyerConfigResponse) GetPoolFees() float64
func (*TicketBuyerConfigResponse) GetSpreadTicketPurchases ¶ added in v1.0.0
func (m *TicketBuyerConfigResponse) GetSpreadTicketPurchases() bool
func (*TicketBuyerConfigResponse) GetTxFee ¶ added in v1.0.0
func (m *TicketBuyerConfigResponse) GetTxFee() int64
func (*TicketBuyerConfigResponse) GetVotingAddress ¶ added in v1.0.0
func (m *TicketBuyerConfigResponse) GetVotingAddress() string
func (*TicketBuyerConfigResponse) ProtoMessage ¶ added in v1.0.0
func (*TicketBuyerConfigResponse) ProtoMessage()
func (*TicketBuyerConfigResponse) Reset ¶ added in v1.0.0
func (m *TicketBuyerConfigResponse) Reset()
func (*TicketBuyerConfigResponse) String ¶ added in v1.0.0
func (m *TicketBuyerConfigResponse) String() string
type TicketBuyerServiceClient ¶ added in v1.0.0
type TicketBuyerServiceClient interface { StartAutoBuyer(ctx context.Context, in *StartAutoBuyerRequest, opts ...grpc.CallOption) (*StartAutoBuyerResponse, error) StopAutoBuyer(ctx context.Context, in *StopAutoBuyerRequest, opts ...grpc.CallOption) (*StopAutoBuyerResponse, error) TicketBuyerConfig(ctx context.Context, in *TicketBuyerConfigRequest, opts ...grpc.CallOption) (*TicketBuyerConfigResponse, error) SetAccount(ctx context.Context, in *SetAccountRequest, opts ...grpc.CallOption) (*SetAccountResponse, error) SetBalanceToMaintain(ctx context.Context, in *SetBalanceToMaintainRequest, opts ...grpc.CallOption) (*SetBalanceToMaintainResponse, error) SetMaxFee(ctx context.Context, in *SetMaxFeeRequest, opts ...grpc.CallOption) (*SetMaxFeeResponse, error) SetMaxPriceRelative(ctx context.Context, in *SetMaxPriceRelativeRequest, opts ...grpc.CallOption) (*SetMaxPriceRelativeResponse, error) SetMaxPriceAbsolute(ctx context.Context, in *SetMaxPriceAbsoluteRequest, opts ...grpc.CallOption) (*SetMaxPriceAbsoluteResponse, error) SetVotingAddress(ctx context.Context, in *SetVotingAddressRequest, opts ...grpc.CallOption) (*SetVotingAddressResponse, error) SetPoolAddress(ctx context.Context, in *SetPoolAddressRequest, opts ...grpc.CallOption) (*SetPoolAddressResponse, error) SetPoolFees(ctx context.Context, in *SetPoolFeesRequest, opts ...grpc.CallOption) (*SetPoolFeesResponse, error) SetMaxPerBlock(ctx context.Context, in *SetMaxPerBlockRequest, opts ...grpc.CallOption) (*SetMaxPerBlockResponse, error) }
func NewTicketBuyerServiceClient ¶ added in v1.0.0
func NewTicketBuyerServiceClient(cc *grpc.ClientConn) TicketBuyerServiceClient
type TicketBuyerServiceServer ¶ added in v1.0.0
type TicketBuyerServiceServer interface { StartAutoBuyer(context.Context, *StartAutoBuyerRequest) (*StartAutoBuyerResponse, error) StopAutoBuyer(context.Context, *StopAutoBuyerRequest) (*StopAutoBuyerResponse, error) TicketBuyerConfig(context.Context, *TicketBuyerConfigRequest) (*TicketBuyerConfigResponse, error) SetAccount(context.Context, *SetAccountRequest) (*SetAccountResponse, error) SetBalanceToMaintain(context.Context, *SetBalanceToMaintainRequest) (*SetBalanceToMaintainResponse, error) SetMaxFee(context.Context, *SetMaxFeeRequest) (*SetMaxFeeResponse, error) SetMaxPriceRelative(context.Context, *SetMaxPriceRelativeRequest) (*SetMaxPriceRelativeResponse, error) SetMaxPriceAbsolute(context.Context, *SetMaxPriceAbsoluteRequest) (*SetMaxPriceAbsoluteResponse, error) SetVotingAddress(context.Context, *SetVotingAddressRequest) (*SetVotingAddressResponse, error) SetPoolAddress(context.Context, *SetPoolAddressRequest) (*SetPoolAddressResponse, error) SetPoolFees(context.Context, *SetPoolFeesRequest) (*SetPoolFeesResponse, error) SetMaxPerBlock(context.Context, *SetMaxPerBlockRequest) (*SetMaxPerBlockResponse, error) }
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) GetHeight ¶ added in v0.8.0
func (m *TicketPriceResponse) GetHeight() int32
func (*TicketPriceResponse) GetTicketPrice ¶ added in v0.8.0
func (m *TicketPriceResponse) GetTicketPrice() int64
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"` TransactionType TransactionDetails_TransactionType `` /* 150-byte string literal not displayed */ }
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) GetFee ¶ added in v0.8.0
func (m *TransactionDetails) GetFee() int64
func (*TransactionDetails) GetHash ¶ added in v0.8.0
func (m *TransactionDetails) GetHash() []byte
func (*TransactionDetails) GetTimestamp ¶ added in v0.8.0
func (m *TransactionDetails) GetTimestamp() int64
func (*TransactionDetails) GetTransaction ¶ added in v0.8.0
func (m *TransactionDetails) GetTransaction() []byte
func (*TransactionDetails) GetTransactionType ¶ added in v1.0.0
func (m *TransactionDetails) GetTransactionType() TransactionDetails_TransactionType
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 ¶ added in v0.8.0
func (m *TransactionDetails_Input) GetIndex() uint32
func (*TransactionDetails_Input) GetPreviousAccount ¶ added in v0.8.0
func (m *TransactionDetails_Input) GetPreviousAccount() uint32
func (*TransactionDetails_Input) GetPreviousAmount ¶ added in v0.8.0
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"` Amount int64 `protobuf:"varint,4,opt,name=amount" json:"amount,omitempty"` Address string `protobuf:"bytes,5,opt,name=address" json:"address,omitempty"` OutputScript []byte `protobuf:"bytes,6,opt,name=output_script,json=outputScript,proto3" json:"output_script,omitempty"` }
func (*TransactionDetails_Output) Descriptor ¶
func (*TransactionDetails_Output) Descriptor() ([]byte, []int)
func (*TransactionDetails_Output) GetAccount ¶ added in v0.8.0
func (m *TransactionDetails_Output) GetAccount() uint32
func (*TransactionDetails_Output) GetAddress ¶ added in v0.8.0
func (m *TransactionDetails_Output) GetAddress() string
func (*TransactionDetails_Output) GetAmount ¶ added in v0.8.0
func (m *TransactionDetails_Output) GetAmount() int64
func (*TransactionDetails_Output) GetIndex ¶ added in v0.8.0
func (m *TransactionDetails_Output) GetIndex() uint32
func (*TransactionDetails_Output) GetInternal ¶ added in v0.8.0
func (m *TransactionDetails_Output) GetInternal() bool
func (*TransactionDetails_Output) GetOutputScript ¶ added in v0.8.0
func (m *TransactionDetails_Output) GetOutputScript() []byte
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 TransactionDetails_TransactionType ¶ added in v1.0.0
type TransactionDetails_TransactionType int32
const ( TransactionDetails_REGULAR TransactionDetails_TransactionType = 0 TransactionDetails_TICKET_PURCHASE TransactionDetails_TransactionType = 1 TransactionDetails_VOTE TransactionDetails_TransactionType = 2 TransactionDetails_REVOCATION TransactionDetails_TransactionType = 3 )
func (TransactionDetails_TransactionType) EnumDescriptor ¶ added in v1.0.0
func (TransactionDetails_TransactionType) EnumDescriptor() ([]byte, []int)
func (TransactionDetails_TransactionType) String ¶ added in v1.0.0
func (x TransactionDetails_TransactionType) 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 ¶ added in v0.8.0
func (m *TransactionNotificationsResponse) GetDetachedBlocks() [][]byte
func (*TransactionNotificationsResponse) GetUnminedTransactionHashes ¶ added in v0.8.0
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 ¶ added in v0.8.0
func (m *VersionResponse) GetBuildMetadata() string
func (*VersionResponse) GetMajor ¶ added in v0.8.0
func (m *VersionResponse) GetMajor() uint32
func (*VersionResponse) GetMinor ¶ added in v0.8.0
func (m *VersionResponse) GetMinor() uint32
func (*VersionResponse) GetPatch ¶ added in v0.8.0
func (m *VersionResponse) GetPatch() uint32
func (*VersionResponse) GetPrerelease ¶ added in v0.8.0
func (m *VersionResponse) GetPrerelease() string
func (*VersionResponse) GetVersionString ¶ added in v0.8.0
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 VoteChoicesRequest ¶ added in v1.0.0
type VoteChoicesRequest struct { }
func (*VoteChoicesRequest) Descriptor ¶ added in v1.0.0
func (*VoteChoicesRequest) Descriptor() ([]byte, []int)
func (*VoteChoicesRequest) ProtoMessage ¶ added in v1.0.0
func (*VoteChoicesRequest) ProtoMessage()
func (*VoteChoicesRequest) Reset ¶ added in v1.0.0
func (m *VoteChoicesRequest) Reset()
func (*VoteChoicesRequest) String ¶ added in v1.0.0
func (m *VoteChoicesRequest) String() string
type VoteChoicesResponse ¶ added in v1.0.0
type VoteChoicesResponse struct { Version uint32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"` Choices []*VoteChoicesResponse_Choice `protobuf:"bytes,2,rep,name=choices" json:"choices,omitempty"` Votebits uint32 `protobuf:"varint,3,opt,name=votebits" json:"votebits,omitempty"` }
func (*VoteChoicesResponse) Descriptor ¶ added in v1.0.0
func (*VoteChoicesResponse) Descriptor() ([]byte, []int)
func (*VoteChoicesResponse) GetChoices ¶ added in v1.0.0
func (m *VoteChoicesResponse) GetChoices() []*VoteChoicesResponse_Choice
func (*VoteChoicesResponse) GetVersion ¶ added in v1.0.0
func (m *VoteChoicesResponse) GetVersion() uint32
func (*VoteChoicesResponse) GetVotebits ¶ added in v1.0.0
func (m *VoteChoicesResponse) GetVotebits() uint32
func (*VoteChoicesResponse) ProtoMessage ¶ added in v1.0.0
func (*VoteChoicesResponse) ProtoMessage()
func (*VoteChoicesResponse) Reset ¶ added in v1.0.0
func (m *VoteChoicesResponse) Reset()
func (*VoteChoicesResponse) String ¶ added in v1.0.0
func (m *VoteChoicesResponse) String() string
type VoteChoicesResponse_Choice ¶ added in v1.0.0
type VoteChoicesResponse_Choice struct { AgendaId string `protobuf:"bytes,1,opt,name=agenda_id,json=agendaId" json:"agenda_id,omitempty"` AgendaDescription string `protobuf:"bytes,2,opt,name=agenda_description,json=agendaDescription" json:"agenda_description,omitempty"` ChoiceId string `protobuf:"bytes,3,opt,name=choice_id,json=choiceId" json:"choice_id,omitempty"` ChoiceDescription string `protobuf:"bytes,4,opt,name=choice_description,json=choiceDescription" json:"choice_description,omitempty"` }
func (*VoteChoicesResponse_Choice) Descriptor ¶ added in v1.0.0
func (*VoteChoicesResponse_Choice) Descriptor() ([]byte, []int)
func (*VoteChoicesResponse_Choice) GetAgendaDescription ¶ added in v1.0.0
func (m *VoteChoicesResponse_Choice) GetAgendaDescription() string
func (*VoteChoicesResponse_Choice) GetAgendaId ¶ added in v1.0.0
func (m *VoteChoicesResponse_Choice) GetAgendaId() string
func (*VoteChoicesResponse_Choice) GetChoiceDescription ¶ added in v1.0.0
func (m *VoteChoicesResponse_Choice) GetChoiceDescription() string
func (*VoteChoicesResponse_Choice) GetChoiceId ¶ added in v1.0.0
func (m *VoteChoicesResponse_Choice) GetChoiceId() string
func (*VoteChoicesResponse_Choice) ProtoMessage ¶ added in v1.0.0
func (*VoteChoicesResponse_Choice) ProtoMessage()
func (*VoteChoicesResponse_Choice) Reset ¶ added in v1.0.0
func (m *VoteChoicesResponse_Choice) Reset()
func (*VoteChoicesResponse_Choice) String ¶ added in v1.0.0
func (m *VoteChoicesResponse_Choice) String() string
type VotingServiceClient ¶ added in v1.0.0
type VotingServiceClient interface { VoteChoices(ctx context.Context, in *VoteChoicesRequest, opts ...grpc.CallOption) (*VoteChoicesResponse, error) SetVoteChoices(ctx context.Context, in *SetVoteChoicesRequest, opts ...grpc.CallOption) (*SetVoteChoicesResponse, error) }
func NewVotingServiceClient ¶ added in v1.0.0
func NewVotingServiceClient(cc *grpc.ClientConn) VotingServiceClient
type VotingServiceServer ¶ added in v1.0.0
type VotingServiceServer interface { VoteChoices(context.Context, *VoteChoicesRequest) (*VoteChoicesResponse, error) SetVoteChoices(context.Context, *SetVoteChoicesRequest) (*SetVoteChoicesResponse, 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 ¶ added in v0.8.0
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) DiscoverAddresses(ctx context.Context, in *DiscoverAddressesRequest, opts ...grpc.CallOption) (*DiscoverAddressesResponse, error) SubscribeToBlockNotifications(ctx context.Context, in *SubscribeToBlockNotificationsRequest, opts ...grpc.CallOption) (*SubscribeToBlockNotificationsResponse, error) FetchHeaders(ctx context.Context, in *FetchHeadersRequest, opts ...grpc.CallOption) (*FetchHeadersResponse, 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) DiscoverAddresses(context.Context, *DiscoverAddressesRequest) (*DiscoverAddressesResponse, error) SubscribeToBlockNotifications(context.Context, *SubscribeToBlockNotificationsRequest) (*SubscribeToBlockNotificationsResponse, error) FetchHeaders(context.Context, *FetchHeadersRequest) (*FetchHeadersResponse, 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) (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 }
Click to show internal directories.
Click to hide internal directories.