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 GetTransactionRequest GetTransactionResponse GetTransactionsRequest GetTransactionsResponse GetTicketsRequest GetTicketsResponse TicketPriceRequest TicketPriceResponse StakeInfoRequest StakeInfoResponse BlockInfoRequest BlockInfoResponse ChangePassphraseRequest ChangePassphraseResponse FundTransactionRequest FundTransactionResponse UnspentOutputsRequest UnspentOutputResponse ConstructTransactionRequest ConstructTransactionResponse SignTransactionRequest SignTransactionResponse CreateSignatureRequest CreateSignatureResponse PublishTransactionRequest PublishTransactionResponse PublishUnminedTransactionsRequest PublishUnminedTransactionsResponse PurchaseTicketsRequest PurchaseTicketsResponse RevokeTicketsRequest RevokeTicketsResponse LoadActiveDataFiltersRequest LoadActiveDataFiltersResponse SignMessageRequest SignMessageResponse SignMessagesRequest SignMessagesResponse TransactionNotificationsRequest TransactionNotificationsResponse AccountNotificationsRequest AccountNotificationsResponse ConfirmationNotificationsRequest ConfirmationNotificationsResponse 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 VerifyMessageRequest VerifyMessageResponse DecodedTransaction DecodeRawTransactionRequest DecodeRawTransactionResponse ValidateAddressRequest ValidateAddressResponse CommittedTicketsRequest CommittedTicketsResponse BestBlockRequest BestBlockResponse
Index ¶
- Variables
- func RegisterAgendaServiceServer(s *grpc.Server, srv AgendaServiceServer)
- func RegisterDecodeMessageServiceServer(s *grpc.Server, srv DecodeMessageServiceServer)
- func RegisterMessageVerificationServiceServer(s *grpc.Server, srv MessageVerificationServiceServer)
- 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) GetImmatureStakeGeneration() int64
- func (m *BalanceResponse) GetLockedByTickets() int64
- func (m *BalanceResponse) GetSpendable() int64
- func (m *BalanceResponse) GetTotal() int64
- func (m *BalanceResponse) GetUnconfirmed() int64
- func (m *BalanceResponse) GetVotingAuthority() int64
- func (*BalanceResponse) ProtoMessage()
- func (m *BalanceResponse) Reset()
- func (m *BalanceResponse) String() string
- type BestBlockRequest
- type BestBlockResponse
- type BlockDetails
- func (*BlockDetails) Descriptor() ([]byte, []int)
- func (m *BlockDetails) GetApprovesParent() bool
- 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 BlockInfoRequest
- type BlockInfoResponse
- func (*BlockInfoResponse) Descriptor() ([]byte, []int)
- func (m *BlockInfoResponse) GetApprovesParent() bool
- func (m *BlockInfoResponse) GetBlockHash() []byte
- func (m *BlockInfoResponse) GetBlockHeader() []byte
- func (m *BlockInfoResponse) GetBlockHeight() int32
- func (m *BlockInfoResponse) GetConfirmations() int32
- func (m *BlockInfoResponse) GetStakeInvalidated() bool
- func (m *BlockInfoResponse) GetTimestamp() int64
- func (*BlockInfoResponse) ProtoMessage()
- func (m *BlockInfoResponse) Reset()
- func (m *BlockInfoResponse) 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 CommittedTicketsRequest
- type CommittedTicketsResponse
- func (*CommittedTicketsResponse) Descriptor() ([]byte, []int)
- func (m *CommittedTicketsResponse) GetTicketAddresses() []*CommittedTicketsResponse_TicketAddress
- func (*CommittedTicketsResponse) ProtoMessage()
- func (m *CommittedTicketsResponse) Reset()
- func (m *CommittedTicketsResponse) String() string
- type CommittedTicketsResponse_TicketAddress
- func (*CommittedTicketsResponse_TicketAddress) Descriptor() ([]byte, []int)
- func (m *CommittedTicketsResponse_TicketAddress) GetAddress() string
- func (m *CommittedTicketsResponse_TicketAddress) GetTicket() []byte
- func (*CommittedTicketsResponse_TicketAddress) ProtoMessage()
- func (m *CommittedTicketsResponse_TicketAddress) Reset()
- func (m *CommittedTicketsResponse_TicketAddress) String() string
- type ConfirmationNotificationsRequest
- func (*ConfirmationNotificationsRequest) Descriptor() ([]byte, []int)
- func (m *ConfirmationNotificationsRequest) GetStopAfter() int32
- func (m *ConfirmationNotificationsRequest) GetTxHashes() [][]byte
- func (*ConfirmationNotificationsRequest) ProtoMessage()
- func (m *ConfirmationNotificationsRequest) Reset()
- func (m *ConfirmationNotificationsRequest) String() string
- type ConfirmationNotificationsResponse
- func (*ConfirmationNotificationsResponse) Descriptor() ([]byte, []int)
- func (m *ConfirmationNotificationsResponse) GetConfirmations() []*ConfirmationNotificationsResponse_TransactionConfirmations
- func (*ConfirmationNotificationsResponse) ProtoMessage()
- func (m *ConfirmationNotificationsResponse) Reset()
- func (m *ConfirmationNotificationsResponse) String() string
- type ConfirmationNotificationsResponse_TransactionConfirmations
- func (*ConfirmationNotificationsResponse_TransactionConfirmations) Descriptor() ([]byte, []int)
- func (m *ConfirmationNotificationsResponse_TransactionConfirmations) GetBlockHash() []byte
- func (m *ConfirmationNotificationsResponse_TransactionConfirmations) GetBlockHeight() int32
- func (m *ConfirmationNotificationsResponse_TransactionConfirmations) GetConfirmations() int32
- func (m *ConfirmationNotificationsResponse_TransactionConfirmations) GetTxHash() []byte
- func (*ConfirmationNotificationsResponse_TransactionConfirmations) ProtoMessage()
- func (m *ConfirmationNotificationsResponse_TransactionConfirmations) Reset()
- func (m *ConfirmationNotificationsResponse_TransactionConfirmations) String() string
- 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 CreateSignatureRequest
- func (*CreateSignatureRequest) Descriptor() ([]byte, []int)
- func (m *CreateSignatureRequest) GetAddress() string
- func (m *CreateSignatureRequest) GetHashType() CreateSignatureRequest_SigHashType
- func (m *CreateSignatureRequest) GetInputIndex() uint32
- func (m *CreateSignatureRequest) GetPassphrase() []byte
- func (m *CreateSignatureRequest) GetPreviousPkScript() []byte
- func (m *CreateSignatureRequest) GetSerializedTransaction() []byte
- func (*CreateSignatureRequest) ProtoMessage()
- func (m *CreateSignatureRequest) Reset()
- func (m *CreateSignatureRequest) String() string
- type CreateSignatureRequest_SigHashType
- type CreateSignatureResponse
- func (*CreateSignatureResponse) Descriptor() ([]byte, []int)
- func (m *CreateSignatureResponse) GetPublicKey() []byte
- func (m *CreateSignatureResponse) GetSignature() []byte
- func (*CreateSignatureResponse) ProtoMessage()
- func (m *CreateSignatureResponse) Reset()
- func (m *CreateSignatureResponse) 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 DecodeMessageServiceClient
- type DecodeMessageServiceServer
- type DecodeRawTransactionRequest
- type DecodeRawTransactionResponse
- type DecodeSeedRequest
- type DecodeSeedResponse
- type DecodedTransaction
- func (*DecodedTransaction) Descriptor() ([]byte, []int)
- func (m *DecodedTransaction) GetExpiry() uint32
- func (m *DecodedTransaction) GetInputs() []*DecodedTransaction_Input
- func (m *DecodedTransaction) GetLockTime() uint32
- func (m *DecodedTransaction) GetOutputs() []*DecodedTransaction_Output
- func (m *DecodedTransaction) GetTransactionHash() []byte
- func (m *DecodedTransaction) GetTransactionType() TransactionDetails_TransactionType
- func (m *DecodedTransaction) GetVersion() int32
- func (*DecodedTransaction) ProtoMessage()
- func (m *DecodedTransaction) Reset()
- func (m *DecodedTransaction) String() string
- type DecodedTransaction_Input
- func (*DecodedTransaction_Input) Descriptor() ([]byte, []int)
- func (m *DecodedTransaction_Input) GetAmountIn() int64
- func (m *DecodedTransaction_Input) GetBlockHeight() uint32
- func (m *DecodedTransaction_Input) GetBlockIndex() uint32
- func (m *DecodedTransaction_Input) GetPreviousTransactionHash() []byte
- func (m *DecodedTransaction_Input) GetPreviousTransactionIndex() uint32
- func (m *DecodedTransaction_Input) GetSequence() uint32
- func (m *DecodedTransaction_Input) GetSignatureScript() []byte
- func (m *DecodedTransaction_Input) GetSignatureScriptAsm() string
- func (m *DecodedTransaction_Input) GetTree() DecodedTransaction_Input_TreeType
- func (*DecodedTransaction_Input) ProtoMessage()
- func (m *DecodedTransaction_Input) Reset()
- func (m *DecodedTransaction_Input) String() string
- type DecodedTransaction_Input_TreeType
- type DecodedTransaction_Output
- func (*DecodedTransaction_Output) Descriptor() ([]byte, []int)
- func (m *DecodedTransaction_Output) GetAddresses() []string
- func (m *DecodedTransaction_Output) GetCommitmentAmount() int64
- func (m *DecodedTransaction_Output) GetIndex() uint32
- func (m *DecodedTransaction_Output) GetRequiredSignatures() int32
- func (m *DecodedTransaction_Output) GetScript() []byte
- func (m *DecodedTransaction_Output) GetScriptAsm() string
- func (m *DecodedTransaction_Output) GetScriptClass() DecodedTransaction_Output_ScriptClass
- func (m *DecodedTransaction_Output) GetValue() int64
- func (m *DecodedTransaction_Output) GetVersion() int32
- func (*DecodedTransaction_Output) ProtoMessage()
- func (m *DecodedTransaction_Output) Reset()
- func (m *DecodedTransaction_Output) String() string
- type DecodedTransaction_Output_ScriptClass
- 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 GetTicketsRequest
- func (*GetTicketsRequest) Descriptor() ([]byte, []int)
- func (m *GetTicketsRequest) GetEndingBlockHash() []byte
- func (m *GetTicketsRequest) GetEndingBlockHeight() int32
- func (m *GetTicketsRequest) GetStartingBlockHash() []byte
- func (m *GetTicketsRequest) GetStartingBlockHeight() int32
- func (m *GetTicketsRequest) GetTargetTicketCount() int32
- func (*GetTicketsRequest) ProtoMessage()
- func (m *GetTicketsRequest) Reset()
- func (m *GetTicketsRequest) String() string
- type GetTicketsResponse
- func (*GetTicketsResponse) Descriptor() ([]byte, []int)
- func (m *GetTicketsResponse) GetBlock() *GetTicketsResponse_BlockDetails
- func (m *GetTicketsResponse) GetTicket() *GetTicketsResponse_TicketDetails
- func (*GetTicketsResponse) ProtoMessage()
- func (m *GetTicketsResponse) Reset()
- func (m *GetTicketsResponse) String() string
- type GetTicketsResponse_BlockDetails
- func (*GetTicketsResponse_BlockDetails) Descriptor() ([]byte, []int)
- func (m *GetTicketsResponse_BlockDetails) GetHash() []byte
- func (m *GetTicketsResponse_BlockDetails) GetHeight() int32
- func (m *GetTicketsResponse_BlockDetails) GetTimestamp() int64
- func (*GetTicketsResponse_BlockDetails) ProtoMessage()
- func (m *GetTicketsResponse_BlockDetails) Reset()
- func (m *GetTicketsResponse_BlockDetails) String() string
- type GetTicketsResponse_TicketDetails
- func (*GetTicketsResponse_TicketDetails) Descriptor() ([]byte, []int)
- func (m *GetTicketsResponse_TicketDetails) GetSpender() *TransactionDetails
- func (m *GetTicketsResponse_TicketDetails) GetTicket() *TransactionDetails
- func (m *GetTicketsResponse_TicketDetails) GetTicketStatus() GetTicketsResponse_TicketDetails_TicketStatus
- func (*GetTicketsResponse_TicketDetails) ProtoMessage()
- func (m *GetTicketsResponse_TicketDetails) Reset()
- func (m *GetTicketsResponse_TicketDetails) String() string
- type GetTicketsResponse_TicketDetails_TicketStatus
- type GetTransactionRequest
- type GetTransactionResponse
- func (*GetTransactionResponse) Descriptor() ([]byte, []int)
- func (m *GetTransactionResponse) GetBlockHash() []byte
- func (m *GetTransactionResponse) GetConfirmations() int32
- func (m *GetTransactionResponse) GetTransaction() *TransactionDetails
- func (*GetTransactionResponse) ProtoMessage()
- func (m *GetTransactionResponse) Reset()
- func (m *GetTransactionResponse) 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 (m *GetTransactionsRequest) GetTargetTransactionCount() 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) GetRequireRedeemable() bool
- 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 MessageVerificationServiceClient
- type MessageVerificationServiceServer
- type NetworkRequest
- type NetworkResponse
- type NextAccountRequest
- type NextAccountResponse
- type NextAddressRequest
- func (*NextAddressRequest) Descriptor() ([]byte, []int)
- func (m *NextAddressRequest) GetAccount() uint32
- func (m *NextAddressRequest) GetGapPolicy() NextAddressRequest_GapPolicy
- func (m *NextAddressRequest) GetKind() NextAddressRequest_Kind
- func (*NextAddressRequest) ProtoMessage()
- func (m *NextAddressRequest) Reset()
- func (m *NextAddressRequest) String() string
- type NextAddressRequest_GapPolicy
- type NextAddressRequest_Kind
- type NextAddressResponse
- type OpenWalletRequest
- type OpenWalletResponse
- type PingRequest
- type PingResponse
- type PublishTransactionRequest
- type PublishTransactionResponse
- type PublishUnminedTransactionsRequest
- type PublishUnminedTransactionsResponse
- 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 RevokeTicketsRequest
- type RevokeTicketsResponse
- 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 SignMessageRequest
- func (*SignMessageRequest) Descriptor() ([]byte, []int)
- func (m *SignMessageRequest) GetAddress() string
- func (m *SignMessageRequest) GetMessage() string
- func (m *SignMessageRequest) GetPassphrase() []byte
- func (*SignMessageRequest) ProtoMessage()
- func (m *SignMessageRequest) Reset()
- func (m *SignMessageRequest) String() string
- type SignMessageResponse
- type SignMessagesRequest
- func (*SignMessagesRequest) Descriptor() ([]byte, []int)
- func (m *SignMessagesRequest) GetMessages() []*SignMessagesRequest_Message
- func (m *SignMessagesRequest) GetPassphrase() []byte
- func (*SignMessagesRequest) ProtoMessage()
- func (m *SignMessagesRequest) Reset()
- func (m *SignMessagesRequest) String() string
- type SignMessagesRequest_Message
- func (*SignMessagesRequest_Message) Descriptor() ([]byte, []int)
- func (m *SignMessagesRequest_Message) GetAddress() string
- func (m *SignMessagesRequest_Message) GetMessage() string
- func (*SignMessagesRequest_Message) ProtoMessage()
- func (m *SignMessagesRequest_Message) Reset()
- func (m *SignMessagesRequest_Message) String() string
- type SignMessagesResponse
- type SignMessagesResponse_SignReply
- func (*SignMessagesResponse_SignReply) Descriptor() ([]byte, []int)
- func (m *SignMessagesResponse_SignReply) GetError() string
- func (m *SignMessagesResponse_SignReply) GetSignature() []byte
- func (*SignMessagesResponse_SignReply) ProtoMessage()
- func (m *SignMessagesResponse_SignReply) Reset()
- func (m *SignMessagesResponse_SignReply) String() string
- type SignTransactionRequest
- func (*SignTransactionRequest) Descriptor() ([]byte, []int)
- func (m *SignTransactionRequest) GetAdditionalScripts() []*SignTransactionRequest_AdditionalScript
- 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 SignTransactionRequest_AdditionalScript
- func (*SignTransactionRequest_AdditionalScript) Descriptor() ([]byte, []int)
- func (m *SignTransactionRequest_AdditionalScript) GetOutputIndex() uint32
- func (m *SignTransactionRequest_AdditionalScript) GetPkScript() []byte
- func (m *SignTransactionRequest_AdditionalScript) GetTransactionHash() []byte
- func (m *SignTransactionRequest_AdditionalScript) GetTree() int32
- func (*SignTransactionRequest_AdditionalScript) ProtoMessage()
- func (m *SignTransactionRequest_AdditionalScript) Reset()
- func (m *SignTransactionRequest_AdditionalScript) 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 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 UnspentOutputResponse
- func (*UnspentOutputResponse) Descriptor() ([]byte, []int)
- func (m *UnspentOutputResponse) GetAmount() int64
- func (m *UnspentOutputResponse) GetAmountSum() int64
- func (m *UnspentOutputResponse) GetFromCoinbase() bool
- func (m *UnspentOutputResponse) GetOutputIndex() uint32
- func (m *UnspentOutputResponse) GetPkScript() []byte
- func (m *UnspentOutputResponse) GetReceiveTime() int64
- func (m *UnspentOutputResponse) GetTransactionHash() []byte
- func (m *UnspentOutputResponse) GetTree() int32
- func (*UnspentOutputResponse) ProtoMessage()
- func (m *UnspentOutputResponse) Reset()
- func (m *UnspentOutputResponse) String() string
- type UnspentOutputsRequest
- func (*UnspentOutputsRequest) Descriptor() ([]byte, []int)
- func (m *UnspentOutputsRequest) GetAccount() uint32
- func (m *UnspentOutputsRequest) GetIncludeImmatureCoinbases() bool
- func (m *UnspentOutputsRequest) GetRequiredConfirmations() int32
- func (m *UnspentOutputsRequest) GetTargetAmount() int64
- func (*UnspentOutputsRequest) ProtoMessage()
- func (m *UnspentOutputsRequest) Reset()
- func (m *UnspentOutputsRequest) String() string
- type ValidateAddressRequest
- type ValidateAddressResponse
- func (*ValidateAddressResponse) Descriptor() ([]byte, []int)
- func (m *ValidateAddressResponse) GetAccountNumber() uint32
- func (m *ValidateAddressResponse) GetIsMine() bool
- func (m *ValidateAddressResponse) GetIsScript() bool
- func (m *ValidateAddressResponse) GetIsValid() bool
- func (m *ValidateAddressResponse) GetPayToAddrScript() []byte
- func (m *ValidateAddressResponse) GetPkScriptAddrs() []string
- func (m *ValidateAddressResponse) GetPubKey() []byte
- func (m *ValidateAddressResponse) GetPubKeyAddr() string
- func (m *ValidateAddressResponse) GetScriptType() ValidateAddressResponse_ScriptType
- func (m *ValidateAddressResponse) GetSigsRequired() uint32
- func (*ValidateAddressResponse) ProtoMessage()
- func (m *ValidateAddressResponse) Reset()
- func (m *ValidateAddressResponse) String() string
- type ValidateAddressResponse_ScriptType
- type VerifyMessageRequest
- func (*VerifyMessageRequest) Descriptor() ([]byte, []int)
- func (m *VerifyMessageRequest) GetAddress() string
- func (m *VerifyMessageRequest) GetMessage() string
- func (m *VerifyMessageRequest) GetSignature() []byte
- func (*VerifyMessageRequest) ProtoMessage()
- func (m *VerifyMessageRequest) Reset()
- func (m *VerifyMessageRequest) String() string
- type VerifyMessageResponse
- 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_ConfirmationNotificationsClient
- type WalletService_ConfirmationNotificationsServer
- type WalletService_GetTicketsClient
- type WalletService_GetTicketsServer
- type WalletService_GetTransactionsClient
- type WalletService_GetTransactionsServer
- type WalletService_RescanClient
- type WalletService_RescanServer
- type WalletService_TransactionNotificationsClient
- type WalletService_TransactionNotificationsServer
- type WalletService_UnspentOutputsClient
- type WalletService_UnspentOutputsServer
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 CreateSignatureRequest_SigHashType_name = map[int32]string{
0: "SIGHASH_OLD",
1: "SIGHASH_ALL",
2: "SIGHASH_NONE",
3: "SIGHASH_SINGLE",
4: "SIGHASH_ALLVALUE",
128: "SIGHASH_ANYONECANPAY",
}
View Source
var CreateSignatureRequest_SigHashType_value = map[string]int32{
"SIGHASH_OLD": 0,
"SIGHASH_ALL": 1,
"SIGHASH_NONE": 2,
"SIGHASH_SINGLE": 3,
"SIGHASH_ALLVALUE": 4,
"SIGHASH_ANYONECANPAY": 128,
}
View Source
var DecodedTransaction_Input_TreeType_name = map[int32]string{
0: "REGULAR",
-1: "UNKNOWN",
1: "STAKE",
}
View Source
var DecodedTransaction_Input_TreeType_value = map[string]int32{
"REGULAR": 0,
"UNKNOWN": -1,
"STAKE": 1,
}
View Source
var DecodedTransaction_Output_ScriptClass_name = map[int32]string{
0: "NON_STANDARD",
1: "PUB_KEY",
2: "PUB_KEY_HASH",
3: "SCRIPT_HASH",
4: "MULTI_SIG",
5: "NULL_DATA",
6: "STAKE_SUBMISSION",
7: "STAKE_GEN",
8: "STAKE_REVOCATION",
9: "STAKE_SUB_CHANGE",
10: "PUB_KEY_ALT",
11: "PUB_KEY_HASH_ALT",
}
View Source
var DecodedTransaction_Output_ScriptClass_value = map[string]int32{
"NON_STANDARD": 0,
"PUB_KEY": 1,
"PUB_KEY_HASH": 2,
"SCRIPT_HASH": 3,
"MULTI_SIG": 4,
"NULL_DATA": 5,
"STAKE_SUBMISSION": 6,
"STAKE_GEN": 7,
"STAKE_REVOCATION": 8,
"STAKE_SUB_CHANGE": 9,
"PUB_KEY_ALT": 10,
"PUB_KEY_HASH_ALT": 11,
}
View Source
var GetTicketsResponse_TicketDetails_TicketStatus_name = map[int32]string{
0: "UNKNOWN",
1: "UNMINED",
2: "IMMATURE",
3: "LIVE",
4: "VOTED",
5: "MISSED",
6: "EXPIRED",
7: "REVOKED",
}
View Source
var GetTicketsResponse_TicketDetails_TicketStatus_value = map[string]int32{
"UNKNOWN": 0,
"UNMINED": 1,
"IMMATURE": 2,
"LIVE": 3,
"VOTED": 4,
"MISSED": 5,
"EXPIRED": 6,
"REVOKED": 7,
}
View Source
var NextAddressRequest_GapPolicy_name = map[int32]string{
0: "GAP_POLICY_UNSPECIFIED",
1: "GAP_POLICY_ERROR",
2: "GAP_POLICY_IGNORE",
3: "GAP_POLICY_WRAP",
}
View Source
var NextAddressRequest_GapPolicy_value = map[string]int32{
"GAP_POLICY_UNSPECIFIED": 0,
"GAP_POLICY_ERROR": 1,
"GAP_POLICY_IGNORE": 2,
"GAP_POLICY_WRAP": 3,
}
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",
4: "COINBASE",
1: "TICKET_PURCHASE",
2: "VOTE",
3: "REVOCATION",
}
View Source
var TransactionDetails_TransactionType_value = map[string]int32{
"REGULAR": 0,
"COINBASE": 4,
"TICKET_PURCHASE": 1,
"VOTE": 2,
"REVOCATION": 3,
}
View Source
var ValidateAddressResponse_ScriptType_name = map[int32]string{
0: "NonStandardTy",
1: "PubKeyTy",
2: "PubKeyHashTy",
3: "ScriptHashTy",
4: "MultiSigTy",
5: "NullDataTy",
6: "StakeSubmissionTy",
7: "StakeGenTy",
8: "StakeRevocationTy",
9: "StakeSubChangeTy",
10: "PubkeyAltTy",
11: "PubkeyHashAltTy",
}
View Source
var ValidateAddressResponse_ScriptType_value = map[string]int32{
"NonStandardTy": 0,
"PubKeyTy": 1,
"PubKeyHashTy": 2,
"ScriptHashTy": 3,
"MultiSigTy": 4,
"NullDataTy": 5,
"StakeSubmissionTy": 6,
"StakeGenTy": 7,
"StakeRevocationTy": 8,
"StakeSubChangeTy": 9,
"PubkeyAltTy": 10,
"PubkeyHashAltTy": 11,
}
Functions ¶
func RegisterAgendaServiceServer ¶ added in v1.0.0
func RegisterAgendaServiceServer(s *grpc.Server, srv AgendaServiceServer)
func RegisterDecodeMessageServiceServer ¶ added in v1.1.2
func RegisterDecodeMessageServiceServer(s *grpc.Server, srv DecodeMessageServiceServer)
func RegisterMessageVerificationServiceServer ¶ added in v1.0.7
func RegisterMessageVerificationServiceServer(s *grpc.Server, srv MessageVerificationServiceServer)
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"` ImmatureStakeGeneration int64 `` /* 126-byte string literal not displayed */ LockedByTickets int64 `protobuf:"varint,5,opt,name=locked_by_tickets,json=lockedByTickets" json:"locked_by_tickets,omitempty"` VotingAuthority int64 `protobuf:"varint,6,opt,name=voting_authority,json=votingAuthority" json:"voting_authority,omitempty"` Unconfirmed int64 `protobuf:"varint,7,opt,name=unconfirmed" json:"unconfirmed,omitempty"` }
func (*BalanceResponse) Descriptor ¶
func (*BalanceResponse) Descriptor() ([]byte, []int)
func (*BalanceResponse) GetImmatureReward ¶ added in v0.8.0
func (m *BalanceResponse) GetImmatureReward() int64
func (*BalanceResponse) GetImmatureStakeGeneration ¶ added in v1.0.4
func (m *BalanceResponse) GetImmatureStakeGeneration() int64
func (*BalanceResponse) GetLockedByTickets ¶ added in v1.0.4
func (m *BalanceResponse) GetLockedByTickets() 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) GetUnconfirmed ¶ added in v1.1.0
func (m *BalanceResponse) GetUnconfirmed() int64
func (*BalanceResponse) GetVotingAuthority ¶ added in v1.0.4
func (m *BalanceResponse) GetVotingAuthority() int64
func (*BalanceResponse) ProtoMessage ¶
func (*BalanceResponse) ProtoMessage()
func (*BalanceResponse) Reset ¶
func (m *BalanceResponse) Reset()
func (*BalanceResponse) String ¶
func (m *BalanceResponse) String() string
type BestBlockRequest ¶ added in v1.2.0
type BestBlockRequest struct { }
func (*BestBlockRequest) Descriptor ¶ added in v1.2.0
func (*BestBlockRequest) Descriptor() ([]byte, []int)
func (*BestBlockRequest) ProtoMessage ¶ added in v1.2.0
func (*BestBlockRequest) ProtoMessage()
func (*BestBlockRequest) Reset ¶ added in v1.2.0
func (m *BestBlockRequest) Reset()
func (*BestBlockRequest) String ¶ added in v1.2.0
func (m *BestBlockRequest) String() string
type BestBlockResponse ¶ added in v1.2.0
type BestBlockResponse struct { Height uint32 `protobuf:"varint,1,opt,name=height" json:"height,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` }
func (*BestBlockResponse) Descriptor ¶ added in v1.2.0
func (*BestBlockResponse) Descriptor() ([]byte, []int)
func (*BestBlockResponse) GetHash ¶ added in v1.2.0
func (m *BestBlockResponse) GetHash() []byte
func (*BestBlockResponse) GetHeight ¶ added in v1.2.0
func (m *BestBlockResponse) GetHeight() uint32
func (*BestBlockResponse) ProtoMessage ¶ added in v1.2.0
func (*BestBlockResponse) ProtoMessage()
func (*BestBlockResponse) Reset ¶ added in v1.2.0
func (m *BestBlockResponse) Reset()
func (*BestBlockResponse) String ¶ added in v1.2.0
func (m *BestBlockResponse) 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"` ApprovesParent bool `protobuf:"varint,5,opt,name=approves_parent,json=approvesParent" json:"approves_parent,omitempty"` Transactions []*TransactionDetails `protobuf:"bytes,4,rep,name=transactions" json:"transactions,omitempty"` }
func (*BlockDetails) Descriptor ¶
func (*BlockDetails) Descriptor() ([]byte, []int)
func (*BlockDetails) GetApprovesParent ¶ added in v1.2.0
func (m *BlockDetails) GetApprovesParent() bool
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 BlockInfoRequest ¶ added in v1.0.3
type BlockInfoRequest struct { BlockHash []byte `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` BlockHeight int32 `protobuf:"varint,2,opt,name=block_height,json=blockHeight" json:"block_height,omitempty"` }
func (*BlockInfoRequest) Descriptor ¶ added in v1.0.3
func (*BlockInfoRequest) Descriptor() ([]byte, []int)
func (*BlockInfoRequest) GetBlockHash ¶ added in v1.0.3
func (m *BlockInfoRequest) GetBlockHash() []byte
func (*BlockInfoRequest) GetBlockHeight ¶ added in v1.0.3
func (m *BlockInfoRequest) GetBlockHeight() int32
func (*BlockInfoRequest) ProtoMessage ¶ added in v1.0.3
func (*BlockInfoRequest) ProtoMessage()
func (*BlockInfoRequest) Reset ¶ added in v1.0.3
func (m *BlockInfoRequest) Reset()
func (*BlockInfoRequest) String ¶ added in v1.0.3
func (m *BlockInfoRequest) String() string
type BlockInfoResponse ¶ added in v1.0.3
type BlockInfoResponse struct { BlockHash []byte `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` BlockHeight int32 `protobuf:"varint,2,opt,name=block_height,json=blockHeight" json:"block_height,omitempty"` Confirmations int32 `protobuf:"varint,3,opt,name=confirmations" json:"confirmations,omitempty"` Timestamp int64 `protobuf:"varint,4,opt,name=timestamp" json:"timestamp,omitempty"` BlockHeader []byte `protobuf:"bytes,5,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"` StakeInvalidated bool `protobuf:"varint,6,opt,name=stake_invalidated,json=stakeInvalidated" json:"stake_invalidated,omitempty"` ApprovesParent bool `protobuf:"varint,7,opt,name=approves_parent,json=approvesParent" json:"approves_parent,omitempty"` }
func (*BlockInfoResponse) Descriptor ¶ added in v1.0.3
func (*BlockInfoResponse) Descriptor() ([]byte, []int)
func (*BlockInfoResponse) GetApprovesParent ¶ added in v1.2.0
func (m *BlockInfoResponse) GetApprovesParent() bool
func (*BlockInfoResponse) GetBlockHash ¶ added in v1.0.3
func (m *BlockInfoResponse) GetBlockHash() []byte
func (*BlockInfoResponse) GetBlockHeader ¶ added in v1.0.3
func (m *BlockInfoResponse) GetBlockHeader() []byte
func (*BlockInfoResponse) GetBlockHeight ¶ added in v1.0.3
func (m *BlockInfoResponse) GetBlockHeight() int32
func (*BlockInfoResponse) GetConfirmations ¶ added in v1.0.3
func (m *BlockInfoResponse) GetConfirmations() int32
func (*BlockInfoResponse) GetStakeInvalidated ¶ added in v1.0.3
func (m *BlockInfoResponse) GetStakeInvalidated() bool
func (*BlockInfoResponse) GetTimestamp ¶ added in v1.0.3
func (m *BlockInfoResponse) GetTimestamp() int64
func (*BlockInfoResponse) ProtoMessage ¶ added in v1.0.3
func (*BlockInfoResponse) ProtoMessage()
func (*BlockInfoResponse) Reset ¶ added in v1.0.3
func (m *BlockInfoResponse) Reset()
func (*BlockInfoResponse) String ¶ added in v1.0.3
func (m *BlockInfoResponse) 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 CommittedTicketsRequest ¶ added in v1.2.0
type CommittedTicketsRequest struct {
Tickets [][]byte `protobuf:"bytes,1,rep,name=tickets,proto3" json:"tickets,omitempty"`
}
func (*CommittedTicketsRequest) Descriptor ¶ added in v1.2.0
func (*CommittedTicketsRequest) Descriptor() ([]byte, []int)
func (*CommittedTicketsRequest) GetTickets ¶ added in v1.2.0
func (m *CommittedTicketsRequest) GetTickets() [][]byte
func (*CommittedTicketsRequest) ProtoMessage ¶ added in v1.2.0
func (*CommittedTicketsRequest) ProtoMessage()
func (*CommittedTicketsRequest) Reset ¶ added in v1.2.0
func (m *CommittedTicketsRequest) Reset()
func (*CommittedTicketsRequest) String ¶ added in v1.2.0
func (m *CommittedTicketsRequest) String() string
type CommittedTicketsResponse ¶ added in v1.2.0
type CommittedTicketsResponse struct {
TicketAddresses []*CommittedTicketsResponse_TicketAddress `protobuf:"bytes,1,rep,name=ticketAddresses" json:"ticketAddresses,omitempty"`
}
func (*CommittedTicketsResponse) Descriptor ¶ added in v1.2.0
func (*CommittedTicketsResponse) Descriptor() ([]byte, []int)
func (*CommittedTicketsResponse) GetTicketAddresses ¶ added in v1.2.0
func (m *CommittedTicketsResponse) GetTicketAddresses() []*CommittedTicketsResponse_TicketAddress
func (*CommittedTicketsResponse) ProtoMessage ¶ added in v1.2.0
func (*CommittedTicketsResponse) ProtoMessage()
func (*CommittedTicketsResponse) Reset ¶ added in v1.2.0
func (m *CommittedTicketsResponse) Reset()
func (*CommittedTicketsResponse) String ¶ added in v1.2.0
func (m *CommittedTicketsResponse) String() string
type CommittedTicketsResponse_TicketAddress ¶ added in v1.2.0
type CommittedTicketsResponse_TicketAddress struct { Ticket []byte `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"` Address string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"` }
func (*CommittedTicketsResponse_TicketAddress) Descriptor ¶ added in v1.2.0
func (*CommittedTicketsResponse_TicketAddress) Descriptor() ([]byte, []int)
func (*CommittedTicketsResponse_TicketAddress) GetAddress ¶ added in v1.2.0
func (m *CommittedTicketsResponse_TicketAddress) GetAddress() string
func (*CommittedTicketsResponse_TicketAddress) GetTicket ¶ added in v1.2.0
func (m *CommittedTicketsResponse_TicketAddress) GetTicket() []byte
func (*CommittedTicketsResponse_TicketAddress) ProtoMessage ¶ added in v1.2.0
func (*CommittedTicketsResponse_TicketAddress) ProtoMessage()
func (*CommittedTicketsResponse_TicketAddress) Reset ¶ added in v1.2.0
func (m *CommittedTicketsResponse_TicketAddress) Reset()
func (*CommittedTicketsResponse_TicketAddress) String ¶ added in v1.2.0
func (m *CommittedTicketsResponse_TicketAddress) String() string
type ConfirmationNotificationsRequest ¶ added in v1.0.3
type ConfirmationNotificationsRequest struct { TxHashes [][]byte `protobuf:"bytes,1,rep,name=tx_hashes,json=txHashes,proto3" json:"tx_hashes,omitempty"` StopAfter int32 `protobuf:"varint,2,opt,name=stop_after,json=stopAfter" json:"stop_after,omitempty"` }
func (*ConfirmationNotificationsRequest) Descriptor ¶ added in v1.0.3
func (*ConfirmationNotificationsRequest) Descriptor() ([]byte, []int)
func (*ConfirmationNotificationsRequest) GetStopAfter ¶ added in v1.0.3
func (m *ConfirmationNotificationsRequest) GetStopAfter() int32
func (*ConfirmationNotificationsRequest) GetTxHashes ¶ added in v1.0.3
func (m *ConfirmationNotificationsRequest) GetTxHashes() [][]byte
func (*ConfirmationNotificationsRequest) ProtoMessage ¶ added in v1.0.3
func (*ConfirmationNotificationsRequest) ProtoMessage()
func (*ConfirmationNotificationsRequest) Reset ¶ added in v1.0.3
func (m *ConfirmationNotificationsRequest) Reset()
func (*ConfirmationNotificationsRequest) String ¶ added in v1.0.3
func (m *ConfirmationNotificationsRequest) String() string
type ConfirmationNotificationsResponse ¶ added in v1.0.3
type ConfirmationNotificationsResponse struct {
Confirmations []*ConfirmationNotificationsResponse_TransactionConfirmations `protobuf:"bytes,1,rep,name=confirmations" json:"confirmations,omitempty"`
}
func (*ConfirmationNotificationsResponse) Descriptor ¶ added in v1.0.3
func (*ConfirmationNotificationsResponse) Descriptor() ([]byte, []int)
func (*ConfirmationNotificationsResponse) GetConfirmations ¶ added in v1.0.3
func (m *ConfirmationNotificationsResponse) GetConfirmations() []*ConfirmationNotificationsResponse_TransactionConfirmations
func (*ConfirmationNotificationsResponse) ProtoMessage ¶ added in v1.0.3
func (*ConfirmationNotificationsResponse) ProtoMessage()
func (*ConfirmationNotificationsResponse) Reset ¶ added in v1.0.3
func (m *ConfirmationNotificationsResponse) Reset()
func (*ConfirmationNotificationsResponse) String ¶ added in v1.0.3
func (m *ConfirmationNotificationsResponse) String() string
type ConfirmationNotificationsResponse_TransactionConfirmations ¶ added in v1.0.3
type ConfirmationNotificationsResponse_TransactionConfirmations struct { TxHash []byte `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` Confirmations int32 `protobuf:"varint,2,opt,name=confirmations" json:"confirmations,omitempty"` BlockHash []byte `protobuf:"bytes,3,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` BlockHeight int32 `protobuf:"varint,4,opt,name=block_height,json=blockHeight" json:"block_height,omitempty"` }
func (*ConfirmationNotificationsResponse_TransactionConfirmations) Descriptor ¶ added in v1.0.3
func (*ConfirmationNotificationsResponse_TransactionConfirmations) Descriptor() ([]byte, []int)
func (*ConfirmationNotificationsResponse_TransactionConfirmations) GetBlockHash ¶ added in v1.0.3
func (m *ConfirmationNotificationsResponse_TransactionConfirmations) GetBlockHash() []byte
func (*ConfirmationNotificationsResponse_TransactionConfirmations) GetBlockHeight ¶ added in v1.0.3
func (m *ConfirmationNotificationsResponse_TransactionConfirmations) GetBlockHeight() int32
func (*ConfirmationNotificationsResponse_TransactionConfirmations) GetConfirmations ¶ added in v1.0.3
func (m *ConfirmationNotificationsResponse_TransactionConfirmations) GetConfirmations() int32
func (*ConfirmationNotificationsResponse_TransactionConfirmations) GetTxHash ¶ added in v1.0.3
func (m *ConfirmationNotificationsResponse_TransactionConfirmations) GetTxHash() []byte
func (*ConfirmationNotificationsResponse_TransactionConfirmations) ProtoMessage ¶ added in v1.0.3
func (*ConfirmationNotificationsResponse_TransactionConfirmations) ProtoMessage()
func (*ConfirmationNotificationsResponse_TransactionConfirmations) Reset ¶ added in v1.0.3
func (m *ConfirmationNotificationsResponse_TransactionConfirmations) Reset()
func (*ConfirmationNotificationsResponse_TransactionConfirmations) String ¶ added in v1.0.3
func (m *ConfirmationNotificationsResponse_TransactionConfirmations) 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 CreateSignatureRequest ¶ added in v1.1.0
type CreateSignatureRequest struct { Passphrase []byte `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"` Address string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"` SerializedTransaction []byte `protobuf:"bytes,3,opt,name=serialized_transaction,json=serializedTransaction,proto3" json:"serialized_transaction,omitempty"` InputIndex uint32 `protobuf:"varint,4,opt,name=input_index,json=inputIndex" json:"input_index,omitempty"` HashType CreateSignatureRequest_SigHashType `` /* 129-byte string literal not displayed */ PreviousPkScript []byte `protobuf:"bytes,6,opt,name=previous_pk_script,json=previousPkScript,proto3" json:"previous_pk_script,omitempty"` }
func (*CreateSignatureRequest) Descriptor ¶ added in v1.1.0
func (*CreateSignatureRequest) Descriptor() ([]byte, []int)
func (*CreateSignatureRequest) GetAddress ¶ added in v1.1.0
func (m *CreateSignatureRequest) GetAddress() string
func (*CreateSignatureRequest) GetHashType ¶ added in v1.1.0
func (m *CreateSignatureRequest) GetHashType() CreateSignatureRequest_SigHashType
func (*CreateSignatureRequest) GetInputIndex ¶ added in v1.1.0
func (m *CreateSignatureRequest) GetInputIndex() uint32
func (*CreateSignatureRequest) GetPassphrase ¶ added in v1.1.0
func (m *CreateSignatureRequest) GetPassphrase() []byte
func (*CreateSignatureRequest) GetPreviousPkScript ¶ added in v1.1.0
func (m *CreateSignatureRequest) GetPreviousPkScript() []byte
func (*CreateSignatureRequest) GetSerializedTransaction ¶ added in v1.1.0
func (m *CreateSignatureRequest) GetSerializedTransaction() []byte
func (*CreateSignatureRequest) ProtoMessage ¶ added in v1.1.0
func (*CreateSignatureRequest) ProtoMessage()
func (*CreateSignatureRequest) Reset ¶ added in v1.1.0
func (m *CreateSignatureRequest) Reset()
func (*CreateSignatureRequest) String ¶ added in v1.1.0
func (m *CreateSignatureRequest) String() string
type CreateSignatureRequest_SigHashType ¶ added in v1.1.0
type CreateSignatureRequest_SigHashType int32
const ( CreateSignatureRequest_SIGHASH_OLD CreateSignatureRequest_SigHashType = 0 CreateSignatureRequest_SIGHASH_ALL CreateSignatureRequest_SigHashType = 1 CreateSignatureRequest_SIGHASH_NONE CreateSignatureRequest_SigHashType = 2 CreateSignatureRequest_SIGHASH_SINGLE CreateSignatureRequest_SigHashType = 3 CreateSignatureRequest_SIGHASH_ALLVALUE CreateSignatureRequest_SigHashType = 4 CreateSignatureRequest_SIGHASH_ANYONECANPAY CreateSignatureRequest_SigHashType = 128 )
func (CreateSignatureRequest_SigHashType) EnumDescriptor ¶ added in v1.1.0
func (CreateSignatureRequest_SigHashType) EnumDescriptor() ([]byte, []int)
func (CreateSignatureRequest_SigHashType) String ¶ added in v1.1.0
func (x CreateSignatureRequest_SigHashType) String() string
type CreateSignatureResponse ¶ added in v1.1.0
type CreateSignatureResponse struct { Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` }
func (*CreateSignatureResponse) Descriptor ¶ added in v1.1.0
func (*CreateSignatureResponse) Descriptor() ([]byte, []int)
func (*CreateSignatureResponse) GetPublicKey ¶ added in v1.1.0
func (m *CreateSignatureResponse) GetPublicKey() []byte
func (*CreateSignatureResponse) GetSignature ¶ added in v1.1.0
func (m *CreateSignatureResponse) GetSignature() []byte
func (*CreateSignatureResponse) ProtoMessage ¶ added in v1.1.0
func (*CreateSignatureResponse) ProtoMessage()
func (*CreateSignatureResponse) Reset ¶ added in v1.1.0
func (m *CreateSignatureResponse) Reset()
func (*CreateSignatureResponse) String ¶ added in v1.1.0
func (m *CreateSignatureResponse) 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 DecodeMessageServiceClient ¶ added in v1.1.2
type DecodeMessageServiceClient interface {
DecodeRawTransaction(ctx context.Context, in *DecodeRawTransactionRequest, opts ...grpc.CallOption) (*DecodeRawTransactionResponse, error)
}
func NewDecodeMessageServiceClient ¶ added in v1.1.2
func NewDecodeMessageServiceClient(cc *grpc.ClientConn) DecodeMessageServiceClient
type DecodeMessageServiceServer ¶ added in v1.1.2
type DecodeMessageServiceServer interface {
DecodeRawTransaction(context.Context, *DecodeRawTransactionRequest) (*DecodeRawTransactionResponse, error)
}
type DecodeRawTransactionRequest ¶ added in v1.1.2
type DecodeRawTransactionRequest struct {
SerializedTransaction []byte `protobuf:"bytes,1,opt,name=serialized_transaction,json=serializedTransaction,proto3" json:"serialized_transaction,omitempty"`
}
func (*DecodeRawTransactionRequest) Descriptor ¶ added in v1.1.2
func (*DecodeRawTransactionRequest) Descriptor() ([]byte, []int)
func (*DecodeRawTransactionRequest) GetSerializedTransaction ¶ added in v1.1.2
func (m *DecodeRawTransactionRequest) GetSerializedTransaction() []byte
func (*DecodeRawTransactionRequest) ProtoMessage ¶ added in v1.1.2
func (*DecodeRawTransactionRequest) ProtoMessage()
func (*DecodeRawTransactionRequest) Reset ¶ added in v1.1.2
func (m *DecodeRawTransactionRequest) Reset()
func (*DecodeRawTransactionRequest) String ¶ added in v1.1.2
func (m *DecodeRawTransactionRequest) String() string
type DecodeRawTransactionResponse ¶ added in v1.1.2
type DecodeRawTransactionResponse struct {
Transaction *DecodedTransaction `protobuf:"bytes,1,opt,name=transaction" json:"transaction,omitempty"`
}
func (*DecodeRawTransactionResponse) Descriptor ¶ added in v1.1.2
func (*DecodeRawTransactionResponse) Descriptor() ([]byte, []int)
func (*DecodeRawTransactionResponse) GetTransaction ¶ added in v1.1.2
func (m *DecodeRawTransactionResponse) GetTransaction() *DecodedTransaction
func (*DecodeRawTransactionResponse) ProtoMessage ¶ added in v1.1.2
func (*DecodeRawTransactionResponse) ProtoMessage()
func (*DecodeRawTransactionResponse) Reset ¶ added in v1.1.2
func (m *DecodeRawTransactionResponse) Reset()
func (*DecodeRawTransactionResponse) String ¶ added in v1.1.2
func (m *DecodeRawTransactionResponse) 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 DecodedTransaction ¶ added in v1.1.2
type DecodedTransaction struct { TransactionHash []byte `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"` Version int32 `protobuf:"varint,2,opt,name=version" json:"version,omitempty"` LockTime uint32 `protobuf:"varint,3,opt,name=lock_time,json=lockTime" json:"lock_time,omitempty"` Expiry uint32 `protobuf:"varint,4,opt,name=expiry" json:"expiry,omitempty"` TransactionType TransactionDetails_TransactionType `` /* 150-byte string literal not displayed */ Inputs []*DecodedTransaction_Input `protobuf:"bytes,6,rep,name=inputs" json:"inputs,omitempty"` Outputs []*DecodedTransaction_Output `protobuf:"bytes,7,rep,name=outputs" json:"outputs,omitempty"` }
func (*DecodedTransaction) Descriptor ¶ added in v1.1.2
func (*DecodedTransaction) Descriptor() ([]byte, []int)
func (*DecodedTransaction) GetExpiry ¶ added in v1.1.2
func (m *DecodedTransaction) GetExpiry() uint32
func (*DecodedTransaction) GetInputs ¶ added in v1.1.2
func (m *DecodedTransaction) GetInputs() []*DecodedTransaction_Input
func (*DecodedTransaction) GetLockTime ¶ added in v1.1.2
func (m *DecodedTransaction) GetLockTime() uint32
func (*DecodedTransaction) GetOutputs ¶ added in v1.1.2
func (m *DecodedTransaction) GetOutputs() []*DecodedTransaction_Output
func (*DecodedTransaction) GetTransactionHash ¶ added in v1.1.2
func (m *DecodedTransaction) GetTransactionHash() []byte
func (*DecodedTransaction) GetTransactionType ¶ added in v1.1.2
func (m *DecodedTransaction) GetTransactionType() TransactionDetails_TransactionType
func (*DecodedTransaction) GetVersion ¶ added in v1.1.2
func (m *DecodedTransaction) GetVersion() int32
func (*DecodedTransaction) ProtoMessage ¶ added in v1.1.2
func (*DecodedTransaction) ProtoMessage()
func (*DecodedTransaction) Reset ¶ added in v1.1.2
func (m *DecodedTransaction) Reset()
func (*DecodedTransaction) String ¶ added in v1.1.2
func (m *DecodedTransaction) String() string
type DecodedTransaction_Input ¶ added in v1.1.2
type DecodedTransaction_Input struct { PreviousTransactionHash []byte `` /* 132-byte string literal not displayed */ PreviousTransactionIndex uint32 `` /* 129-byte string literal not displayed */ Tree DecodedTransaction_Input_TreeType `protobuf:"varint,3,opt,name=tree,enum=walletrpc.DecodedTransaction_Input_TreeType" json:"tree,omitempty"` Sequence uint32 `protobuf:"varint,4,opt,name=sequence" json:"sequence,omitempty"` AmountIn int64 `protobuf:"varint,5,opt,name=amount_in,json=amountIn" json:"amount_in,omitempty"` BlockHeight uint32 `protobuf:"varint,6,opt,name=block_height,json=blockHeight" json:"block_height,omitempty"` BlockIndex uint32 `protobuf:"varint,7,opt,name=block_index,json=blockIndex" json:"block_index,omitempty"` SignatureScript []byte `protobuf:"bytes,8,opt,name=signature_script,json=signatureScript,proto3" json:"signature_script,omitempty"` SignatureScriptAsm string `protobuf:"bytes,9,opt,name=signature_script_asm,json=signatureScriptAsm" json:"signature_script_asm,omitempty"` }
func (*DecodedTransaction_Input) Descriptor ¶ added in v1.1.2
func (*DecodedTransaction_Input) Descriptor() ([]byte, []int)
func (*DecodedTransaction_Input) GetAmountIn ¶ added in v1.1.2
func (m *DecodedTransaction_Input) GetAmountIn() int64
func (*DecodedTransaction_Input) GetBlockHeight ¶ added in v1.1.2
func (m *DecodedTransaction_Input) GetBlockHeight() uint32
func (*DecodedTransaction_Input) GetBlockIndex ¶ added in v1.1.2
func (m *DecodedTransaction_Input) GetBlockIndex() uint32
func (*DecodedTransaction_Input) GetPreviousTransactionHash ¶ added in v1.1.2
func (m *DecodedTransaction_Input) GetPreviousTransactionHash() []byte
func (*DecodedTransaction_Input) GetPreviousTransactionIndex ¶ added in v1.1.2
func (m *DecodedTransaction_Input) GetPreviousTransactionIndex() uint32
func (*DecodedTransaction_Input) GetSequence ¶ added in v1.1.2
func (m *DecodedTransaction_Input) GetSequence() uint32
func (*DecodedTransaction_Input) GetSignatureScript ¶ added in v1.1.2
func (m *DecodedTransaction_Input) GetSignatureScript() []byte
func (*DecodedTransaction_Input) GetSignatureScriptAsm ¶ added in v1.1.2
func (m *DecodedTransaction_Input) GetSignatureScriptAsm() string
func (*DecodedTransaction_Input) GetTree ¶ added in v1.1.2
func (m *DecodedTransaction_Input) GetTree() DecodedTransaction_Input_TreeType
func (*DecodedTransaction_Input) ProtoMessage ¶ added in v1.1.2
func (*DecodedTransaction_Input) ProtoMessage()
func (*DecodedTransaction_Input) Reset ¶ added in v1.1.2
func (m *DecodedTransaction_Input) Reset()
func (*DecodedTransaction_Input) String ¶ added in v1.1.2
func (m *DecodedTransaction_Input) String() string
type DecodedTransaction_Input_TreeType ¶ added in v1.1.2
type DecodedTransaction_Input_TreeType int32
const ( DecodedTransaction_Input_REGULAR DecodedTransaction_Input_TreeType = 0 DecodedTransaction_Input_UNKNOWN DecodedTransaction_Input_TreeType = -1 DecodedTransaction_Input_STAKE DecodedTransaction_Input_TreeType = 1 )
func (DecodedTransaction_Input_TreeType) EnumDescriptor ¶ added in v1.1.2
func (DecodedTransaction_Input_TreeType) EnumDescriptor() ([]byte, []int)
func (DecodedTransaction_Input_TreeType) String ¶ added in v1.1.2
func (x DecodedTransaction_Input_TreeType) String() string
type DecodedTransaction_Output ¶ added in v1.1.2
type DecodedTransaction_Output struct { Value int64 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"` Index uint32 `protobuf:"varint,2,opt,name=index" json:"index,omitempty"` Version int32 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"` Script []byte `protobuf:"bytes,4,opt,name=script,proto3" json:"script,omitempty"` ScriptAsm string `protobuf:"bytes,5,opt,name=script_asm,json=scriptAsm" json:"script_asm,omitempty"` RequiredSignatures int32 `protobuf:"varint,6,opt,name=required_signatures,json=requiredSignatures" json:"required_signatures,omitempty"` ScriptClass DecodedTransaction_Output_ScriptClass `` /* 141-byte string literal not displayed */ Addresses []string `protobuf:"bytes,8,rep,name=addresses" json:"addresses,omitempty"` CommitmentAmount int64 `protobuf:"varint,9,opt,name=commitment_amount,json=commitmentAmount" json:"commitment_amount,omitempty"` }
func (*DecodedTransaction_Output) Descriptor ¶ added in v1.1.2
func (*DecodedTransaction_Output) Descriptor() ([]byte, []int)
func (*DecodedTransaction_Output) GetAddresses ¶ added in v1.1.2
func (m *DecodedTransaction_Output) GetAddresses() []string
func (*DecodedTransaction_Output) GetCommitmentAmount ¶ added in v1.1.2
func (m *DecodedTransaction_Output) GetCommitmentAmount() int64
func (*DecodedTransaction_Output) GetIndex ¶ added in v1.1.2
func (m *DecodedTransaction_Output) GetIndex() uint32
func (*DecodedTransaction_Output) GetRequiredSignatures ¶ added in v1.1.2
func (m *DecodedTransaction_Output) GetRequiredSignatures() int32
func (*DecodedTransaction_Output) GetScript ¶ added in v1.1.2
func (m *DecodedTransaction_Output) GetScript() []byte
func (*DecodedTransaction_Output) GetScriptAsm ¶ added in v1.1.2
func (m *DecodedTransaction_Output) GetScriptAsm() string
func (*DecodedTransaction_Output) GetScriptClass ¶ added in v1.1.2
func (m *DecodedTransaction_Output) GetScriptClass() DecodedTransaction_Output_ScriptClass
func (*DecodedTransaction_Output) GetValue ¶ added in v1.1.2
func (m *DecodedTransaction_Output) GetValue() int64
func (*DecodedTransaction_Output) GetVersion ¶ added in v1.1.2
func (m *DecodedTransaction_Output) GetVersion() int32
func (*DecodedTransaction_Output) ProtoMessage ¶ added in v1.1.2
func (*DecodedTransaction_Output) ProtoMessage()
func (*DecodedTransaction_Output) Reset ¶ added in v1.1.2
func (m *DecodedTransaction_Output) Reset()
func (*DecodedTransaction_Output) String ¶ added in v1.1.2
func (m *DecodedTransaction_Output) String() string
type DecodedTransaction_Output_ScriptClass ¶ added in v1.1.2
type DecodedTransaction_Output_ScriptClass int32
const ( DecodedTransaction_Output_NON_STANDARD DecodedTransaction_Output_ScriptClass = 0 DecodedTransaction_Output_PUB_KEY DecodedTransaction_Output_ScriptClass = 1 DecodedTransaction_Output_PUB_KEY_HASH DecodedTransaction_Output_ScriptClass = 2 DecodedTransaction_Output_SCRIPT_HASH DecodedTransaction_Output_ScriptClass = 3 DecodedTransaction_Output_MULTI_SIG DecodedTransaction_Output_ScriptClass = 4 DecodedTransaction_Output_NULL_DATA DecodedTransaction_Output_ScriptClass = 5 DecodedTransaction_Output_STAKE_SUBMISSION DecodedTransaction_Output_ScriptClass = 6 DecodedTransaction_Output_STAKE_GEN DecodedTransaction_Output_ScriptClass = 7 DecodedTransaction_Output_STAKE_REVOCATION DecodedTransaction_Output_ScriptClass = 8 DecodedTransaction_Output_STAKE_SUB_CHANGE DecodedTransaction_Output_ScriptClass = 9 DecodedTransaction_Output_PUB_KEY_ALT DecodedTransaction_Output_ScriptClass = 10 DecodedTransaction_Output_PUB_KEY_HASH_ALT DecodedTransaction_Output_ScriptClass = 11 )
func (DecodedTransaction_Output_ScriptClass) EnumDescriptor ¶ added in v1.1.2
func (DecodedTransaction_Output_ScriptClass) EnumDescriptor() ([]byte, []int)
func (DecodedTransaction_Output_ScriptClass) String ¶ added in v1.1.2
func (x DecodedTransaction_Output_ScriptClass) 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 GetTicketsRequest ¶ added in v1.1.2
type GetTicketsRequest struct { 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"` 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"` TargetTicketCount int32 `protobuf:"varint,5,opt,name=target_ticket_count,json=targetTicketCount" json:"target_ticket_count,omitempty"` }
func (*GetTicketsRequest) Descriptor ¶ added in v1.1.2
func (*GetTicketsRequest) Descriptor() ([]byte, []int)
func (*GetTicketsRequest) GetEndingBlockHash ¶ added in v1.1.2
func (m *GetTicketsRequest) GetEndingBlockHash() []byte
func (*GetTicketsRequest) GetEndingBlockHeight ¶ added in v1.1.2
func (m *GetTicketsRequest) GetEndingBlockHeight() int32
func (*GetTicketsRequest) GetStartingBlockHash ¶ added in v1.1.2
func (m *GetTicketsRequest) GetStartingBlockHash() []byte
func (*GetTicketsRequest) GetStartingBlockHeight ¶ added in v1.1.2
func (m *GetTicketsRequest) GetStartingBlockHeight() int32
func (*GetTicketsRequest) GetTargetTicketCount ¶ added in v1.2.0
func (m *GetTicketsRequest) GetTargetTicketCount() int32
func (*GetTicketsRequest) ProtoMessage ¶ added in v1.1.2
func (*GetTicketsRequest) ProtoMessage()
func (*GetTicketsRequest) Reset ¶ added in v1.1.2
func (m *GetTicketsRequest) Reset()
func (*GetTicketsRequest) String ¶ added in v1.1.2
func (m *GetTicketsRequest) String() string
type GetTicketsResponse ¶ added in v1.1.2
type GetTicketsResponse struct { Ticket *GetTicketsResponse_TicketDetails `protobuf:"bytes,1,opt,name=ticket" json:"ticket,omitempty"` Block *GetTicketsResponse_BlockDetails `protobuf:"bytes,2,opt,name=block" json:"block,omitempty"` }
func (*GetTicketsResponse) Descriptor ¶ added in v1.1.2
func (*GetTicketsResponse) Descriptor() ([]byte, []int)
func (*GetTicketsResponse) GetBlock ¶ added in v1.2.0
func (m *GetTicketsResponse) GetBlock() *GetTicketsResponse_BlockDetails
func (*GetTicketsResponse) GetTicket ¶ added in v1.1.2
func (m *GetTicketsResponse) GetTicket() *GetTicketsResponse_TicketDetails
func (*GetTicketsResponse) ProtoMessage ¶ added in v1.1.2
func (*GetTicketsResponse) ProtoMessage()
func (*GetTicketsResponse) Reset ¶ added in v1.1.2
func (m *GetTicketsResponse) Reset()
func (*GetTicketsResponse) String ¶ added in v1.1.2
func (m *GetTicketsResponse) String() string
type GetTicketsResponse_BlockDetails ¶ added in v1.2.0
type GetTicketsResponse_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"` }
func (*GetTicketsResponse_BlockDetails) Descriptor ¶ added in v1.2.0
func (*GetTicketsResponse_BlockDetails) Descriptor() ([]byte, []int)
func (*GetTicketsResponse_BlockDetails) GetHash ¶ added in v1.2.0
func (m *GetTicketsResponse_BlockDetails) GetHash() []byte
func (*GetTicketsResponse_BlockDetails) GetHeight ¶ added in v1.2.0
func (m *GetTicketsResponse_BlockDetails) GetHeight() int32
func (*GetTicketsResponse_BlockDetails) GetTimestamp ¶ added in v1.2.0
func (m *GetTicketsResponse_BlockDetails) GetTimestamp() int64
func (*GetTicketsResponse_BlockDetails) ProtoMessage ¶ added in v1.2.0
func (*GetTicketsResponse_BlockDetails) ProtoMessage()
func (*GetTicketsResponse_BlockDetails) Reset ¶ added in v1.2.0
func (m *GetTicketsResponse_BlockDetails) Reset()
func (*GetTicketsResponse_BlockDetails) String ¶ added in v1.2.0
func (m *GetTicketsResponse_BlockDetails) String() string
type GetTicketsResponse_TicketDetails ¶ added in v1.1.2
type GetTicketsResponse_TicketDetails struct { Ticket *TransactionDetails `protobuf:"bytes,1,opt,name=ticket" json:"ticket,omitempty"` Spender *TransactionDetails `protobuf:"bytes,2,opt,name=spender" json:"spender,omitempty"` TicketStatus GetTicketsResponse_TicketDetails_TicketStatus `` /* 152-byte string literal not displayed */ }
func (*GetTicketsResponse_TicketDetails) Descriptor ¶ added in v1.1.2
func (*GetTicketsResponse_TicketDetails) Descriptor() ([]byte, []int)
func (*GetTicketsResponse_TicketDetails) GetSpender ¶ added in v1.1.2
func (m *GetTicketsResponse_TicketDetails) GetSpender() *TransactionDetails
func (*GetTicketsResponse_TicketDetails) GetTicket ¶ added in v1.1.2
func (m *GetTicketsResponse_TicketDetails) GetTicket() *TransactionDetails
func (*GetTicketsResponse_TicketDetails) GetTicketStatus ¶ added in v1.1.2
func (m *GetTicketsResponse_TicketDetails) GetTicketStatus() GetTicketsResponse_TicketDetails_TicketStatus
func (*GetTicketsResponse_TicketDetails) ProtoMessage ¶ added in v1.1.2
func (*GetTicketsResponse_TicketDetails) ProtoMessage()
func (*GetTicketsResponse_TicketDetails) Reset ¶ added in v1.1.2
func (m *GetTicketsResponse_TicketDetails) Reset()
func (*GetTicketsResponse_TicketDetails) String ¶ added in v1.1.2
func (m *GetTicketsResponse_TicketDetails) String() string
type GetTicketsResponse_TicketDetails_TicketStatus ¶ added in v1.1.2
type GetTicketsResponse_TicketDetails_TicketStatus int32
const ( GetTicketsResponse_TicketDetails_UNKNOWN GetTicketsResponse_TicketDetails_TicketStatus = 0 GetTicketsResponse_TicketDetails_UNMINED GetTicketsResponse_TicketDetails_TicketStatus = 1 GetTicketsResponse_TicketDetails_IMMATURE GetTicketsResponse_TicketDetails_TicketStatus = 2 GetTicketsResponse_TicketDetails_LIVE GetTicketsResponse_TicketDetails_TicketStatus = 3 GetTicketsResponse_TicketDetails_VOTED GetTicketsResponse_TicketDetails_TicketStatus = 4 GetTicketsResponse_TicketDetails_MISSED GetTicketsResponse_TicketDetails_TicketStatus = 5 GetTicketsResponse_TicketDetails_EXPIRED GetTicketsResponse_TicketDetails_TicketStatus = 6 GetTicketsResponse_TicketDetails_REVOKED GetTicketsResponse_TicketDetails_TicketStatus = 7 )
func (GetTicketsResponse_TicketDetails_TicketStatus) EnumDescriptor ¶ added in v1.1.2
func (GetTicketsResponse_TicketDetails_TicketStatus) EnumDescriptor() ([]byte, []int)
func (GetTicketsResponse_TicketDetails_TicketStatus) String ¶ added in v1.1.2
func (x GetTicketsResponse_TicketDetails_TicketStatus) String() string
type GetTransactionRequest ¶ added in v1.0.5
type GetTransactionRequest struct {
TransactionHash []byte `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"`
}
func (*GetTransactionRequest) Descriptor ¶ added in v1.0.5
func (*GetTransactionRequest) Descriptor() ([]byte, []int)
func (*GetTransactionRequest) GetTransactionHash ¶ added in v1.0.5
func (m *GetTransactionRequest) GetTransactionHash() []byte
func (*GetTransactionRequest) ProtoMessage ¶ added in v1.0.5
func (*GetTransactionRequest) ProtoMessage()
func (*GetTransactionRequest) Reset ¶ added in v1.0.5
func (m *GetTransactionRequest) Reset()
func (*GetTransactionRequest) String ¶ added in v1.0.5
func (m *GetTransactionRequest) String() string
type GetTransactionResponse ¶ added in v1.0.5
type GetTransactionResponse struct { Transaction *TransactionDetails `protobuf:"bytes,1,opt,name=transaction" json:"transaction,omitempty"` Confirmations int32 `protobuf:"varint,2,opt,name=confirmations" json:"confirmations,omitempty"` BlockHash []byte `protobuf:"bytes,3,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` }
func (*GetTransactionResponse) Descriptor ¶ added in v1.0.5
func (*GetTransactionResponse) Descriptor() ([]byte, []int)
func (*GetTransactionResponse) GetBlockHash ¶ added in v1.2.0
func (m *GetTransactionResponse) GetBlockHash() []byte
func (*GetTransactionResponse) GetConfirmations ¶ added in v1.2.0
func (m *GetTransactionResponse) GetConfirmations() int32
func (*GetTransactionResponse) GetTransaction ¶ added in v1.0.5
func (m *GetTransactionResponse) GetTransaction() *TransactionDetails
func (*GetTransactionResponse) ProtoMessage ¶ added in v1.0.5
func (*GetTransactionResponse) ProtoMessage()
func (*GetTransactionResponse) Reset ¶ added in v1.0.5
func (m *GetTransactionResponse) Reset()
func (*GetTransactionResponse) String ¶ added in v1.0.5
func (m *GetTransactionResponse) 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 */ // Try to include at most this many transactions in the reply TargetTransactionCount int32 `protobuf:"varint,6,opt,name=target_transaction_count,json=targetTransactionCount" json:"target_transaction_count,omitempty"` }
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) GetTargetTransactionCount ¶ added in v1.1.2
func (m *GetTransactionsRequest) GetTargetTransactionCount() 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"` RequireRedeemable bool `protobuf:"varint,5,opt,name=require_redeemable,json=requireRedeemable" json:"require_redeemable,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) GetRequireRedeemable ¶ added in v1.0.3
func (m *ImportScriptRequest) GetRequireRedeemable() bool
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 { P2ShAddress string `protobuf:"bytes,1,opt,name=p2sh_address,json=p2shAddress" json:"p2sh_address,omitempty"` Redeemable bool `protobuf:"varint,2,opt,name=redeemable" json:"redeemable,omitempty"` }
func (*ImportScriptResponse) Descriptor ¶ added in v0.2.0
func (*ImportScriptResponse) Descriptor() ([]byte, []int)
func (*ImportScriptResponse) GetP2ShAddress ¶ added in v1.0.3
func (m *ImportScriptResponse) GetP2ShAddress() string
func (*ImportScriptResponse) GetRedeemable ¶ added in v1.0.3
func (m *ImportScriptResponse) GetRedeemable() bool
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 MessageVerificationServiceClient ¶ added in v1.0.7
type MessageVerificationServiceClient interface {
VerifyMessage(ctx context.Context, in *VerifyMessageRequest, opts ...grpc.CallOption) (*VerifyMessageResponse, error)
}
func NewMessageVerificationServiceClient ¶ added in v1.0.7
func NewMessageVerificationServiceClient(cc *grpc.ClientConn) MessageVerificationServiceClient
type MessageVerificationServiceServer ¶ added in v1.0.7
type MessageVerificationServiceServer interface {
VerifyMessage(context.Context, *VerifyMessageRequest) (*VerifyMessageResponse, error)
}
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"` GapPolicy NextAddressRequest_GapPolicy `` /* 126-byte string literal not displayed */ }
func (*NextAddressRequest) Descriptor ¶
func (*NextAddressRequest) Descriptor() ([]byte, []int)
func (*NextAddressRequest) GetAccount ¶ added in v0.8.0
func (m *NextAddressRequest) GetAccount() uint32
func (*NextAddressRequest) GetGapPolicy ¶ added in v1.0.3
func (m *NextAddressRequest) GetGapPolicy() NextAddressRequest_GapPolicy
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_GapPolicy ¶ added in v1.0.3
type NextAddressRequest_GapPolicy int32
const ( NextAddressRequest_GAP_POLICY_UNSPECIFIED NextAddressRequest_GapPolicy = 0 NextAddressRequest_GAP_POLICY_ERROR NextAddressRequest_GapPolicy = 1 NextAddressRequest_GAP_POLICY_IGNORE NextAddressRequest_GapPolicy = 2 NextAddressRequest_GAP_POLICY_WRAP NextAddressRequest_GapPolicy = 3 )
func (NextAddressRequest_GapPolicy) EnumDescriptor ¶ added in v1.0.3
func (NextAddressRequest_GapPolicy) EnumDescriptor() ([]byte, []int)
func (NextAddressRequest_GapPolicy) String ¶ added in v1.0.3
func (x NextAddressRequest_GapPolicy) 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 PublishUnminedTransactionsRequest ¶ added in v1.2.0
type PublishUnminedTransactionsRequest struct { }
func (*PublishUnminedTransactionsRequest) Descriptor ¶ added in v1.2.0
func (*PublishUnminedTransactionsRequest) Descriptor() ([]byte, []int)
func (*PublishUnminedTransactionsRequest) ProtoMessage ¶ added in v1.2.0
func (*PublishUnminedTransactionsRequest) ProtoMessage()
func (*PublishUnminedTransactionsRequest) Reset ¶ added in v1.2.0
func (m *PublishUnminedTransactionsRequest) Reset()
func (*PublishUnminedTransactionsRequest) String ¶ added in v1.2.0
func (m *PublishUnminedTransactionsRequest) String() string
type PublishUnminedTransactionsResponse ¶ added in v1.2.0
type PublishUnminedTransactionsResponse struct { }
func (*PublishUnminedTransactionsResponse) Descriptor ¶ added in v1.2.0
func (*PublishUnminedTransactionsResponse) Descriptor() ([]byte, []int)
func (*PublishUnminedTransactionsResponse) ProtoMessage ¶ added in v1.2.0
func (*PublishUnminedTransactionsResponse) ProtoMessage()
func (*PublishUnminedTransactionsResponse) Reset ¶ added in v1.2.0
func (m *PublishUnminedTransactionsResponse) Reset()
func (*PublishUnminedTransactionsResponse) String ¶ added in v1.2.0
func (m *PublishUnminedTransactionsResponse) 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 RevokeTicketsRequest ¶ added in v1.0.3
type RevokeTicketsRequest struct {
Passphrase []byte `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
}
func (*RevokeTicketsRequest) Descriptor ¶ added in v1.0.3
func (*RevokeTicketsRequest) Descriptor() ([]byte, []int)
func (*RevokeTicketsRequest) GetPassphrase ¶ added in v1.0.3
func (m *RevokeTicketsRequest) GetPassphrase() []byte
func (*RevokeTicketsRequest) ProtoMessage ¶ added in v1.0.3
func (*RevokeTicketsRequest) ProtoMessage()
func (*RevokeTicketsRequest) Reset ¶ added in v1.0.3
func (m *RevokeTicketsRequest) Reset()
func (*RevokeTicketsRequest) String ¶ added in v1.0.3
func (m *RevokeTicketsRequest) String() string
type RevokeTicketsResponse ¶ added in v1.0.3
type RevokeTicketsResponse struct { }
func (*RevokeTicketsResponse) Descriptor ¶ added in v1.0.3
func (*RevokeTicketsResponse) Descriptor() ([]byte, []int)
func (*RevokeTicketsResponse) ProtoMessage ¶ added in v1.0.3
func (*RevokeTicketsResponse) ProtoMessage()
func (*RevokeTicketsResponse) Reset ¶ added in v1.0.3
func (m *RevokeTicketsResponse) Reset()
func (*RevokeTicketsResponse) String ¶ added in v1.0.3
func (m *RevokeTicketsResponse) 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 SignMessageRequest ¶ added in v1.0.7
type SignMessageRequest struct { Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` Message string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` Passphrase []byte `protobuf:"bytes,3,opt,name=passphrase,proto3" json:"passphrase,omitempty"` }
func (*SignMessageRequest) Descriptor ¶ added in v1.0.7
func (*SignMessageRequest) Descriptor() ([]byte, []int)
func (*SignMessageRequest) GetAddress ¶ added in v1.0.7
func (m *SignMessageRequest) GetAddress() string
func (*SignMessageRequest) GetMessage ¶ added in v1.0.7
func (m *SignMessageRequest) GetMessage() string
func (*SignMessageRequest) GetPassphrase ¶ added in v1.0.7
func (m *SignMessageRequest) GetPassphrase() []byte
func (*SignMessageRequest) ProtoMessage ¶ added in v1.0.7
func (*SignMessageRequest) ProtoMessage()
func (*SignMessageRequest) Reset ¶ added in v1.0.7
func (m *SignMessageRequest) Reset()
func (*SignMessageRequest) String ¶ added in v1.0.7
func (m *SignMessageRequest) String() string
type SignMessageResponse ¶ added in v1.0.7
type SignMessageResponse struct {
Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
}
func (*SignMessageResponse) Descriptor ¶ added in v1.0.7
func (*SignMessageResponse) Descriptor() ([]byte, []int)
func (*SignMessageResponse) GetSignature ¶ added in v1.0.7
func (m *SignMessageResponse) GetSignature() []byte
func (*SignMessageResponse) ProtoMessage ¶ added in v1.0.7
func (*SignMessageResponse) ProtoMessage()
func (*SignMessageResponse) Reset ¶ added in v1.0.7
func (m *SignMessageResponse) Reset()
func (*SignMessageResponse) String ¶ added in v1.0.7
func (m *SignMessageResponse) String() string
type SignMessagesRequest ¶ added in v1.2.0
type SignMessagesRequest struct { Passphrase []byte `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"` Messages []*SignMessagesRequest_Message `protobuf:"bytes,2,rep,name=messages" json:"messages,omitempty"` }
func (*SignMessagesRequest) Descriptor ¶ added in v1.2.0
func (*SignMessagesRequest) Descriptor() ([]byte, []int)
func (*SignMessagesRequest) GetMessages ¶ added in v1.2.0
func (m *SignMessagesRequest) GetMessages() []*SignMessagesRequest_Message
func (*SignMessagesRequest) GetPassphrase ¶ added in v1.2.0
func (m *SignMessagesRequest) GetPassphrase() []byte
func (*SignMessagesRequest) ProtoMessage ¶ added in v1.2.0
func (*SignMessagesRequest) ProtoMessage()
func (*SignMessagesRequest) Reset ¶ added in v1.2.0
func (m *SignMessagesRequest) Reset()
func (*SignMessagesRequest) String ¶ added in v1.2.0
func (m *SignMessagesRequest) String() string
type SignMessagesRequest_Message ¶ added in v1.2.0
type SignMessagesRequest_Message struct { Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` Message string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` }
func (*SignMessagesRequest_Message) Descriptor ¶ added in v1.2.0
func (*SignMessagesRequest_Message) Descriptor() ([]byte, []int)
func (*SignMessagesRequest_Message) GetAddress ¶ added in v1.2.0
func (m *SignMessagesRequest_Message) GetAddress() string
func (*SignMessagesRequest_Message) GetMessage ¶ added in v1.2.0
func (m *SignMessagesRequest_Message) GetMessage() string
func (*SignMessagesRequest_Message) ProtoMessage ¶ added in v1.2.0
func (*SignMessagesRequest_Message) ProtoMessage()
func (*SignMessagesRequest_Message) Reset ¶ added in v1.2.0
func (m *SignMessagesRequest_Message) Reset()
func (*SignMessagesRequest_Message) String ¶ added in v1.2.0
func (m *SignMessagesRequest_Message) String() string
type SignMessagesResponse ¶ added in v1.2.0
type SignMessagesResponse struct {
Replies []*SignMessagesResponse_SignReply `protobuf:"bytes,1,rep,name=replies" json:"replies,omitempty"`
}
func (*SignMessagesResponse) Descriptor ¶ added in v1.2.0
func (*SignMessagesResponse) Descriptor() ([]byte, []int)
func (*SignMessagesResponse) GetReplies ¶ added in v1.2.0
func (m *SignMessagesResponse) GetReplies() []*SignMessagesResponse_SignReply
func (*SignMessagesResponse) ProtoMessage ¶ added in v1.2.0
func (*SignMessagesResponse) ProtoMessage()
func (*SignMessagesResponse) Reset ¶ added in v1.2.0
func (m *SignMessagesResponse) Reset()
func (*SignMessagesResponse) String ¶ added in v1.2.0
func (m *SignMessagesResponse) String() string
type SignMessagesResponse_SignReply ¶ added in v1.2.0
type SignMessagesResponse_SignReply struct { Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` Error string `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"` }
func (*SignMessagesResponse_SignReply) Descriptor ¶ added in v1.2.0
func (*SignMessagesResponse_SignReply) Descriptor() ([]byte, []int)
func (*SignMessagesResponse_SignReply) GetError ¶ added in v1.2.0
func (m *SignMessagesResponse_SignReply) GetError() string
func (*SignMessagesResponse_SignReply) GetSignature ¶ added in v1.2.0
func (m *SignMessagesResponse_SignReply) GetSignature() []byte
func (*SignMessagesResponse_SignReply) ProtoMessage ¶ added in v1.2.0
func (*SignMessagesResponse_SignReply) ProtoMessage()
func (*SignMessagesResponse_SignReply) Reset ¶ added in v1.2.0
func (m *SignMessagesResponse_SignReply) Reset()
func (*SignMessagesResponse_SignReply) String ¶ added in v1.2.0
func (m *SignMessagesResponse_SignReply) 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"` AdditionalScripts []*SignTransactionRequest_AdditionalScript `protobuf:"bytes,4,rep,name=additional_scripts,json=additionalScripts" json:"additional_scripts,omitempty"` }
func (*SignTransactionRequest) Descriptor ¶
func (*SignTransactionRequest) Descriptor() ([]byte, []int)
func (*SignTransactionRequest) GetAdditionalScripts ¶ added in v1.0.7
func (m *SignTransactionRequest) GetAdditionalScripts() []*SignTransactionRequest_AdditionalScript
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 SignTransactionRequest_AdditionalScript ¶ added in v1.0.7
type SignTransactionRequest_AdditionalScript 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"` Tree int32 `protobuf:"varint,3,opt,name=tree" json:"tree,omitempty"` PkScript []byte `protobuf:"bytes,4,opt,name=pk_script,json=pkScript,proto3" json:"pk_script,omitempty"` }
func (*SignTransactionRequest_AdditionalScript) Descriptor ¶ added in v1.0.7
func (*SignTransactionRequest_AdditionalScript) Descriptor() ([]byte, []int)
func (*SignTransactionRequest_AdditionalScript) GetOutputIndex ¶ added in v1.0.7
func (m *SignTransactionRequest_AdditionalScript) GetOutputIndex() uint32
func (*SignTransactionRequest_AdditionalScript) GetPkScript ¶ added in v1.0.7
func (m *SignTransactionRequest_AdditionalScript) GetPkScript() []byte
func (*SignTransactionRequest_AdditionalScript) GetTransactionHash ¶ added in v1.0.7
func (m *SignTransactionRequest_AdditionalScript) GetTransactionHash() []byte
func (*SignTransactionRequest_AdditionalScript) GetTree ¶ added in v1.0.7
func (m *SignTransactionRequest_AdditionalScript) GetTree() int32
func (*SignTransactionRequest_AdditionalScript) ProtoMessage ¶ added in v1.0.7
func (*SignTransactionRequest_AdditionalScript) ProtoMessage()
func (*SignTransactionRequest_AdditionalScript) Reset ¶ added in v1.0.7
func (m *SignTransactionRequest_AdditionalScript) Reset()
func (*SignTransactionRequest_AdditionalScript) String ¶ added in v1.0.7
func (m *SignTransactionRequest_AdditionalScript) 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 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_COINBASE TransactionDetails_TransactionType = 4 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 UnspentOutputResponse ¶ added in v1.2.0
type UnspentOutputResponse 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"` AmountSum int64 `protobuf:"varint,8,opt,name=amount_sum,json=amountSum" json:"amount_sum,omitempty"` }
func (*UnspentOutputResponse) Descriptor ¶ added in v1.2.0
func (*UnspentOutputResponse) Descriptor() ([]byte, []int)
func (*UnspentOutputResponse) GetAmount ¶ added in v1.2.0
func (m *UnspentOutputResponse) GetAmount() int64
func (*UnspentOutputResponse) GetAmountSum ¶ added in v1.2.0
func (m *UnspentOutputResponse) GetAmountSum() int64
func (*UnspentOutputResponse) GetFromCoinbase ¶ added in v1.2.0
func (m *UnspentOutputResponse) GetFromCoinbase() bool
func (*UnspentOutputResponse) GetOutputIndex ¶ added in v1.2.0
func (m *UnspentOutputResponse) GetOutputIndex() uint32
func (*UnspentOutputResponse) GetPkScript ¶ added in v1.2.0
func (m *UnspentOutputResponse) GetPkScript() []byte
func (*UnspentOutputResponse) GetReceiveTime ¶ added in v1.2.0
func (m *UnspentOutputResponse) GetReceiveTime() int64
func (*UnspentOutputResponse) GetTransactionHash ¶ added in v1.2.0
func (m *UnspentOutputResponse) GetTransactionHash() []byte
func (*UnspentOutputResponse) GetTree ¶ added in v1.2.0
func (m *UnspentOutputResponse) GetTree() int32
func (*UnspentOutputResponse) ProtoMessage ¶ added in v1.2.0
func (*UnspentOutputResponse) ProtoMessage()
func (*UnspentOutputResponse) Reset ¶ added in v1.2.0
func (m *UnspentOutputResponse) Reset()
func (*UnspentOutputResponse) String ¶ added in v1.2.0
func (m *UnspentOutputResponse) String() string
type UnspentOutputsRequest ¶ added in v1.2.0
type UnspentOutputsRequest 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 */ }
func (*UnspentOutputsRequest) Descriptor ¶ added in v1.2.0
func (*UnspentOutputsRequest) Descriptor() ([]byte, []int)
func (*UnspentOutputsRequest) GetAccount ¶ added in v1.2.0
func (m *UnspentOutputsRequest) GetAccount() uint32
func (*UnspentOutputsRequest) GetIncludeImmatureCoinbases ¶ added in v1.2.0
func (m *UnspentOutputsRequest) GetIncludeImmatureCoinbases() bool
func (*UnspentOutputsRequest) GetRequiredConfirmations ¶ added in v1.2.0
func (m *UnspentOutputsRequest) GetRequiredConfirmations() int32
func (*UnspentOutputsRequest) GetTargetAmount ¶ added in v1.2.0
func (m *UnspentOutputsRequest) GetTargetAmount() int64
func (*UnspentOutputsRequest) ProtoMessage ¶ added in v1.2.0
func (*UnspentOutputsRequest) ProtoMessage()
func (*UnspentOutputsRequest) Reset ¶ added in v1.2.0
func (m *UnspentOutputsRequest) Reset()
func (*UnspentOutputsRequest) String ¶ added in v1.2.0
func (m *UnspentOutputsRequest) String() string
type ValidateAddressRequest ¶ added in v1.1.2
type ValidateAddressRequest struct {
Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
}
func (*ValidateAddressRequest) Descriptor ¶ added in v1.1.2
func (*ValidateAddressRequest) Descriptor() ([]byte, []int)
func (*ValidateAddressRequest) GetAddress ¶ added in v1.1.2
func (m *ValidateAddressRequest) GetAddress() string
func (*ValidateAddressRequest) ProtoMessage ¶ added in v1.1.2
func (*ValidateAddressRequest) ProtoMessage()
func (*ValidateAddressRequest) Reset ¶ added in v1.1.2
func (m *ValidateAddressRequest) Reset()
func (*ValidateAddressRequest) String ¶ added in v1.1.2
func (m *ValidateAddressRequest) String() string
type ValidateAddressResponse ¶ added in v1.1.2
type ValidateAddressResponse struct { IsValid bool `protobuf:"varint,1,opt,name=is_valid,json=isValid" json:"is_valid,omitempty"` IsMine bool `protobuf:"varint,2,opt,name=is_mine,json=isMine" json:"is_mine,omitempty"` AccountNumber uint32 `protobuf:"varint,3,opt,name=account_number,json=accountNumber" json:"account_number,omitempty"` PubKeyAddr string `protobuf:"bytes,4,opt,name=pub_key_addr,json=pubKeyAddr" json:"pub_key_addr,omitempty"` PubKey []byte `protobuf:"bytes,5,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` IsScript bool `protobuf:"varint,6,opt,name=is_script,json=isScript" json:"is_script,omitempty"` PkScriptAddrs []string `protobuf:"bytes,7,rep,name=pk_script_addrs,json=pkScriptAddrs" json:"pk_script_addrs,omitempty"` ScriptType ValidateAddressResponse_ScriptType `` /* 135-byte string literal not displayed */ PayToAddrScript []byte `protobuf:"bytes,9,opt,name=pay_to_addr_script,json=payToAddrScript,proto3" json:"pay_to_addr_script,omitempty"` SigsRequired uint32 `protobuf:"varint,10,opt,name=sigs_required,json=sigsRequired" json:"sigs_required,omitempty"` }
func (*ValidateAddressResponse) Descriptor ¶ added in v1.1.2
func (*ValidateAddressResponse) Descriptor() ([]byte, []int)
func (*ValidateAddressResponse) GetAccountNumber ¶ added in v1.1.2
func (m *ValidateAddressResponse) GetAccountNumber() uint32
func (*ValidateAddressResponse) GetIsMine ¶ added in v1.1.2
func (m *ValidateAddressResponse) GetIsMine() bool
func (*ValidateAddressResponse) GetIsScript ¶ added in v1.1.2
func (m *ValidateAddressResponse) GetIsScript() bool
func (*ValidateAddressResponse) GetIsValid ¶ added in v1.1.2
func (m *ValidateAddressResponse) GetIsValid() bool
func (*ValidateAddressResponse) GetPayToAddrScript ¶ added in v1.1.2
func (m *ValidateAddressResponse) GetPayToAddrScript() []byte
func (*ValidateAddressResponse) GetPkScriptAddrs ¶ added in v1.1.2
func (m *ValidateAddressResponse) GetPkScriptAddrs() []string
func (*ValidateAddressResponse) GetPubKey ¶ added in v1.1.2
func (m *ValidateAddressResponse) GetPubKey() []byte
func (*ValidateAddressResponse) GetPubKeyAddr ¶ added in v1.1.2
func (m *ValidateAddressResponse) GetPubKeyAddr() string
func (*ValidateAddressResponse) GetScriptType ¶ added in v1.1.2
func (m *ValidateAddressResponse) GetScriptType() ValidateAddressResponse_ScriptType
func (*ValidateAddressResponse) GetSigsRequired ¶ added in v1.1.2
func (m *ValidateAddressResponse) GetSigsRequired() uint32
func (*ValidateAddressResponse) ProtoMessage ¶ added in v1.1.2
func (*ValidateAddressResponse) ProtoMessage()
func (*ValidateAddressResponse) Reset ¶ added in v1.1.2
func (m *ValidateAddressResponse) Reset()
func (*ValidateAddressResponse) String ¶ added in v1.1.2
func (m *ValidateAddressResponse) String() string
type ValidateAddressResponse_ScriptType ¶ added in v1.1.2
type ValidateAddressResponse_ScriptType int32
const ( ValidateAddressResponse_NonStandardTy ValidateAddressResponse_ScriptType = 0 ValidateAddressResponse_PubKeyTy ValidateAddressResponse_ScriptType = 1 ValidateAddressResponse_PubKeyHashTy ValidateAddressResponse_ScriptType = 2 ValidateAddressResponse_ScriptHashTy ValidateAddressResponse_ScriptType = 3 ValidateAddressResponse_MultiSigTy ValidateAddressResponse_ScriptType = 4 ValidateAddressResponse_NullDataTy ValidateAddressResponse_ScriptType = 5 ValidateAddressResponse_StakeSubmissionTy ValidateAddressResponse_ScriptType = 6 ValidateAddressResponse_StakeGenTy ValidateAddressResponse_ScriptType = 7 ValidateAddressResponse_StakeRevocationTy ValidateAddressResponse_ScriptType = 8 ValidateAddressResponse_StakeSubChangeTy ValidateAddressResponse_ScriptType = 9 ValidateAddressResponse_PubkeyAltTy ValidateAddressResponse_ScriptType = 10 ValidateAddressResponse_PubkeyHashAltTy ValidateAddressResponse_ScriptType = 11 )
func (ValidateAddressResponse_ScriptType) EnumDescriptor ¶ added in v1.1.2
func (ValidateAddressResponse_ScriptType) EnumDescriptor() ([]byte, []int)
func (ValidateAddressResponse_ScriptType) String ¶ added in v1.1.2
func (x ValidateAddressResponse_ScriptType) String() string
type VerifyMessageRequest ¶ added in v1.0.7
type VerifyMessageRequest struct { Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` Message string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` }
func (*VerifyMessageRequest) Descriptor ¶ added in v1.0.7
func (*VerifyMessageRequest) Descriptor() ([]byte, []int)
func (*VerifyMessageRequest) GetAddress ¶ added in v1.0.7
func (m *VerifyMessageRequest) GetAddress() string
func (*VerifyMessageRequest) GetMessage ¶ added in v1.0.7
func (m *VerifyMessageRequest) GetMessage() string
func (*VerifyMessageRequest) GetSignature ¶ added in v1.0.7
func (m *VerifyMessageRequest) GetSignature() []byte
func (*VerifyMessageRequest) ProtoMessage ¶ added in v1.0.7
func (*VerifyMessageRequest) ProtoMessage()
func (*VerifyMessageRequest) Reset ¶ added in v1.0.7
func (m *VerifyMessageRequest) Reset()
func (*VerifyMessageRequest) String ¶ added in v1.0.7
func (m *VerifyMessageRequest) String() string
type VerifyMessageResponse ¶ added in v1.0.7
type VerifyMessageResponse struct {
Valid bool `protobuf:"varint,1,opt,name=valid" json:"valid,omitempty"`
}
func (*VerifyMessageResponse) Descriptor ¶ added in v1.0.7
func (*VerifyMessageResponse) Descriptor() ([]byte, []int)
func (*VerifyMessageResponse) GetValid ¶ added in v1.0.7
func (m *VerifyMessageResponse) GetValid() bool
func (*VerifyMessageResponse) ProtoMessage ¶ added in v1.0.7
func (*VerifyMessageResponse) ProtoMessage()
func (*VerifyMessageResponse) Reset ¶ added in v1.0.7
func (m *VerifyMessageResponse) Reset()
func (*VerifyMessageResponse) String ¶ added in v1.0.7
func (m *VerifyMessageResponse) 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) GetTransaction(ctx context.Context, in *GetTransactionRequest, opts ...grpc.CallOption) (*GetTransactionResponse, error) GetTransactions(ctx context.Context, in *GetTransactionsRequest, opts ...grpc.CallOption) (WalletService_GetTransactionsClient, error) GetTickets(ctx context.Context, in *GetTicketsRequest, opts ...grpc.CallOption) (WalletService_GetTicketsClient, error) TicketPrice(ctx context.Context, in *TicketPriceRequest, opts ...grpc.CallOption) (*TicketPriceResponse, error) StakeInfo(ctx context.Context, in *StakeInfoRequest, opts ...grpc.CallOption) (*StakeInfoResponse, error) BlockInfo(ctx context.Context, in *BlockInfoRequest, opts ...grpc.CallOption) (*BlockInfoResponse, error) BestBlock(ctx context.Context, in *BestBlockRequest, opts ...grpc.CallOption) (*BestBlockResponse, error) // Notifications TransactionNotifications(ctx context.Context, in *TransactionNotificationsRequest, opts ...grpc.CallOption) (WalletService_TransactionNotificationsClient, error) AccountNotifications(ctx context.Context, in *AccountNotificationsRequest, opts ...grpc.CallOption) (WalletService_AccountNotificationsClient, error) ConfirmationNotifications(ctx context.Context, opts ...grpc.CallOption) (WalletService_ConfirmationNotificationsClient, 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) UnspentOutputs(ctx context.Context, in *UnspentOutputsRequest, opts ...grpc.CallOption) (WalletService_UnspentOutputsClient, error) ConstructTransaction(ctx context.Context, in *ConstructTransactionRequest, opts ...grpc.CallOption) (*ConstructTransactionResponse, error) SignTransaction(ctx context.Context, in *SignTransactionRequest, opts ...grpc.CallOption) (*SignTransactionResponse, error) CreateSignature(ctx context.Context, in *CreateSignatureRequest, opts ...grpc.CallOption) (*CreateSignatureResponse, error) PublishTransaction(ctx context.Context, in *PublishTransactionRequest, opts ...grpc.CallOption) (*PublishTransactionResponse, error) PublishUnminedTransactions(ctx context.Context, in *PublishUnminedTransactionsRequest, opts ...grpc.CallOption) (*PublishUnminedTransactionsResponse, error) PurchaseTickets(ctx context.Context, in *PurchaseTicketsRequest, opts ...grpc.CallOption) (*PurchaseTicketsResponse, error) RevokeTickets(ctx context.Context, in *RevokeTicketsRequest, opts ...grpc.CallOption) (*RevokeTicketsResponse, error) LoadActiveDataFilters(ctx context.Context, in *LoadActiveDataFiltersRequest, opts ...grpc.CallOption) (*LoadActiveDataFiltersResponse, error) SignMessage(ctx context.Context, in *SignMessageRequest, opts ...grpc.CallOption) (*SignMessageResponse, error) SignMessages(ctx context.Context, in *SignMessagesRequest, opts ...grpc.CallOption) (*SignMessagesResponse, error) ValidateAddress(ctx context.Context, in *ValidateAddressRequest, opts ...grpc.CallOption) (*ValidateAddressResponse, error) CommittedTickets(ctx context.Context, in *CommittedTicketsRequest, opts ...grpc.CallOption) (*CommittedTicketsResponse, 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) GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error) GetTransactions(*GetTransactionsRequest, WalletService_GetTransactionsServer) error GetTickets(*GetTicketsRequest, WalletService_GetTicketsServer) error TicketPrice(context.Context, *TicketPriceRequest) (*TicketPriceResponse, error) StakeInfo(context.Context, *StakeInfoRequest) (*StakeInfoResponse, error) BlockInfo(context.Context, *BlockInfoRequest) (*BlockInfoResponse, error) BestBlock(context.Context, *BestBlockRequest) (*BestBlockResponse, error) // Notifications TransactionNotifications(*TransactionNotificationsRequest, WalletService_TransactionNotificationsServer) error AccountNotifications(*AccountNotificationsRequest, WalletService_AccountNotificationsServer) error ConfirmationNotifications(WalletService_ConfirmationNotificationsServer) 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) UnspentOutputs(*UnspentOutputsRequest, WalletService_UnspentOutputsServer) error ConstructTransaction(context.Context, *ConstructTransactionRequest) (*ConstructTransactionResponse, error) SignTransaction(context.Context, *SignTransactionRequest) (*SignTransactionResponse, error) CreateSignature(context.Context, *CreateSignatureRequest) (*CreateSignatureResponse, error) PublishTransaction(context.Context, *PublishTransactionRequest) (*PublishTransactionResponse, error) PublishUnminedTransactions(context.Context, *PublishUnminedTransactionsRequest) (*PublishUnminedTransactionsResponse, error) PurchaseTickets(context.Context, *PurchaseTicketsRequest) (*PurchaseTicketsResponse, error) RevokeTickets(context.Context, *RevokeTicketsRequest) (*RevokeTicketsResponse, error) LoadActiveDataFilters(context.Context, *LoadActiveDataFiltersRequest) (*LoadActiveDataFiltersResponse, error) SignMessage(context.Context, *SignMessageRequest) (*SignMessageResponse, error) SignMessages(context.Context, *SignMessagesRequest) (*SignMessagesResponse, error) ValidateAddress(context.Context, *ValidateAddressRequest) (*ValidateAddressResponse, error) CommittedTickets(context.Context, *CommittedTicketsRequest) (*CommittedTicketsResponse, 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_ConfirmationNotificationsClient ¶ added in v1.0.3
type WalletService_ConfirmationNotificationsClient interface { Send(*ConfirmationNotificationsRequest) error Recv() (*ConfirmationNotificationsResponse, error) grpc.ClientStream }
type WalletService_ConfirmationNotificationsServer ¶ added in v1.0.3
type WalletService_ConfirmationNotificationsServer interface { Send(*ConfirmationNotificationsResponse) error Recv() (*ConfirmationNotificationsRequest, error) grpc.ServerStream }
type WalletService_GetTicketsClient ¶ added in v1.1.2
type WalletService_GetTicketsClient interface { Recv() (*GetTicketsResponse, error) grpc.ClientStream }
type WalletService_GetTicketsServer ¶ added in v1.1.2
type WalletService_GetTicketsServer interface { Send(*GetTicketsResponse) 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_TransactionNotificationsClient ¶
type WalletService_TransactionNotificationsClient interface { Recv() (*TransactionNotificationsResponse, error) grpc.ClientStream }
type WalletService_TransactionNotificationsServer ¶
type WalletService_TransactionNotificationsServer interface { Send(*TransactionNotificationsResponse) error grpc.ServerStream }
type WalletService_UnspentOutputsClient ¶ added in v1.2.0
type WalletService_UnspentOutputsClient interface { Recv() (*UnspentOutputResponse, error) grpc.ClientStream }
type WalletService_UnspentOutputsServer ¶ added in v1.2.0
type WalletService_UnspentOutputsServer interface { Send(*UnspentOutputResponse) error grpc.ServerStream }
Click to show internal directories.
Click to hide internal directories.