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 ConstructTransactionRequest ConstructTransactionResponse SignTransactionRequest SignTransactionResponse CreateSignatureRequest CreateSignatureResponse PublishTransactionRequest PublishTransactionResponse PurchaseTicketsRequest PurchaseTicketsResponse RevokeTicketsRequest RevokeTicketsResponse LoadActiveDataFiltersRequest LoadActiveDataFiltersResponse SignMessageRequest SignMessageResponse 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
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) GetAccountType() 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
- func (*BestBlockRequest) Descriptor() ([]byte, []int)
- func (*BestBlockRequest) ProtoMessage()
- func (m *BestBlockRequest) Reset()
- func (m *BestBlockRequest) String() string
- func (m *BestBlockRequest) XXX_DiscardUnknown()
- func (m *BestBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BestBlockRequest) XXX_Merge(src proto.Message)
- func (m *BestBlockRequest) XXX_Size() int
- func (m *BestBlockRequest) XXX_Unmarshal(b []byte) error
- type BestBlockResponse
- func (*BestBlockResponse) Descriptor() ([]byte, []int)
- func (m *BestBlockResponse) GetHash() []byte
- func (m *BestBlockResponse) GetHeight() uint32
- func (*BestBlockResponse) ProtoMessage()
- func (m *BestBlockResponse) Reset()
- func (m *BestBlockResponse) String() string
- func (m *BestBlockResponse) XXX_DiscardUnknown()
- func (m *BestBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BestBlockResponse) XXX_Merge(src proto.Message)
- func (m *BestBlockResponse) XXX_Size() int
- func (m *BestBlockResponse) XXX_Unmarshal(b []byte) error
- type BlockDetails
- func (*BlockDetails) Descriptor() ([]byte, []int)
- func (m *BlockDetails) GetHash() []byte
- func (m *BlockDetails) GetHeight() int32
- func (m *BlockDetails) GetTimestamp() int64
- func (m *BlockDetails) GetTransactions() []*TransactionDetails
- func (*BlockDetails) ProtoMessage()
- func (m *BlockDetails) Reset()
- func (m *BlockDetails) String() string
- type BlockInfoRequest
- type BlockInfoResponse
- func (*BlockInfoResponse) Descriptor() ([]byte, []int)
- 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
- func (*CommittedTicketsRequest) Descriptor() ([]byte, []int)
- func (m *CommittedTicketsRequest) GetTickets() [][]byte
- func (*CommittedTicketsRequest) ProtoMessage()
- func (m *CommittedTicketsRequest) Reset()
- func (m *CommittedTicketsRequest) String() string
- func (m *CommittedTicketsRequest) XXX_DiscardUnknown()
- func (m *CommittedTicketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CommittedTicketsRequest) XXX_Merge(src proto.Message)
- func (m *CommittedTicketsRequest) XXX_Size() int
- func (m *CommittedTicketsRequest) XXX_Unmarshal(b []byte) error
- 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
- func (m *CommittedTicketsResponse) XXX_DiscardUnknown()
- func (m *CommittedTicketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CommittedTicketsResponse) XXX_Merge(src proto.Message)
- func (m *CommittedTicketsResponse) XXX_Size() int
- func (m *CommittedTicketsResponse) XXX_Unmarshal(b []byte) error
- 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
- func (m *CommittedTicketsResponse_TicketAddress) XXX_DiscardUnknown()
- func (m *CommittedTicketsResponse_TicketAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CommittedTicketsResponse_TicketAddress) XXX_Merge(src proto.Message)
- func (m *CommittedTicketsResponse_TicketAddress) XXX_Size() int
- func (m *CommittedTicketsResponse_TicketAddress) XXX_Unmarshal(b []byte) error
- 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 (*GetTicketsRequest) ProtoMessage()
- func (m *GetTicketsRequest) Reset()
- func (m *GetTicketsRequest) String() string
- type GetTicketsResponse
- 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
- type GetTransactionsRequest
- func (*GetTransactionsRequest) Descriptor() ([]byte, []int)
- func (m *GetTransactionsRequest) GetEndingBlockHash() []byte
- func (m *GetTransactionsRequest) GetEndingBlockHeight() int32
- func (m *GetTransactionsRequest) GetMinimumRecentTransactions() int32
- func (m *GetTransactionsRequest) GetStartingBlockHash() []byte
- func (m *GetTransactionsRequest) GetStartingBlockHeight() int32
- func (*GetTransactionsRequest) ProtoMessage()
- func (m *GetTransactionsRequest) Reset()
- func (m *GetTransactionsRequest) String() string
- type GetTransactionsResponse
- func (*GetTransactionsResponse) Descriptor() ([]byte, []int)
- func (m *GetTransactionsResponse) GetMinedTransactions() *BlockDetails
- func (m *GetTransactionsResponse) GetUnminedTransactions() []*TransactionDetails
- func (*GetTransactionsResponse) ProtoMessage()
- func (m *GetTransactionsResponse) Reset()
- func (m *GetTransactionsResponse) String() string
- type ImportPrivateKeyRequest
- func (*ImportPrivateKeyRequest) Descriptor() ([]byte, []int)
- func (m *ImportPrivateKeyRequest) GetAccount() uint32
- func (m *ImportPrivateKeyRequest) GetPassphrase() []byte
- func (m *ImportPrivateKeyRequest) GetPrivateKeyWif() string
- func (m *ImportPrivateKeyRequest) GetRescan() bool
- func (m *ImportPrivateKeyRequest) GetScanFrom() int32
- func (*ImportPrivateKeyRequest) ProtoMessage()
- func (m *ImportPrivateKeyRequest) Reset()
- func (m *ImportPrivateKeyRequest) String() string
- type ImportPrivateKeyResponse
- type ImportScriptRequest
- func (*ImportScriptRequest) Descriptor() ([]byte, []int)
- func (m *ImportScriptRequest) GetPassphrase() []byte
- func (m *ImportScriptRequest) 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
- func (*NextAccountRequest) Descriptor() ([]byte, []int)
- func (m *NextAccountRequest) GetAccountName() string
- func (m *NextAccountRequest) GetAccountType() uint32
- func (m *NextAccountRequest) GetPassphrase() []byte
- func (*NextAccountRequest) ProtoMessage()
- func (m *NextAccountRequest) Reset()
- func (m *NextAccountRequest) String() string
- 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
- func (*NextAddressResponse) Descriptor() ([]byte, []int)
- func (m *NextAddressResponse) GetAccountType() NextAddressResponse_AccountType
- func (m *NextAddressResponse) GetAddress() string
- func (m *NextAddressResponse) GetPublicKey() string
- func (*NextAddressResponse) ProtoMessage()
- func (m *NextAddressResponse) Reset()
- func (m *NextAddressResponse) String() string
- type NextAddressResponse_AccountType
- type OpenWalletRequest
- type OpenWalletResponse
- type PingRequest
- type PingResponse
- type PublishTransactionRequest
- type PublishTransactionResponse
- type PurchaseTicketsRequest
- func (*PurchaseTicketsRequest) Descriptor() ([]byte, []int)
- func (m *PurchaseTicketsRequest) GetAccount() uint32
- func (m *PurchaseTicketsRequest) GetExpiry() uint32
- func (m *PurchaseTicketsRequest) GetNumTickets() uint32
- func (m *PurchaseTicketsRequest) GetPassphrase() []byte
- func (m *PurchaseTicketsRequest) GetPoolAddress() string
- func (m *PurchaseTicketsRequest) GetPoolFees() float64
- func (m *PurchaseTicketsRequest) GetRequiredConfirmations() uint32
- func (m *PurchaseTicketsRequest) GetSpendLimit() int64
- func (m *PurchaseTicketsRequest) GetTicketAddress() string
- func (m *PurchaseTicketsRequest) GetTicketFee() int64
- func (m *PurchaseTicketsRequest) GetTxFee() int64
- func (*PurchaseTicketsRequest) ProtoMessage()
- func (m *PurchaseTicketsRequest) Reset()
- func (m *PurchaseTicketsRequest) String() string
- type PurchaseTicketsResponse
- type RenameAccountRequest
- type RenameAccountResponse
- type RescanPointRequest
- type RescanPointResponse
- 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
- func (m *SignMessagesRequest) XXX_DiscardUnknown()
- func (m *SignMessagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SignMessagesRequest) XXX_Merge(src proto.Message)
- func (m *SignMessagesRequest) XXX_Size() int
- func (m *SignMessagesRequest) XXX_Unmarshal(b []byte) error
- 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
- func (m *SignMessagesRequest_Message) XXX_DiscardUnknown()
- func (m *SignMessagesRequest_Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SignMessagesRequest_Message) XXX_Merge(src proto.Message)
- func (m *SignMessagesRequest_Message) XXX_Size() int
- func (m *SignMessagesRequest_Message) XXX_Unmarshal(b []byte) error
- type SignMessagesResponse
- func (*SignMessagesResponse) Descriptor() ([]byte, []int)
- func (m *SignMessagesResponse) GetReplies() []*SignMessagesResponse_SignReply
- func (*SignMessagesResponse) ProtoMessage()
- func (m *SignMessagesResponse) Reset()
- func (m *SignMessagesResponse) String() string
- func (m *SignMessagesResponse) XXX_DiscardUnknown()
- func (m *SignMessagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SignMessagesResponse) XXX_Merge(src proto.Message)
- func (m *SignMessagesResponse) XXX_Size() int
- func (m *SignMessagesResponse) XXX_Unmarshal(b []byte) error
- 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
- func (m *SignMessagesResponse_SignReply) XXX_DiscardUnknown()
- func (m *SignMessagesResponse_SignReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SignMessagesResponse_SignReply) XXX_Merge(src proto.Message)
- func (m *SignMessagesResponse_SignReply) XXX_Size() int
- func (m *SignMessagesResponse_SignReply) XXX_Unmarshal(b []byte) error
- 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 ValidateAddressRequest
- type ValidateAddressResponse
- func (*ValidateAddressResponse) Descriptor() ([]byte, []int)
- func (m *ValidateAddressResponse) GetAccountNumber() uint32
- func (m *ValidateAddressResponse) GetIsCompressed() bool
- 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
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",
2: "BLISS",
}
View Source
var NextAddressRequest_Kind_value = map[string]int32{
"BIP0044_EXTERNAL": 0,
"BIP0044_INTERNAL": 1,
"BLISS": 2,
}
View Source
var NextAddressResponse_AccountType_name = map[int32]string{
0: "BIP0044",
1: "BLISS",
}
View Source
var NextAddressResponse_AccountType_value = map[string]int32{
"BIP0044": 0,
"BLISS": 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 ¶
func RegisterAgendaServiceServer(s *grpc.Server, srv AgendaServiceServer)
func RegisterDecodeMessageServiceServer ¶
func RegisterDecodeMessageServiceServer(s *grpc.Server, srv DecodeMessageServiceServer)
func RegisterMessageVerificationServiceServer ¶
func RegisterMessageVerificationServiceServer(s *grpc.Server, srv MessageVerificationServiceServer)
func RegisterSeedServiceServer ¶
func RegisterSeedServiceServer(s *grpc.Server, srv SeedServiceServer)
func RegisterTicketBuyerServiceServer ¶
func RegisterTicketBuyerServiceServer(s *grpc.Server, srv TicketBuyerServiceServer)
func RegisterVersionServiceServer ¶
func RegisterVersionServiceServer(s *grpc.Server, srv VersionServiceServer)
func RegisterVotingServiceServer ¶
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 ¶
func (m *AccountBalance) GetAccount() uint32
func (*AccountBalance) GetTotalBalance ¶
func (m *AccountBalance) GetTotalBalance() int64
func (*AccountBalance) ProtoMessage ¶
func (*AccountBalance) ProtoMessage()
func (*AccountBalance) Reset ¶
func (m *AccountBalance) Reset()
func (*AccountBalance) String ¶
func (m *AccountBalance) String() string
type AccountNotificationsRequest ¶
type AccountNotificationsRequest struct { }
func (*AccountNotificationsRequest) Descriptor ¶
func (*AccountNotificationsRequest) Descriptor() ([]byte, []int)
func (*AccountNotificationsRequest) ProtoMessage ¶
func (*AccountNotificationsRequest) ProtoMessage()
func (*AccountNotificationsRequest) Reset ¶
func (m *AccountNotificationsRequest) Reset()
func (*AccountNotificationsRequest) String ¶
func (m *AccountNotificationsRequest) String() string
type AccountNotificationsResponse ¶
type AccountNotificationsResponse struct { AccountNumber uint32 `protobuf:"varint,1,opt,name=account_number,json=accountNumber" json:"account_number,omitempty"` AccountName string `protobuf:"bytes,2,opt,name=account_name,json=accountName" json:"account_name,omitempty"` ExternalKeyCount uint32 `protobuf:"varint,3,opt,name=external_key_count,json=externalKeyCount" json:"external_key_count,omitempty"` InternalKeyCount uint32 `protobuf:"varint,4,opt,name=internal_key_count,json=internalKeyCount" json:"internal_key_count,omitempty"` ImportedKeyCount uint32 `protobuf:"varint,5,opt,name=imported_key_count,json=importedKeyCount" json:"imported_key_count,omitempty"` }
func (*AccountNotificationsResponse) Descriptor ¶
func (*AccountNotificationsResponse) Descriptor() ([]byte, []int)
func (*AccountNotificationsResponse) GetAccountName ¶
func (m *AccountNotificationsResponse) GetAccountName() string
func (*AccountNotificationsResponse) GetAccountNumber ¶
func (m *AccountNotificationsResponse) GetAccountNumber() uint32
func (*AccountNotificationsResponse) GetExternalKeyCount ¶
func (m *AccountNotificationsResponse) GetExternalKeyCount() uint32
func (*AccountNotificationsResponse) GetImportedKeyCount ¶
func (m *AccountNotificationsResponse) GetImportedKeyCount() uint32
func (*AccountNotificationsResponse) GetInternalKeyCount ¶
func (m *AccountNotificationsResponse) GetInternalKeyCount() uint32
func (*AccountNotificationsResponse) ProtoMessage ¶
func (*AccountNotificationsResponse) ProtoMessage()
func (*AccountNotificationsResponse) Reset ¶
func (m *AccountNotificationsResponse) Reset()
func (*AccountNotificationsResponse) String ¶
func (m *AccountNotificationsResponse) String() string
type AccountNumberRequest ¶
type AccountNumberRequest struct {
AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
}
func (*AccountNumberRequest) Descriptor ¶
func (*AccountNumberRequest) Descriptor() ([]byte, []int)
func (*AccountNumberRequest) GetAccountName ¶
func (m *AccountNumberRequest) GetAccountName() string
func (*AccountNumberRequest) ProtoMessage ¶
func (*AccountNumberRequest) ProtoMessage()
func (*AccountNumberRequest) Reset ¶
func (m *AccountNumberRequest) Reset()
func (*AccountNumberRequest) String ¶
func (m *AccountNumberRequest) String() string
type AccountNumberResponse ¶
type AccountNumberResponse struct {
AccountNumber uint32 `protobuf:"varint,1,opt,name=account_number,json=accountNumber" json:"account_number,omitempty"`
}
func (*AccountNumberResponse) Descriptor ¶
func (*AccountNumberResponse) Descriptor() ([]byte, []int)
func (*AccountNumberResponse) GetAccountNumber ¶
func (m *AccountNumberResponse) GetAccountNumber() uint32
func (*AccountNumberResponse) ProtoMessage ¶
func (*AccountNumberResponse) ProtoMessage()
func (*AccountNumberResponse) Reset ¶
func (m *AccountNumberResponse) Reset()
func (*AccountNumberResponse) String ¶
func (m *AccountNumberResponse) String() string
type AccountsRequest ¶
type AccountsRequest struct { }
func (*AccountsRequest) Descriptor ¶
func (*AccountsRequest) Descriptor() ([]byte, []int)
func (*AccountsRequest) ProtoMessage ¶
func (*AccountsRequest) ProtoMessage()
func (*AccountsRequest) Reset ¶
func (m *AccountsRequest) Reset()
func (*AccountsRequest) String ¶
func (m *AccountsRequest) String() string
type AccountsResponse ¶
type AccountsResponse struct { Accounts []*AccountsResponse_Account `protobuf:"bytes,1,rep,name=accounts" json:"accounts,omitempty"` CurrentBlockHash []byte `protobuf:"bytes,2,opt,name=current_block_hash,json=currentBlockHash,proto3" json:"current_block_hash,omitempty"` CurrentBlockHeight int32 `protobuf:"varint,3,opt,name=current_block_height,json=currentBlockHeight" json:"current_block_height,omitempty"` }
func (*AccountsResponse) Descriptor ¶
func (*AccountsResponse) Descriptor() ([]byte, []int)
func (*AccountsResponse) GetAccounts ¶
func (m *AccountsResponse) GetAccounts() []*AccountsResponse_Account
func (*AccountsResponse) GetCurrentBlockHash ¶
func (m *AccountsResponse) GetCurrentBlockHash() []byte
func (*AccountsResponse) GetCurrentBlockHeight ¶
func (m *AccountsResponse) GetCurrentBlockHeight() int32
func (*AccountsResponse) ProtoMessage ¶
func (*AccountsResponse) ProtoMessage()
func (*AccountsResponse) Reset ¶
func (m *AccountsResponse) Reset()
func (*AccountsResponse) String ¶
func (m *AccountsResponse) String() string
type AccountsResponse_Account ¶
type AccountsResponse_Account struct { AccountNumber uint32 `protobuf:"varint,1,opt,name=account_number,json=accountNumber" json:"account_number,omitempty"` AccountName string `protobuf:"bytes,2,opt,name=account_name,json=accountName" json:"account_name,omitempty"` TotalBalance int64 `protobuf:"varint,3,opt,name=total_balance,json=totalBalance" json:"total_balance,omitempty"` ExternalKeyCount uint32 `protobuf:"varint,4,opt,name=external_key_count,json=externalKeyCount" json:"external_key_count,omitempty"` InternalKeyCount uint32 `protobuf:"varint,5,opt,name=internal_key_count,json=internalKeyCount" json:"internal_key_count,omitempty"` ImportedKeyCount uint32 `protobuf:"varint,6,opt,name=imported_key_count,json=importedKeyCount" json:"imported_key_count,omitempty"` AccountType uint32 `protobuf:"varint,7,opt,name=account_type,json=accountType" json:"account_type,omitempty"` }
func (*AccountsResponse_Account) Descriptor ¶
func (*AccountsResponse_Account) Descriptor() ([]byte, []int)
func (*AccountsResponse_Account) GetAccountName ¶
func (m *AccountsResponse_Account) GetAccountName() string
func (*AccountsResponse_Account) GetAccountNumber ¶
func (m *AccountsResponse_Account) GetAccountNumber() uint32
func (*AccountsResponse_Account) GetAccountType ¶
func (m *AccountsResponse_Account) GetAccountType() uint32
func (*AccountsResponse_Account) GetExternalKeyCount ¶
func (m *AccountsResponse_Account) GetExternalKeyCount() uint32
func (*AccountsResponse_Account) GetImportedKeyCount ¶
func (m *AccountsResponse_Account) GetImportedKeyCount() uint32
func (*AccountsResponse_Account) GetInternalKeyCount ¶
func (m *AccountsResponse_Account) GetInternalKeyCount() uint32
func (*AccountsResponse_Account) GetTotalBalance ¶
func (m *AccountsResponse_Account) GetTotalBalance() int64
func (*AccountsResponse_Account) ProtoMessage ¶
func (*AccountsResponse_Account) ProtoMessage()
func (*AccountsResponse_Account) Reset ¶
func (m *AccountsResponse_Account) Reset()
func (*AccountsResponse_Account) String ¶
func (m *AccountsResponse_Account) String() string
type AgendaServiceClient ¶
type AgendaServiceClient interface {
Agendas(ctx context.Context, in *AgendasRequest, opts ...grpc.CallOption) (*AgendasResponse, error)
}
func NewAgendaServiceClient ¶
func NewAgendaServiceClient(cc *grpc.ClientConn) AgendaServiceClient
type AgendaServiceServer ¶
type AgendaServiceServer interface {
Agendas(context.Context, *AgendasRequest) (*AgendasResponse, error)
}
type AgendasRequest ¶
type AgendasRequest struct { }
func (*AgendasRequest) Descriptor ¶
func (*AgendasRequest) Descriptor() ([]byte, []int)
func (*AgendasRequest) ProtoMessage ¶
func (*AgendasRequest) ProtoMessage()
func (*AgendasRequest) Reset ¶
func (m *AgendasRequest) Reset()
func (*AgendasRequest) String ¶
func (m *AgendasRequest) String() string
type AgendasResponse ¶
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 ¶
func (*AgendasResponse) Descriptor() ([]byte, []int)
func (*AgendasResponse) GetAgendas ¶
func (m *AgendasResponse) GetAgendas() []*AgendasResponse_Agenda
func (*AgendasResponse) GetVersion ¶
func (m *AgendasResponse) GetVersion() uint32
func (*AgendasResponse) ProtoMessage ¶
func (*AgendasResponse) ProtoMessage()
func (*AgendasResponse) Reset ¶
func (m *AgendasResponse) Reset()
func (*AgendasResponse) String ¶
func (m *AgendasResponse) String() string
type AgendasResponse_Agenda ¶
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 ¶
func (*AgendasResponse_Agenda) Descriptor() ([]byte, []int)
func (*AgendasResponse_Agenda) GetChoices ¶
func (m *AgendasResponse_Agenda) GetChoices() []*AgendasResponse_Choice
func (*AgendasResponse_Agenda) GetDescription ¶
func (m *AgendasResponse_Agenda) GetDescription() string
func (*AgendasResponse_Agenda) GetExpireTime ¶
func (m *AgendasResponse_Agenda) GetExpireTime() int64
func (*AgendasResponse_Agenda) GetId ¶
func (m *AgendasResponse_Agenda) GetId() string
func (*AgendasResponse_Agenda) GetMask ¶
func (m *AgendasResponse_Agenda) GetMask() uint32
func (*AgendasResponse_Agenda) GetStartTime ¶
func (m *AgendasResponse_Agenda) GetStartTime() int64
func (*AgendasResponse_Agenda) ProtoMessage ¶
func (*AgendasResponse_Agenda) ProtoMessage()
func (*AgendasResponse_Agenda) Reset ¶
func (m *AgendasResponse_Agenda) Reset()
func (*AgendasResponse_Agenda) String ¶
func (m *AgendasResponse_Agenda) String() string
type AgendasResponse_Choice ¶
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 ¶
func (*AgendasResponse_Choice) Descriptor() ([]byte, []int)
func (*AgendasResponse_Choice) GetBits ¶
func (m *AgendasResponse_Choice) GetBits() uint32
func (*AgendasResponse_Choice) GetDescription ¶
func (m *AgendasResponse_Choice) GetDescription() string
func (*AgendasResponse_Choice) GetId ¶
func (m *AgendasResponse_Choice) GetId() string
func (*AgendasResponse_Choice) GetIsAbstain ¶
func (m *AgendasResponse_Choice) GetIsAbstain() bool
func (*AgendasResponse_Choice) GetIsNo ¶
func (m *AgendasResponse_Choice) GetIsNo() bool
func (*AgendasResponse_Choice) ProtoMessage ¶
func (*AgendasResponse_Choice) ProtoMessage()
func (*AgendasResponse_Choice) Reset ¶
func (m *AgendasResponse_Choice) Reset()
func (*AgendasResponse_Choice) String ¶
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 ¶
func (m *BalanceRequest) GetAccountNumber() uint32
func (*BalanceRequest) GetRequiredConfirmations ¶
func (m *BalanceRequest) GetRequiredConfirmations() int32
func (*BalanceRequest) ProtoMessage ¶
func (*BalanceRequest) ProtoMessage()
func (*BalanceRequest) Reset ¶
func (m *BalanceRequest) Reset()
func (*BalanceRequest) String ¶
func (m *BalanceRequest) String() string
type BalanceResponse ¶
type BalanceResponse struct { Total int64 `protobuf:"varint,1,opt,name=total" json:"total,omitempty"` Spendable int64 `protobuf:"varint,2,opt,name=spendable" json:"spendable,omitempty"` ImmatureReward int64 `protobuf:"varint,3,opt,name=immature_reward,json=immatureReward" json:"immature_reward,omitempty"` 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 ¶
func (m *BalanceResponse) GetImmatureReward() int64
func (*BalanceResponse) GetImmatureStakeGeneration ¶
func (m *BalanceResponse) GetImmatureStakeGeneration() int64
func (*BalanceResponse) GetLockedByTickets ¶
func (m *BalanceResponse) GetLockedByTickets() int64
func (*BalanceResponse) GetSpendable ¶
func (m *BalanceResponse) GetSpendable() int64
func (*BalanceResponse) GetTotal ¶
func (m *BalanceResponse) GetTotal() int64
func (*BalanceResponse) GetUnconfirmed ¶
func (m *BalanceResponse) GetUnconfirmed() int64
func (*BalanceResponse) GetVotingAuthority ¶
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 ¶
type BestBlockRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BestBlockRequest) Descriptor ¶
func (*BestBlockRequest) Descriptor() ([]byte, []int)
func (*BestBlockRequest) ProtoMessage ¶
func (*BestBlockRequest) ProtoMessage()
func (*BestBlockRequest) Reset ¶
func (m *BestBlockRequest) Reset()
func (*BestBlockRequest) String ¶
func (m *BestBlockRequest) String() string
func (*BestBlockRequest) XXX_DiscardUnknown ¶
func (m *BestBlockRequest) XXX_DiscardUnknown()
func (*BestBlockRequest) XXX_Marshal ¶
func (m *BestBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BestBlockRequest) XXX_Merge ¶
func (dst *BestBlockRequest) XXX_Merge(src proto.Message)
func (*BestBlockRequest) XXX_Size ¶
func (m *BestBlockRequest) XXX_Size() int
func (*BestBlockRequest) XXX_Unmarshal ¶
func (m *BestBlockRequest) XXX_Unmarshal(b []byte) error
type BestBlockResponse ¶
type BestBlockResponse struct { Height uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BestBlockResponse) Descriptor ¶
func (*BestBlockResponse) Descriptor() ([]byte, []int)
func (*BestBlockResponse) GetHash ¶
func (m *BestBlockResponse) GetHash() []byte
func (*BestBlockResponse) GetHeight ¶
func (m *BestBlockResponse) GetHeight() uint32
func (*BestBlockResponse) ProtoMessage ¶
func (*BestBlockResponse) ProtoMessage()
func (*BestBlockResponse) Reset ¶
func (m *BestBlockResponse) Reset()
func (*BestBlockResponse) String ¶
func (m *BestBlockResponse) String() string
func (*BestBlockResponse) XXX_DiscardUnknown ¶
func (m *BestBlockResponse) XXX_DiscardUnknown()
func (*BestBlockResponse) XXX_Marshal ¶
func (m *BestBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BestBlockResponse) XXX_Merge ¶
func (dst *BestBlockResponse) XXX_Merge(src proto.Message)
func (*BestBlockResponse) XXX_Size ¶
func (m *BestBlockResponse) XXX_Size() int
func (*BestBlockResponse) XXX_Unmarshal ¶
func (m *BestBlockResponse) XXX_Unmarshal(b []byte) error
type BlockDetails ¶
type BlockDetails struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Height int32 `protobuf:"varint,2,opt,name=height" json:"height,omitempty"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp" json:"timestamp,omitempty"` Transactions []*TransactionDetails `protobuf:"bytes,4,rep,name=transactions" json:"transactions,omitempty"` }
func (*BlockDetails) Descriptor ¶
func (*BlockDetails) Descriptor() ([]byte, []int)
func (*BlockDetails) GetHash ¶
func (m *BlockDetails) GetHash() []byte
func (*BlockDetails) GetHeight ¶
func (m *BlockDetails) GetHeight() int32
func (*BlockDetails) GetTimestamp ¶
func (m *BlockDetails) GetTimestamp() int64
func (*BlockDetails) GetTransactions ¶
func (m *BlockDetails) GetTransactions() []*TransactionDetails
func (*BlockDetails) ProtoMessage ¶
func (*BlockDetails) ProtoMessage()
func (*BlockDetails) Reset ¶
func (m *BlockDetails) Reset()
func (*BlockDetails) String ¶
func (m *BlockDetails) String() string
type BlockInfoRequest ¶
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 ¶
func (*BlockInfoRequest) Descriptor() ([]byte, []int)
func (*BlockInfoRequest) GetBlockHash ¶
func (m *BlockInfoRequest) GetBlockHash() []byte
func (*BlockInfoRequest) GetBlockHeight ¶
func (m *BlockInfoRequest) GetBlockHeight() int32
func (*BlockInfoRequest) ProtoMessage ¶
func (*BlockInfoRequest) ProtoMessage()
func (*BlockInfoRequest) Reset ¶
func (m *BlockInfoRequest) Reset()
func (*BlockInfoRequest) String ¶
func (m *BlockInfoRequest) String() string
type BlockInfoResponse ¶
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"` }
func (*BlockInfoResponse) Descriptor ¶
func (*BlockInfoResponse) Descriptor() ([]byte, []int)
func (*BlockInfoResponse) GetBlockHash ¶
func (m *BlockInfoResponse) GetBlockHash() []byte
func (*BlockInfoResponse) GetBlockHeader ¶
func (m *BlockInfoResponse) GetBlockHeader() []byte
func (*BlockInfoResponse) GetBlockHeight ¶
func (m *BlockInfoResponse) GetBlockHeight() int32
func (*BlockInfoResponse) GetConfirmations ¶
func (m *BlockInfoResponse) GetConfirmations() int32
func (*BlockInfoResponse) GetStakeInvalidated ¶
func (m *BlockInfoResponse) GetStakeInvalidated() bool
func (*BlockInfoResponse) GetTimestamp ¶
func (m *BlockInfoResponse) GetTimestamp() int64
func (*BlockInfoResponse) ProtoMessage ¶
func (*BlockInfoResponse) ProtoMessage()
func (*BlockInfoResponse) Reset ¶
func (m *BlockInfoResponse) Reset()
func (*BlockInfoResponse) String ¶
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 ¶
func (m *ChangePassphraseRequest) GetKey() ChangePassphraseRequest_Key
func (*ChangePassphraseRequest) GetNewPassphrase ¶
func (m *ChangePassphraseRequest) GetNewPassphrase() []byte
func (*ChangePassphraseRequest) GetOldPassphrase ¶
func (m *ChangePassphraseRequest) GetOldPassphrase() []byte
func (*ChangePassphraseRequest) ProtoMessage ¶
func (*ChangePassphraseRequest) ProtoMessage()
func (*ChangePassphraseRequest) Reset ¶
func (m *ChangePassphraseRequest) Reset()
func (*ChangePassphraseRequest) String ¶
func (m *ChangePassphraseRequest) String() string
type ChangePassphraseRequest_Key ¶
type ChangePassphraseRequest_Key int32
const ( ChangePassphraseRequest_PRIVATE ChangePassphraseRequest_Key = 0 ChangePassphraseRequest_PUBLIC ChangePassphraseRequest_Key = 1 )
func (ChangePassphraseRequest_Key) EnumDescriptor ¶
func (ChangePassphraseRequest_Key) EnumDescriptor() ([]byte, []int)
func (ChangePassphraseRequest_Key) String ¶
func (x ChangePassphraseRequest_Key) String() string
type ChangePassphraseResponse ¶
type ChangePassphraseResponse struct { }
func (*ChangePassphraseResponse) Descriptor ¶
func (*ChangePassphraseResponse) Descriptor() ([]byte, []int)
func (*ChangePassphraseResponse) ProtoMessage ¶
func (*ChangePassphraseResponse) ProtoMessage()
func (*ChangePassphraseResponse) Reset ¶
func (m *ChangePassphraseResponse) Reset()
func (*ChangePassphraseResponse) String ¶
func (m *ChangePassphraseResponse) String() string
type CloseWalletRequest ¶
type CloseWalletRequest struct { }
func (*CloseWalletRequest) Descriptor ¶
func (*CloseWalletRequest) Descriptor() ([]byte, []int)
func (*CloseWalletRequest) ProtoMessage ¶
func (*CloseWalletRequest) ProtoMessage()
func (*CloseWalletRequest) Reset ¶
func (m *CloseWalletRequest) Reset()
func (*CloseWalletRequest) String ¶
func (m *CloseWalletRequest) String() string
type CloseWalletResponse ¶
type CloseWalletResponse struct { }
func (*CloseWalletResponse) Descriptor ¶
func (*CloseWalletResponse) Descriptor() ([]byte, []int)
func (*CloseWalletResponse) ProtoMessage ¶
func (*CloseWalletResponse) ProtoMessage()
func (*CloseWalletResponse) Reset ¶
func (m *CloseWalletResponse) Reset()
func (*CloseWalletResponse) String ¶
func (m *CloseWalletResponse) String() string
type CommittedTicketsRequest ¶
type CommittedTicketsRequest struct { Tickets [][]byte `protobuf:"bytes,1,rep,name=tickets,proto3" json:"tickets,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommittedTicketsRequest) Descriptor ¶
func (*CommittedTicketsRequest) Descriptor() ([]byte, []int)
func (*CommittedTicketsRequest) GetTickets ¶
func (m *CommittedTicketsRequest) GetTickets() [][]byte
func (*CommittedTicketsRequest) ProtoMessage ¶
func (*CommittedTicketsRequest) ProtoMessage()
func (*CommittedTicketsRequest) Reset ¶
func (m *CommittedTicketsRequest) Reset()
func (*CommittedTicketsRequest) String ¶
func (m *CommittedTicketsRequest) String() string
func (*CommittedTicketsRequest) XXX_DiscardUnknown ¶
func (m *CommittedTicketsRequest) XXX_DiscardUnknown()
func (*CommittedTicketsRequest) XXX_Marshal ¶
func (m *CommittedTicketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommittedTicketsRequest) XXX_Merge ¶
func (dst *CommittedTicketsRequest) XXX_Merge(src proto.Message)
func (*CommittedTicketsRequest) XXX_Size ¶
func (m *CommittedTicketsRequest) XXX_Size() int
func (*CommittedTicketsRequest) XXX_Unmarshal ¶
func (m *CommittedTicketsRequest) XXX_Unmarshal(b []byte) error
type CommittedTicketsResponse ¶
type CommittedTicketsResponse struct { TicketAddresses []*CommittedTicketsResponse_TicketAddress `protobuf:"bytes,1,rep,name=ticketAddresses,proto3" json:"ticketAddresses,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommittedTicketsResponse) Descriptor ¶
func (*CommittedTicketsResponse) Descriptor() ([]byte, []int)
func (*CommittedTicketsResponse) GetTicketAddresses ¶
func (m *CommittedTicketsResponse) GetTicketAddresses() []*CommittedTicketsResponse_TicketAddress
func (*CommittedTicketsResponse) ProtoMessage ¶
func (*CommittedTicketsResponse) ProtoMessage()
func (*CommittedTicketsResponse) Reset ¶
func (m *CommittedTicketsResponse) Reset()
func (*CommittedTicketsResponse) String ¶
func (m *CommittedTicketsResponse) String() string
func (*CommittedTicketsResponse) XXX_DiscardUnknown ¶
func (m *CommittedTicketsResponse) XXX_DiscardUnknown()
func (*CommittedTicketsResponse) XXX_Marshal ¶
func (m *CommittedTicketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommittedTicketsResponse) XXX_Merge ¶
func (dst *CommittedTicketsResponse) XXX_Merge(src proto.Message)
func (*CommittedTicketsResponse) XXX_Size ¶
func (m *CommittedTicketsResponse) XXX_Size() int
func (*CommittedTicketsResponse) XXX_Unmarshal ¶
func (m *CommittedTicketsResponse) XXX_Unmarshal(b []byte) error
type CommittedTicketsResponse_TicketAddress ¶
type CommittedTicketsResponse_TicketAddress struct { Ticket []byte `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommittedTicketsResponse_TicketAddress) Descriptor ¶
func (*CommittedTicketsResponse_TicketAddress) Descriptor() ([]byte, []int)
func (*CommittedTicketsResponse_TicketAddress) GetAddress ¶
func (m *CommittedTicketsResponse_TicketAddress) GetAddress() string
func (*CommittedTicketsResponse_TicketAddress) GetTicket ¶
func (m *CommittedTicketsResponse_TicketAddress) GetTicket() []byte
func (*CommittedTicketsResponse_TicketAddress) ProtoMessage ¶
func (*CommittedTicketsResponse_TicketAddress) ProtoMessage()
func (*CommittedTicketsResponse_TicketAddress) Reset ¶
func (m *CommittedTicketsResponse_TicketAddress) Reset()
func (*CommittedTicketsResponse_TicketAddress) String ¶
func (m *CommittedTicketsResponse_TicketAddress) String() string
func (*CommittedTicketsResponse_TicketAddress) XXX_DiscardUnknown ¶
func (m *CommittedTicketsResponse_TicketAddress) XXX_DiscardUnknown()
func (*CommittedTicketsResponse_TicketAddress) XXX_Marshal ¶
func (m *CommittedTicketsResponse_TicketAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommittedTicketsResponse_TicketAddress) XXX_Merge ¶
func (dst *CommittedTicketsResponse_TicketAddress) XXX_Merge(src proto.Message)
func (*CommittedTicketsResponse_TicketAddress) XXX_Size ¶
func (m *CommittedTicketsResponse_TicketAddress) XXX_Size() int
func (*CommittedTicketsResponse_TicketAddress) XXX_Unmarshal ¶
func (m *CommittedTicketsResponse_TicketAddress) XXX_Unmarshal(b []byte) error
type ConfirmationNotificationsRequest ¶
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 ¶
func (*ConfirmationNotificationsRequest) Descriptor() ([]byte, []int)
func (*ConfirmationNotificationsRequest) GetStopAfter ¶
func (m *ConfirmationNotificationsRequest) GetStopAfter() int32
func (*ConfirmationNotificationsRequest) GetTxHashes ¶
func (m *ConfirmationNotificationsRequest) GetTxHashes() [][]byte
func (*ConfirmationNotificationsRequest) ProtoMessage ¶
func (*ConfirmationNotificationsRequest) ProtoMessage()
func (*ConfirmationNotificationsRequest) Reset ¶
func (m *ConfirmationNotificationsRequest) Reset()
func (*ConfirmationNotificationsRequest) String ¶
func (m *ConfirmationNotificationsRequest) String() string
type ConfirmationNotificationsResponse ¶
type ConfirmationNotificationsResponse struct {
Confirmations []*ConfirmationNotificationsResponse_TransactionConfirmations `protobuf:"bytes,1,rep,name=confirmations" json:"confirmations,omitempty"`
}
func (*ConfirmationNotificationsResponse) Descriptor ¶
func (*ConfirmationNotificationsResponse) Descriptor() ([]byte, []int)
func (*ConfirmationNotificationsResponse) GetConfirmations ¶
func (m *ConfirmationNotificationsResponse) GetConfirmations() []*ConfirmationNotificationsResponse_TransactionConfirmations
func (*ConfirmationNotificationsResponse) ProtoMessage ¶
func (*ConfirmationNotificationsResponse) ProtoMessage()
func (*ConfirmationNotificationsResponse) Reset ¶
func (m *ConfirmationNotificationsResponse) Reset()
func (*ConfirmationNotificationsResponse) String ¶
func (m *ConfirmationNotificationsResponse) String() string
type ConfirmationNotificationsResponse_TransactionConfirmations ¶
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 ¶
func (*ConfirmationNotificationsResponse_TransactionConfirmations) Descriptor() ([]byte, []int)
func (*ConfirmationNotificationsResponse_TransactionConfirmations) GetBlockHash ¶
func (m *ConfirmationNotificationsResponse_TransactionConfirmations) GetBlockHash() []byte
func (*ConfirmationNotificationsResponse_TransactionConfirmations) GetBlockHeight ¶
func (m *ConfirmationNotificationsResponse_TransactionConfirmations) GetBlockHeight() int32
func (*ConfirmationNotificationsResponse_TransactionConfirmations) GetConfirmations ¶
func (m *ConfirmationNotificationsResponse_TransactionConfirmations) GetConfirmations() int32
func (*ConfirmationNotificationsResponse_TransactionConfirmations) GetTxHash ¶
func (m *ConfirmationNotificationsResponse_TransactionConfirmations) GetTxHash() []byte
func (*ConfirmationNotificationsResponse_TransactionConfirmations) ProtoMessage ¶
func (*ConfirmationNotificationsResponse_TransactionConfirmations) ProtoMessage()
func (*ConfirmationNotificationsResponse_TransactionConfirmations) Reset ¶
func (m *ConfirmationNotificationsResponse_TransactionConfirmations) Reset()
func (*ConfirmationNotificationsResponse_TransactionConfirmations) String ¶
func (m *ConfirmationNotificationsResponse_TransactionConfirmations) String() string
type ConstructTransactionRequest ¶
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 ¶
func (*ConstructTransactionRequest) Descriptor() ([]byte, []int)
func (*ConstructTransactionRequest) GetChangeDestination ¶
func (m *ConstructTransactionRequest) GetChangeDestination() *ConstructTransactionRequest_OutputDestination
func (*ConstructTransactionRequest) GetFeePerKb ¶
func (m *ConstructTransactionRequest) GetFeePerKb() int32
func (*ConstructTransactionRequest) GetNonChangeOutputs ¶
func (m *ConstructTransactionRequest) GetNonChangeOutputs() []*ConstructTransactionRequest_Output
func (*ConstructTransactionRequest) GetOutputSelectionAlgorithm ¶
func (m *ConstructTransactionRequest) GetOutputSelectionAlgorithm() ConstructTransactionRequest_OutputSelectionAlgorithm
func (*ConstructTransactionRequest) GetRequiredConfirmations ¶
func (m *ConstructTransactionRequest) GetRequiredConfirmations() int32
func (*ConstructTransactionRequest) GetSourceAccount ¶
func (m *ConstructTransactionRequest) GetSourceAccount() uint32
func (*ConstructTransactionRequest) ProtoMessage ¶
func (*ConstructTransactionRequest) ProtoMessage()
func (*ConstructTransactionRequest) Reset ¶
func (m *ConstructTransactionRequest) Reset()
func (*ConstructTransactionRequest) String ¶
func (m *ConstructTransactionRequest) String() string
type ConstructTransactionRequest_Output ¶
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 ¶
func (*ConstructTransactionRequest_Output) Descriptor() ([]byte, []int)
func (*ConstructTransactionRequest_Output) GetAmount ¶
func (m *ConstructTransactionRequest_Output) GetAmount() int64
func (*ConstructTransactionRequest_Output) GetDestination ¶
func (m *ConstructTransactionRequest_Output) GetDestination() *ConstructTransactionRequest_OutputDestination
func (*ConstructTransactionRequest_Output) ProtoMessage ¶
func (*ConstructTransactionRequest_Output) ProtoMessage()
func (*ConstructTransactionRequest_Output) Reset ¶
func (m *ConstructTransactionRequest_Output) Reset()
func (*ConstructTransactionRequest_Output) String ¶
func (m *ConstructTransactionRequest_Output) String() string
type ConstructTransactionRequest_OutputDestination ¶
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 ¶
func (*ConstructTransactionRequest_OutputDestination) Descriptor() ([]byte, []int)
func (*ConstructTransactionRequest_OutputDestination) GetAddress ¶
func (m *ConstructTransactionRequest_OutputDestination) GetAddress() string
func (*ConstructTransactionRequest_OutputDestination) GetScript ¶
func (m *ConstructTransactionRequest_OutputDestination) GetScript() []byte
func (*ConstructTransactionRequest_OutputDestination) GetScriptVersion ¶
func (m *ConstructTransactionRequest_OutputDestination) GetScriptVersion() uint32
func (*ConstructTransactionRequest_OutputDestination) ProtoMessage ¶
func (*ConstructTransactionRequest_OutputDestination) ProtoMessage()
func (*ConstructTransactionRequest_OutputDestination) Reset ¶
func (m *ConstructTransactionRequest_OutputDestination) Reset()
func (*ConstructTransactionRequest_OutputDestination) String ¶
func (m *ConstructTransactionRequest_OutputDestination) String() string
type ConstructTransactionRequest_OutputSelectionAlgorithm ¶
type ConstructTransactionRequest_OutputSelectionAlgorithm int32
const ( ConstructTransactionRequest_UNSPECIFIED ConstructTransactionRequest_OutputSelectionAlgorithm = 0 ConstructTransactionRequest_ALL ConstructTransactionRequest_OutputSelectionAlgorithm = 1 )
func (ConstructTransactionRequest_OutputSelectionAlgorithm) EnumDescriptor ¶
func (ConstructTransactionRequest_OutputSelectionAlgorithm) EnumDescriptor() ([]byte, []int)
func (ConstructTransactionRequest_OutputSelectionAlgorithm) String ¶
func (x ConstructTransactionRequest_OutputSelectionAlgorithm) String() string
type ConstructTransactionResponse ¶
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 ¶
func (*ConstructTransactionResponse) Descriptor() ([]byte, []int)
func (*ConstructTransactionResponse) GetEstimatedSignedSize ¶
func (m *ConstructTransactionResponse) GetEstimatedSignedSize() uint32
func (*ConstructTransactionResponse) GetTotalOutputAmount ¶
func (m *ConstructTransactionResponse) GetTotalOutputAmount() int64
func (*ConstructTransactionResponse) GetTotalPreviousOutputAmount ¶
func (m *ConstructTransactionResponse) GetTotalPreviousOutputAmount() int64
func (*ConstructTransactionResponse) GetUnsignedTransaction ¶
func (m *ConstructTransactionResponse) GetUnsignedTransaction() []byte
func (*ConstructTransactionResponse) ProtoMessage ¶
func (*ConstructTransactionResponse) ProtoMessage()
func (*ConstructTransactionResponse) Reset ¶
func (m *ConstructTransactionResponse) Reset()
func (*ConstructTransactionResponse) String ¶
func (m *ConstructTransactionResponse) String() string
type CreateSignatureRequest ¶
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 ¶
func (*CreateSignatureRequest) Descriptor() ([]byte, []int)
func (*CreateSignatureRequest) GetAddress ¶
func (m *CreateSignatureRequest) GetAddress() string
func (*CreateSignatureRequest) GetHashType ¶
func (m *CreateSignatureRequest) GetHashType() CreateSignatureRequest_SigHashType
func (*CreateSignatureRequest) GetInputIndex ¶
func (m *CreateSignatureRequest) GetInputIndex() uint32
func (*CreateSignatureRequest) GetPassphrase ¶
func (m *CreateSignatureRequest) GetPassphrase() []byte
func (*CreateSignatureRequest) GetPreviousPkScript ¶
func (m *CreateSignatureRequest) GetPreviousPkScript() []byte
func (*CreateSignatureRequest) GetSerializedTransaction ¶
func (m *CreateSignatureRequest) GetSerializedTransaction() []byte
func (*CreateSignatureRequest) ProtoMessage ¶
func (*CreateSignatureRequest) ProtoMessage()
func (*CreateSignatureRequest) Reset ¶
func (m *CreateSignatureRequest) Reset()
func (*CreateSignatureRequest) String ¶
func (m *CreateSignatureRequest) String() string
type CreateSignatureRequest_SigHashType ¶
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 ¶
func (CreateSignatureRequest_SigHashType) EnumDescriptor() ([]byte, []int)
func (CreateSignatureRequest_SigHashType) String ¶
func (x CreateSignatureRequest_SigHashType) String() string
type CreateSignatureResponse ¶
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 ¶
func (*CreateSignatureResponse) Descriptor() ([]byte, []int)
func (*CreateSignatureResponse) GetPublicKey ¶
func (m *CreateSignatureResponse) GetPublicKey() []byte
func (*CreateSignatureResponse) GetSignature ¶
func (m *CreateSignatureResponse) GetSignature() []byte
func (*CreateSignatureResponse) ProtoMessage ¶
func (*CreateSignatureResponse) ProtoMessage()
func (*CreateSignatureResponse) Reset ¶
func (m *CreateSignatureResponse) Reset()
func (*CreateSignatureResponse) String ¶
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 ¶
func (m *CreateWalletRequest) GetPrivatePassphrase() []byte
func (*CreateWalletRequest) GetPublicPassphrase ¶
func (m *CreateWalletRequest) GetPublicPassphrase() []byte
func (*CreateWalletRequest) GetSeed ¶
func (m *CreateWalletRequest) GetSeed() []byte
func (*CreateWalletRequest) ProtoMessage ¶
func (*CreateWalletRequest) ProtoMessage()
func (*CreateWalletRequest) Reset ¶
func (m *CreateWalletRequest) Reset()
func (*CreateWalletRequest) String ¶
func (m *CreateWalletRequest) String() string
type CreateWalletResponse ¶
type CreateWalletResponse struct { }
func (*CreateWalletResponse) Descriptor ¶
func (*CreateWalletResponse) Descriptor() ([]byte, []int)
func (*CreateWalletResponse) ProtoMessage ¶
func (*CreateWalletResponse) ProtoMessage()
func (*CreateWalletResponse) Reset ¶
func (m *CreateWalletResponse) Reset()
func (*CreateWalletResponse) String ¶
func (m *CreateWalletResponse) String() string
type DecodeMessageServiceClient ¶
type DecodeMessageServiceClient interface {
DecodeRawTransaction(ctx context.Context, in *DecodeRawTransactionRequest, opts ...grpc.CallOption) (*DecodeRawTransactionResponse, error)
}
func NewDecodeMessageServiceClient ¶
func NewDecodeMessageServiceClient(cc *grpc.ClientConn) DecodeMessageServiceClient
type DecodeMessageServiceServer ¶
type DecodeMessageServiceServer interface {
DecodeRawTransaction(context.Context, *DecodeRawTransactionRequest) (*DecodeRawTransactionResponse, error)
}
type DecodeRawTransactionRequest ¶
type DecodeRawTransactionRequest struct {
SerializedTransaction []byte `protobuf:"bytes,1,opt,name=serialized_transaction,json=serializedTransaction,proto3" json:"serialized_transaction,omitempty"`
}
func (*DecodeRawTransactionRequest) Descriptor ¶
func (*DecodeRawTransactionRequest) Descriptor() ([]byte, []int)
func (*DecodeRawTransactionRequest) GetSerializedTransaction ¶
func (m *DecodeRawTransactionRequest) GetSerializedTransaction() []byte
func (*DecodeRawTransactionRequest) ProtoMessage ¶
func (*DecodeRawTransactionRequest) ProtoMessage()
func (*DecodeRawTransactionRequest) Reset ¶
func (m *DecodeRawTransactionRequest) Reset()
func (*DecodeRawTransactionRequest) String ¶
func (m *DecodeRawTransactionRequest) String() string
type DecodeRawTransactionResponse ¶
type DecodeRawTransactionResponse struct {
Transaction *DecodedTransaction `protobuf:"bytes,1,opt,name=transaction" json:"transaction,omitempty"`
}
func (*DecodeRawTransactionResponse) Descriptor ¶
func (*DecodeRawTransactionResponse) Descriptor() ([]byte, []int)
func (*DecodeRawTransactionResponse) GetTransaction ¶
func (m *DecodeRawTransactionResponse) GetTransaction() *DecodedTransaction
func (*DecodeRawTransactionResponse) ProtoMessage ¶
func (*DecodeRawTransactionResponse) ProtoMessage()
func (*DecodeRawTransactionResponse) Reset ¶
func (m *DecodeRawTransactionResponse) Reset()
func (*DecodeRawTransactionResponse) String ¶
func (m *DecodeRawTransactionResponse) String() string
type DecodeSeedRequest ¶
type DecodeSeedRequest struct {
UserInput string `protobuf:"bytes,1,opt,name=user_input,json=userInput" json:"user_input,omitempty"`
}
func (*DecodeSeedRequest) Descriptor ¶
func (*DecodeSeedRequest) Descriptor() ([]byte, []int)
func (*DecodeSeedRequest) GetUserInput ¶
func (m *DecodeSeedRequest) GetUserInput() string
func (*DecodeSeedRequest) ProtoMessage ¶
func (*DecodeSeedRequest) ProtoMessage()
func (*DecodeSeedRequest) Reset ¶
func (m *DecodeSeedRequest) Reset()
func (*DecodeSeedRequest) String ¶
func (m *DecodeSeedRequest) String() string
type DecodeSeedResponse ¶
type DecodeSeedResponse struct {
DecodedSeed []byte `protobuf:"bytes,1,opt,name=decoded_seed,json=decodedSeed,proto3" json:"decoded_seed,omitempty"`
}
func (*DecodeSeedResponse) Descriptor ¶
func (*DecodeSeedResponse) Descriptor() ([]byte, []int)
func (*DecodeSeedResponse) GetDecodedSeed ¶
func (m *DecodeSeedResponse) GetDecodedSeed() []byte
func (*DecodeSeedResponse) ProtoMessage ¶
func (*DecodeSeedResponse) ProtoMessage()
func (*DecodeSeedResponse) Reset ¶
func (m *DecodeSeedResponse) Reset()
func (*DecodeSeedResponse) String ¶
func (m *DecodeSeedResponse) String() string
type DecodedTransaction ¶
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 ¶
func (*DecodedTransaction) Descriptor() ([]byte, []int)
func (*DecodedTransaction) GetExpiry ¶
func (m *DecodedTransaction) GetExpiry() uint32
func (*DecodedTransaction) GetInputs ¶
func (m *DecodedTransaction) GetInputs() []*DecodedTransaction_Input
func (*DecodedTransaction) GetLockTime ¶
func (m *DecodedTransaction) GetLockTime() uint32
func (*DecodedTransaction) GetOutputs ¶
func (m *DecodedTransaction) GetOutputs() []*DecodedTransaction_Output
func (*DecodedTransaction) GetTransactionHash ¶
func (m *DecodedTransaction) GetTransactionHash() []byte
func (*DecodedTransaction) GetTransactionType ¶
func (m *DecodedTransaction) GetTransactionType() TransactionDetails_TransactionType
func (*DecodedTransaction) GetVersion ¶
func (m *DecodedTransaction) GetVersion() int32
func (*DecodedTransaction) ProtoMessage ¶
func (*DecodedTransaction) ProtoMessage()
func (*DecodedTransaction) Reset ¶
func (m *DecodedTransaction) Reset()
func (*DecodedTransaction) String ¶
func (m *DecodedTransaction) String() string
type DecodedTransaction_Input ¶
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 ¶
func (*DecodedTransaction_Input) Descriptor() ([]byte, []int)
func (*DecodedTransaction_Input) GetAmountIn ¶
func (m *DecodedTransaction_Input) GetAmountIn() int64
func (*DecodedTransaction_Input) GetBlockHeight ¶
func (m *DecodedTransaction_Input) GetBlockHeight() uint32
func (*DecodedTransaction_Input) GetBlockIndex ¶
func (m *DecodedTransaction_Input) GetBlockIndex() uint32
func (*DecodedTransaction_Input) GetPreviousTransactionHash ¶
func (m *DecodedTransaction_Input) GetPreviousTransactionHash() []byte
func (*DecodedTransaction_Input) GetPreviousTransactionIndex ¶
func (m *DecodedTransaction_Input) GetPreviousTransactionIndex() uint32
func (*DecodedTransaction_Input) GetSequence ¶
func (m *DecodedTransaction_Input) GetSequence() uint32
func (*DecodedTransaction_Input) GetSignatureScript ¶
func (m *DecodedTransaction_Input) GetSignatureScript() []byte
func (*DecodedTransaction_Input) GetSignatureScriptAsm ¶
func (m *DecodedTransaction_Input) GetSignatureScriptAsm() string
func (*DecodedTransaction_Input) GetTree ¶
func (m *DecodedTransaction_Input) GetTree() DecodedTransaction_Input_TreeType
func (*DecodedTransaction_Input) ProtoMessage ¶
func (*DecodedTransaction_Input) ProtoMessage()
func (*DecodedTransaction_Input) Reset ¶
func (m *DecodedTransaction_Input) Reset()
func (*DecodedTransaction_Input) String ¶
func (m *DecodedTransaction_Input) String() string
type DecodedTransaction_Input_TreeType ¶
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 ¶
func (DecodedTransaction_Input_TreeType) EnumDescriptor() ([]byte, []int)
func (DecodedTransaction_Input_TreeType) String ¶
func (x DecodedTransaction_Input_TreeType) String() string
type DecodedTransaction_Output ¶
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 ¶
func (*DecodedTransaction_Output) Descriptor() ([]byte, []int)
func (*DecodedTransaction_Output) GetAddresses ¶
func (m *DecodedTransaction_Output) GetAddresses() []string
func (*DecodedTransaction_Output) GetCommitmentAmount ¶
func (m *DecodedTransaction_Output) GetCommitmentAmount() int64
func (*DecodedTransaction_Output) GetIndex ¶
func (m *DecodedTransaction_Output) GetIndex() uint32
func (*DecodedTransaction_Output) GetRequiredSignatures ¶
func (m *DecodedTransaction_Output) GetRequiredSignatures() int32
func (*DecodedTransaction_Output) GetScript ¶
func (m *DecodedTransaction_Output) GetScript() []byte
func (*DecodedTransaction_Output) GetScriptAsm ¶
func (m *DecodedTransaction_Output) GetScriptAsm() string
func (*DecodedTransaction_Output) GetScriptClass ¶
func (m *DecodedTransaction_Output) GetScriptClass() DecodedTransaction_Output_ScriptClass
func (*DecodedTransaction_Output) GetValue ¶
func (m *DecodedTransaction_Output) GetValue() int64
func (*DecodedTransaction_Output) GetVersion ¶
func (m *DecodedTransaction_Output) GetVersion() int32
func (*DecodedTransaction_Output) ProtoMessage ¶
func (*DecodedTransaction_Output) ProtoMessage()
func (*DecodedTransaction_Output) Reset ¶
func (m *DecodedTransaction_Output) Reset()
func (*DecodedTransaction_Output) String ¶
func (m *DecodedTransaction_Output) String() string
type DecodedTransaction_Output_ScriptClass ¶
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 ¶
func (DecodedTransaction_Output_ScriptClass) EnumDescriptor() ([]byte, []int)
func (DecodedTransaction_Output_ScriptClass) String ¶
func (x DecodedTransaction_Output_ScriptClass) String() string
type DiscoverAddressesRequest ¶
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 ¶
func (*DiscoverAddressesRequest) Descriptor() ([]byte, []int)
func (*DiscoverAddressesRequest) GetDiscoverAccounts ¶
func (m *DiscoverAddressesRequest) GetDiscoverAccounts() bool
func (*DiscoverAddressesRequest) GetPrivatePassphrase ¶
func (m *DiscoverAddressesRequest) GetPrivatePassphrase() []byte
func (*DiscoverAddressesRequest) ProtoMessage ¶
func (*DiscoverAddressesRequest) ProtoMessage()
func (*DiscoverAddressesRequest) Reset ¶
func (m *DiscoverAddressesRequest) Reset()
func (*DiscoverAddressesRequest) String ¶
func (m *DiscoverAddressesRequest) String() string
type DiscoverAddressesResponse ¶
type DiscoverAddressesResponse struct { }
func (*DiscoverAddressesResponse) Descriptor ¶
func (*DiscoverAddressesResponse) Descriptor() ([]byte, []int)
func (*DiscoverAddressesResponse) ProtoMessage ¶
func (*DiscoverAddressesResponse) ProtoMessage()
func (*DiscoverAddressesResponse) Reset ¶
func (m *DiscoverAddressesResponse) Reset()
func (*DiscoverAddressesResponse) String ¶
func (m *DiscoverAddressesResponse) String() string
type FetchHeadersRequest ¶
type FetchHeadersRequest struct { }
func (*FetchHeadersRequest) Descriptor ¶
func (*FetchHeadersRequest) Descriptor() ([]byte, []int)
func (*FetchHeadersRequest) ProtoMessage ¶
func (*FetchHeadersRequest) ProtoMessage()
func (*FetchHeadersRequest) Reset ¶
func (m *FetchHeadersRequest) Reset()
func (*FetchHeadersRequest) String ¶
func (m *FetchHeadersRequest) String() string
type FetchHeadersResponse ¶
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 ¶
func (*FetchHeadersResponse) Descriptor() ([]byte, []int)
func (*FetchHeadersResponse) GetFetchedHeadersCount ¶
func (m *FetchHeadersResponse) GetFetchedHeadersCount() uint32
func (*FetchHeadersResponse) GetFirstNewBlockHash ¶
func (m *FetchHeadersResponse) GetFirstNewBlockHash() []byte
func (*FetchHeadersResponse) GetFirstNewBlockHeight ¶
func (m *FetchHeadersResponse) GetFirstNewBlockHeight() int32
func (*FetchHeadersResponse) GetMainChainTipBlockHash ¶
func (m *FetchHeadersResponse) GetMainChainTipBlockHash() []byte
func (*FetchHeadersResponse) GetMainChainTipBlockHeight ¶
func (m *FetchHeadersResponse) GetMainChainTipBlockHeight() int32
func (*FetchHeadersResponse) ProtoMessage ¶
func (*FetchHeadersResponse) ProtoMessage()
func (*FetchHeadersResponse) Reset ¶
func (m *FetchHeadersResponse) Reset()
func (*FetchHeadersResponse) String ¶
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 ¶
func (m *FundTransactionRequest) GetAccount() uint32
func (*FundTransactionRequest) GetIncludeChangeScript ¶
func (m *FundTransactionRequest) GetIncludeChangeScript() bool
func (*FundTransactionRequest) GetIncludeImmatureCoinbases ¶
func (m *FundTransactionRequest) GetIncludeImmatureCoinbases() bool
func (*FundTransactionRequest) GetRequiredConfirmations ¶
func (m *FundTransactionRequest) GetRequiredConfirmations() int32
func (*FundTransactionRequest) GetTargetAmount ¶
func (m *FundTransactionRequest) GetTargetAmount() int64
func (*FundTransactionRequest) ProtoMessage ¶
func (*FundTransactionRequest) ProtoMessage()
func (*FundTransactionRequest) Reset ¶
func (m *FundTransactionRequest) Reset()
func (*FundTransactionRequest) String ¶
func (m *FundTransactionRequest) String() string
type FundTransactionResponse ¶
type FundTransactionResponse struct { SelectedOutputs []*FundTransactionResponse_PreviousOutput `protobuf:"bytes,1,rep,name=selected_outputs,json=selectedOutputs" json:"selected_outputs,omitempty"` TotalAmount int64 `protobuf:"varint,2,opt,name=total_amount,json=totalAmount" json:"total_amount,omitempty"` ChangePkScript []byte `protobuf:"bytes,3,opt,name=change_pk_script,json=changePkScript,proto3" json:"change_pk_script,omitempty"` }
func (*FundTransactionResponse) Descriptor ¶
func (*FundTransactionResponse) Descriptor() ([]byte, []int)
func (*FundTransactionResponse) GetChangePkScript ¶
func (m *FundTransactionResponse) GetChangePkScript() []byte
func (*FundTransactionResponse) GetSelectedOutputs ¶
func (m *FundTransactionResponse) GetSelectedOutputs() []*FundTransactionResponse_PreviousOutput
func (*FundTransactionResponse) GetTotalAmount ¶
func (m *FundTransactionResponse) GetTotalAmount() int64
func (*FundTransactionResponse) ProtoMessage ¶
func (*FundTransactionResponse) ProtoMessage()
func (*FundTransactionResponse) Reset ¶
func (m *FundTransactionResponse) Reset()
func (*FundTransactionResponse) String ¶
func (m *FundTransactionResponse) String() string
type FundTransactionResponse_PreviousOutput ¶
type FundTransactionResponse_PreviousOutput struct { TransactionHash []byte `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"` OutputIndex uint32 `protobuf:"varint,2,opt,name=output_index,json=outputIndex" json:"output_index,omitempty"` Amount int64 `protobuf:"varint,3,opt,name=amount" json:"amount,omitempty"` PkScript []byte `protobuf:"bytes,4,opt,name=pk_script,json=pkScript,proto3" json:"pk_script,omitempty"` ReceiveTime int64 `protobuf:"varint,5,opt,name=receive_time,json=receiveTime" json:"receive_time,omitempty"` FromCoinbase bool `protobuf:"varint,6,opt,name=from_coinbase,json=fromCoinbase" json:"from_coinbase,omitempty"` 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 ¶
func (m *FundTransactionResponse_PreviousOutput) GetAmount() int64
func (*FundTransactionResponse_PreviousOutput) GetFromCoinbase ¶
func (m *FundTransactionResponse_PreviousOutput) GetFromCoinbase() bool
func (*FundTransactionResponse_PreviousOutput) GetOutputIndex ¶
func (m *FundTransactionResponse_PreviousOutput) GetOutputIndex() uint32
func (*FundTransactionResponse_PreviousOutput) GetPkScript ¶
func (m *FundTransactionResponse_PreviousOutput) GetPkScript() []byte
func (*FundTransactionResponse_PreviousOutput) GetReceiveTime ¶
func (m *FundTransactionResponse_PreviousOutput) GetReceiveTime() int64
func (*FundTransactionResponse_PreviousOutput) GetTransactionHash ¶
func (m *FundTransactionResponse_PreviousOutput) GetTransactionHash() []byte
func (*FundTransactionResponse_PreviousOutput) GetTree ¶
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 ¶
type GenerateRandomSeedRequest struct {
SeedLength uint32 `protobuf:"varint,1,opt,name=seed_length,json=seedLength" json:"seed_length,omitempty"`
}
func (*GenerateRandomSeedRequest) Descriptor ¶
func (*GenerateRandomSeedRequest) Descriptor() ([]byte, []int)
func (*GenerateRandomSeedRequest) GetSeedLength ¶
func (m *GenerateRandomSeedRequest) GetSeedLength() uint32
func (*GenerateRandomSeedRequest) ProtoMessage ¶
func (*GenerateRandomSeedRequest) ProtoMessage()
func (*GenerateRandomSeedRequest) Reset ¶
func (m *GenerateRandomSeedRequest) Reset()
func (*GenerateRandomSeedRequest) String ¶
func (m *GenerateRandomSeedRequest) String() string
type GenerateRandomSeedResponse ¶
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 ¶
func (*GenerateRandomSeedResponse) Descriptor() ([]byte, []int)
func (*GenerateRandomSeedResponse) GetSeedBytes ¶
func (m *GenerateRandomSeedResponse) GetSeedBytes() []byte
func (*GenerateRandomSeedResponse) GetSeedHex ¶
func (m *GenerateRandomSeedResponse) GetSeedHex() string
func (*GenerateRandomSeedResponse) GetSeedMnemonic ¶
func (m *GenerateRandomSeedResponse) GetSeedMnemonic() string
func (*GenerateRandomSeedResponse) ProtoMessage ¶
func (*GenerateRandomSeedResponse) ProtoMessage()
func (*GenerateRandomSeedResponse) Reset ¶
func (m *GenerateRandomSeedResponse) Reset()
func (*GenerateRandomSeedResponse) String ¶
func (m *GenerateRandomSeedResponse) String() string
type GetTicketsRequest ¶
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"` }
func (*GetTicketsRequest) Descriptor ¶
func (*GetTicketsRequest) Descriptor() ([]byte, []int)
func (*GetTicketsRequest) GetEndingBlockHash ¶
func (m *GetTicketsRequest) GetEndingBlockHash() []byte
func (*GetTicketsRequest) GetEndingBlockHeight ¶
func (m *GetTicketsRequest) GetEndingBlockHeight() int32
func (*GetTicketsRequest) GetStartingBlockHash ¶
func (m *GetTicketsRequest) GetStartingBlockHash() []byte
func (*GetTicketsRequest) GetStartingBlockHeight ¶
func (m *GetTicketsRequest) GetStartingBlockHeight() int32
func (*GetTicketsRequest) ProtoMessage ¶
func (*GetTicketsRequest) ProtoMessage()
func (*GetTicketsRequest) Reset ¶
func (m *GetTicketsRequest) Reset()
func (*GetTicketsRequest) String ¶
func (m *GetTicketsRequest) String() string
type GetTicketsResponse ¶
type GetTicketsResponse struct {
Ticket *GetTicketsResponse_TicketDetails `protobuf:"bytes,1,opt,name=ticket" json:"ticket,omitempty"`
}
func (*GetTicketsResponse) Descriptor ¶
func (*GetTicketsResponse) Descriptor() ([]byte, []int)
func (*GetTicketsResponse) GetTicket ¶
func (m *GetTicketsResponse) GetTicket() *GetTicketsResponse_TicketDetails
func (*GetTicketsResponse) ProtoMessage ¶
func (*GetTicketsResponse) ProtoMessage()
func (*GetTicketsResponse) Reset ¶
func (m *GetTicketsResponse) Reset()
func (*GetTicketsResponse) String ¶
func (m *GetTicketsResponse) String() string
type GetTicketsResponse_TicketDetails ¶
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 ¶
func (*GetTicketsResponse_TicketDetails) Descriptor() ([]byte, []int)
func (*GetTicketsResponse_TicketDetails) GetSpender ¶
func (m *GetTicketsResponse_TicketDetails) GetSpender() *TransactionDetails
func (*GetTicketsResponse_TicketDetails) GetTicket ¶
func (m *GetTicketsResponse_TicketDetails) GetTicket() *TransactionDetails
func (*GetTicketsResponse_TicketDetails) GetTicketStatus ¶
func (m *GetTicketsResponse_TicketDetails) GetTicketStatus() GetTicketsResponse_TicketDetails_TicketStatus
func (*GetTicketsResponse_TicketDetails) ProtoMessage ¶
func (*GetTicketsResponse_TicketDetails) ProtoMessage()
func (*GetTicketsResponse_TicketDetails) Reset ¶
func (m *GetTicketsResponse_TicketDetails) Reset()
func (*GetTicketsResponse_TicketDetails) String ¶
func (m *GetTicketsResponse_TicketDetails) String() string
type GetTicketsResponse_TicketDetails_TicketStatus ¶
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 ¶
func (GetTicketsResponse_TicketDetails_TicketStatus) EnumDescriptor() ([]byte, []int)
func (GetTicketsResponse_TicketDetails_TicketStatus) String ¶
func (x GetTicketsResponse_TicketDetails_TicketStatus) String() string
type GetTransactionRequest ¶
type GetTransactionRequest struct {
TransactionHash []byte `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"`
}
func (*GetTransactionRequest) Descriptor ¶
func (*GetTransactionRequest) Descriptor() ([]byte, []int)
func (*GetTransactionRequest) GetTransactionHash ¶
func (m *GetTransactionRequest) GetTransactionHash() []byte
func (*GetTransactionRequest) ProtoMessage ¶
func (*GetTransactionRequest) ProtoMessage()
func (*GetTransactionRequest) Reset ¶
func (m *GetTransactionRequest) Reset()
func (*GetTransactionRequest) String ¶
func (m *GetTransactionRequest) String() string
type GetTransactionResponse ¶
type GetTransactionResponse struct {
Transaction *TransactionDetails `protobuf:"bytes,1,opt,name=transaction" json:"transaction,omitempty"`
}
func (*GetTransactionResponse) Descriptor ¶
func (*GetTransactionResponse) Descriptor() ([]byte, []int)
func (*GetTransactionResponse) GetTransaction ¶
func (m *GetTransactionResponse) GetTransaction() *TransactionDetails
func (*GetTransactionResponse) ProtoMessage ¶
func (*GetTransactionResponse) ProtoMessage()
func (*GetTransactionResponse) Reset ¶
func (m *GetTransactionResponse) Reset()
func (*GetTransactionResponse) String ¶
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 ¶
func (m *GetTransactionsRequest) GetEndingBlockHash() []byte
func (*GetTransactionsRequest) GetEndingBlockHeight ¶
func (m *GetTransactionsRequest) GetEndingBlockHeight() int32
func (*GetTransactionsRequest) GetMinimumRecentTransactions ¶
func (m *GetTransactionsRequest) GetMinimumRecentTransactions() int32
func (*GetTransactionsRequest) GetStartingBlockHash ¶
func (m *GetTransactionsRequest) GetStartingBlockHash() []byte
func (*GetTransactionsRequest) GetStartingBlockHeight ¶
func (m *GetTransactionsRequest) GetStartingBlockHeight() int32
func (*GetTransactionsRequest) ProtoMessage ¶
func (*GetTransactionsRequest) ProtoMessage()
func (*GetTransactionsRequest) Reset ¶
func (m *GetTransactionsRequest) Reset()
func (*GetTransactionsRequest) String ¶
func (m *GetTransactionsRequest) String() string
type GetTransactionsResponse ¶
type GetTransactionsResponse struct { MinedTransactions *BlockDetails `protobuf:"bytes,1,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 ¶
func (m *ImportPrivateKeyRequest) GetAccount() uint32
func (*ImportPrivateKeyRequest) GetPassphrase ¶
func (m *ImportPrivateKeyRequest) GetPassphrase() []byte
func (*ImportPrivateKeyRequest) GetPrivateKeyWif ¶
func (m *ImportPrivateKeyRequest) GetPrivateKeyWif() string
func (*ImportPrivateKeyRequest) GetRescan ¶
func (m *ImportPrivateKeyRequest) GetRescan() bool
func (*ImportPrivateKeyRequest) GetScanFrom ¶
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 ¶
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 ¶
func (*ImportScriptRequest) Descriptor() ([]byte, []int)
func (*ImportScriptRequest) GetPassphrase ¶
func (m *ImportScriptRequest) GetPassphrase() []byte
func (*ImportScriptRequest) GetRequireRedeemable ¶
func (m *ImportScriptRequest) GetRequireRedeemable() bool
func (*ImportScriptRequest) GetRescan ¶
func (m *ImportScriptRequest) GetRescan() bool
func (*ImportScriptRequest) GetScanFrom ¶
func (m *ImportScriptRequest) GetScanFrom() int32
func (*ImportScriptRequest) GetScript ¶
func (m *ImportScriptRequest) GetScript() []byte
func (*ImportScriptRequest) ProtoMessage ¶
func (*ImportScriptRequest) ProtoMessage()
func (*ImportScriptRequest) Reset ¶
func (m *ImportScriptRequest) Reset()
func (*ImportScriptRequest) String ¶
func (m *ImportScriptRequest) String() string
type ImportScriptResponse ¶
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 ¶
func (*ImportScriptResponse) Descriptor() ([]byte, []int)
func (*ImportScriptResponse) GetP2ShAddress ¶
func (m *ImportScriptResponse) GetP2ShAddress() string
func (*ImportScriptResponse) GetRedeemable ¶
func (m *ImportScriptResponse) GetRedeemable() bool
func (*ImportScriptResponse) ProtoMessage ¶
func (*ImportScriptResponse) ProtoMessage()
func (*ImportScriptResponse) Reset ¶
func (m *ImportScriptResponse) Reset()
func (*ImportScriptResponse) String ¶
func (m *ImportScriptResponse) String() string
type LoadActiveDataFiltersRequest ¶
type LoadActiveDataFiltersRequest struct { }
func (*LoadActiveDataFiltersRequest) Descriptor ¶
func (*LoadActiveDataFiltersRequest) Descriptor() ([]byte, []int)
func (*LoadActiveDataFiltersRequest) ProtoMessage ¶
func (*LoadActiveDataFiltersRequest) ProtoMessage()
func (*LoadActiveDataFiltersRequest) Reset ¶
func (m *LoadActiveDataFiltersRequest) Reset()
func (*LoadActiveDataFiltersRequest) String ¶
func (m *LoadActiveDataFiltersRequest) String() string
type LoadActiveDataFiltersResponse ¶
type LoadActiveDataFiltersResponse struct { }
func (*LoadActiveDataFiltersResponse) Descriptor ¶
func (*LoadActiveDataFiltersResponse) Descriptor() ([]byte, []int)
func (*LoadActiveDataFiltersResponse) ProtoMessage ¶
func (*LoadActiveDataFiltersResponse) ProtoMessage()
func (*LoadActiveDataFiltersResponse) Reset ¶
func (m *LoadActiveDataFiltersResponse) Reset()
func (*LoadActiveDataFiltersResponse) String ¶
func (m *LoadActiveDataFiltersResponse) String() string
type MessageVerificationServiceClient ¶
type MessageVerificationServiceClient interface {
VerifyMessage(ctx context.Context, in *VerifyMessageRequest, opts ...grpc.CallOption) (*VerifyMessageResponse, error)
}
func NewMessageVerificationServiceClient ¶
func NewMessageVerificationServiceClient(cc *grpc.ClientConn) MessageVerificationServiceClient
type MessageVerificationServiceServer ¶
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 ¶
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"` AccountType uint32 `protobuf:"varint,3,opt,name=account_type,json=accountType" json:"account_type,omitempty"` }
func (*NextAccountRequest) Descriptor ¶
func (*NextAccountRequest) Descriptor() ([]byte, []int)
func (*NextAccountRequest) GetAccountName ¶
func (m *NextAccountRequest) GetAccountName() string
func (*NextAccountRequest) GetAccountType ¶
func (m *NextAccountRequest) GetAccountType() uint32
func (*NextAccountRequest) GetPassphrase ¶
func (m *NextAccountRequest) GetPassphrase() []byte
func (*NextAccountRequest) ProtoMessage ¶
func (*NextAccountRequest) ProtoMessage()
func (*NextAccountRequest) Reset ¶
func (m *NextAccountRequest) Reset()
func (*NextAccountRequest) String ¶
func (m *NextAccountRequest) String() string
type NextAccountResponse ¶
type NextAccountResponse struct {
AccountNumber uint32 `protobuf:"varint,1,opt,name=account_number,json=accountNumber" json:"account_number,omitempty"`
}
func (*NextAccountResponse) Descriptor ¶
func (*NextAccountResponse) Descriptor() ([]byte, []int)
func (*NextAccountResponse) GetAccountNumber ¶
func (m *NextAccountResponse) GetAccountNumber() uint32
func (*NextAccountResponse) ProtoMessage ¶
func (*NextAccountResponse) ProtoMessage()
func (*NextAccountResponse) Reset ¶
func (m *NextAccountResponse) Reset()
func (*NextAccountResponse) String ¶
func (m *NextAccountResponse) String() string
type NextAddressRequest ¶
type NextAddressRequest struct { Account uint32 `protobuf:"varint,1,opt,name=account" json:"account,omitempty"` Kind NextAddressRequest_Kind `protobuf:"varint,2,opt,name=kind,enum=walletrpc.NextAddressRequest_Kind" json:"kind,omitempty"` GapPolicy NextAddressRequest_GapPolicy `` /* 126-byte string literal not displayed */ }
func (*NextAddressRequest) Descriptor ¶
func (*NextAddressRequest) Descriptor() ([]byte, []int)
func (*NextAddressRequest) GetAccount ¶
func (m *NextAddressRequest) GetAccount() uint32
func (*NextAddressRequest) GetGapPolicy ¶
func (m *NextAddressRequest) GetGapPolicy() NextAddressRequest_GapPolicy
func (*NextAddressRequest) GetKind ¶
func (m *NextAddressRequest) GetKind() NextAddressRequest_Kind
func (*NextAddressRequest) ProtoMessage ¶
func (*NextAddressRequest) ProtoMessage()
func (*NextAddressRequest) Reset ¶
func (m *NextAddressRequest) Reset()
func (*NextAddressRequest) String ¶
func (m *NextAddressRequest) String() string
type NextAddressRequest_GapPolicy ¶
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 ¶
func (NextAddressRequest_GapPolicy) EnumDescriptor() ([]byte, []int)
func (NextAddressRequest_GapPolicy) String ¶
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 NextAddressRequest_BLISS NextAddressRequest_Kind = 2 )
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"` AccountType NextAddressResponse_AccountType `` /* 135-byte string literal not displayed */ }
func (*NextAddressResponse) Descriptor ¶
func (*NextAddressResponse) Descriptor() ([]byte, []int)
func (*NextAddressResponse) GetAccountType ¶
func (m *NextAddressResponse) GetAccountType() NextAddressResponse_AccountType
func (*NextAddressResponse) GetAddress ¶
func (m *NextAddressResponse) GetAddress() string
func (*NextAddressResponse) GetPublicKey ¶
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 NextAddressResponse_AccountType ¶
type NextAddressResponse_AccountType int32
const ( NextAddressResponse_BIP0044 NextAddressResponse_AccountType = 0 NextAddressResponse_BLISS NextAddressResponse_AccountType = 1 )
func (NextAddressResponse_AccountType) EnumDescriptor ¶
func (NextAddressResponse_AccountType) EnumDescriptor() ([]byte, []int)
func (NextAddressResponse_AccountType) String ¶
func (x NextAddressResponse_AccountType) String() string
type OpenWalletRequest ¶
type OpenWalletRequest 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"` }
func (*OpenWalletRequest) Descriptor ¶
func (*OpenWalletRequest) Descriptor() ([]byte, []int)
func (*OpenWalletRequest) GetPrivatePassphrase ¶
func (m *OpenWalletRequest) GetPrivatePassphrase() []byte
func (*OpenWalletRequest) GetPublicPassphrase ¶
func (m *OpenWalletRequest) GetPublicPassphrase() []byte
func (*OpenWalletRequest) ProtoMessage ¶
func (*OpenWalletRequest) ProtoMessage()
func (*OpenWalletRequest) Reset ¶
func (m *OpenWalletRequest) Reset()
func (*OpenWalletRequest) String ¶
func (m *OpenWalletRequest) String() string
type OpenWalletResponse ¶
type OpenWalletResponse struct { }
func (*OpenWalletResponse) Descriptor ¶
func (*OpenWalletResponse) Descriptor() ([]byte, []int)
func (*OpenWalletResponse) ProtoMessage ¶
func (*OpenWalletResponse) ProtoMessage()
func (*OpenWalletResponse) Reset ¶
func (m *OpenWalletResponse) Reset()
func (*OpenWalletResponse) String ¶
func (m *OpenWalletResponse) String() string
type PingRequest ¶
type PingRequest struct { }
func (*PingRequest) Descriptor ¶
func (*PingRequest) Descriptor() ([]byte, []int)
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) Reset ¶
func (m *PingRequest) Reset()
func (*PingRequest) String ¶
func (m *PingRequest) String() string
type PingResponse ¶
type PingResponse struct { }
func (*PingResponse) Descriptor ¶
func (*PingResponse) Descriptor() ([]byte, []int)
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) Reset ¶
func (m *PingResponse) Reset()
func (*PingResponse) String ¶
func (m *PingResponse) String() string
type PublishTransactionRequest ¶
type PublishTransactionRequest struct {
SignedTransaction []byte `protobuf:"bytes,1,opt,name=signed_transaction,json=signedTransaction,proto3" json:"signed_transaction,omitempty"`
}
func (*PublishTransactionRequest) Descriptor ¶
func (*PublishTransactionRequest) Descriptor() ([]byte, []int)
func (*PublishTransactionRequest) GetSignedTransaction ¶
func (m *PublishTransactionRequest) GetSignedTransaction() []byte
func (*PublishTransactionRequest) ProtoMessage ¶
func (*PublishTransactionRequest) ProtoMessage()
func (*PublishTransactionRequest) Reset ¶
func (m *PublishTransactionRequest) Reset()
func (*PublishTransactionRequest) String ¶
func (m *PublishTransactionRequest) String() string
type PublishTransactionResponse ¶
type PublishTransactionResponse struct {
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 ¶
func (m *PublishTransactionResponse) GetTransactionHash() []byte
func (*PublishTransactionResponse) ProtoMessage ¶
func (*PublishTransactionResponse) ProtoMessage()
func (*PublishTransactionResponse) Reset ¶
func (m *PublishTransactionResponse) Reset()
func (*PublishTransactionResponse) String ¶
func (m *PublishTransactionResponse) String() string
type PurchaseTicketsRequest ¶
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 ¶
func (*PurchaseTicketsRequest) Descriptor() ([]byte, []int)
func (*PurchaseTicketsRequest) GetAccount ¶
func (m *PurchaseTicketsRequest) GetAccount() uint32
func (*PurchaseTicketsRequest) GetExpiry ¶
func (m *PurchaseTicketsRequest) GetExpiry() uint32
func (*PurchaseTicketsRequest) GetNumTickets ¶
func (m *PurchaseTicketsRequest) GetNumTickets() uint32
func (*PurchaseTicketsRequest) GetPassphrase ¶
func (m *PurchaseTicketsRequest) GetPassphrase() []byte
func (*PurchaseTicketsRequest) GetPoolAddress ¶
func (m *PurchaseTicketsRequest) GetPoolAddress() string
func (*PurchaseTicketsRequest) GetPoolFees ¶
func (m *PurchaseTicketsRequest) GetPoolFees() float64
func (*PurchaseTicketsRequest) GetRequiredConfirmations ¶
func (m *PurchaseTicketsRequest) GetRequiredConfirmations() uint32
func (*PurchaseTicketsRequest) GetSpendLimit ¶
func (m *PurchaseTicketsRequest) GetSpendLimit() int64
func (*PurchaseTicketsRequest) GetTicketAddress ¶
func (m *PurchaseTicketsRequest) GetTicketAddress() string
func (*PurchaseTicketsRequest) GetTicketFee ¶
func (m *PurchaseTicketsRequest) GetTicketFee() int64
func (*PurchaseTicketsRequest) GetTxFee ¶
func (m *PurchaseTicketsRequest) GetTxFee() int64
func (*PurchaseTicketsRequest) ProtoMessage ¶
func (*PurchaseTicketsRequest) ProtoMessage()
func (*PurchaseTicketsRequest) Reset ¶
func (m *PurchaseTicketsRequest) Reset()
func (*PurchaseTicketsRequest) String ¶
func (m *PurchaseTicketsRequest) String() string
type PurchaseTicketsResponse ¶
type PurchaseTicketsResponse struct {
TicketHashes [][]byte `protobuf:"bytes,1,rep,name=ticket_hashes,json=ticketHashes,proto3" json:"ticket_hashes,omitempty"`
}
func (*PurchaseTicketsResponse) Descriptor ¶
func (*PurchaseTicketsResponse) Descriptor() ([]byte, []int)
func (*PurchaseTicketsResponse) GetTicketHashes ¶
func (m *PurchaseTicketsResponse) GetTicketHashes() [][]byte
func (*PurchaseTicketsResponse) ProtoMessage ¶
func (*PurchaseTicketsResponse) ProtoMessage()
func (*PurchaseTicketsResponse) Reset ¶
func (m *PurchaseTicketsResponse) Reset()
func (*PurchaseTicketsResponse) String ¶
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 ¶
func (m *RenameAccountRequest) GetAccountNumber() uint32
func (*RenameAccountRequest) GetNewName ¶
func (m *RenameAccountRequest) GetNewName() string
func (*RenameAccountRequest) ProtoMessage ¶
func (*RenameAccountRequest) ProtoMessage()
func (*RenameAccountRequest) Reset ¶
func (m *RenameAccountRequest) Reset()
func (*RenameAccountRequest) String ¶
func (m *RenameAccountRequest) String() string
type RenameAccountResponse ¶
type RenameAccountResponse struct { }
func (*RenameAccountResponse) Descriptor ¶
func (*RenameAccountResponse) Descriptor() ([]byte, []int)
func (*RenameAccountResponse) ProtoMessage ¶
func (*RenameAccountResponse) ProtoMessage()
func (*RenameAccountResponse) Reset ¶
func (m *RenameAccountResponse) Reset()
func (*RenameAccountResponse) String ¶
func (m *RenameAccountResponse) String() string
type RescanPointRequest ¶
type RescanPointRequest struct { }
func (*RescanPointRequest) Descriptor ¶
func (*RescanPointRequest) Descriptor() ([]byte, []int)
func (*RescanPointRequest) ProtoMessage ¶
func (*RescanPointRequest) ProtoMessage()
func (*RescanPointRequest) Reset ¶
func (m *RescanPointRequest) Reset()
func (*RescanPointRequest) String ¶
func (m *RescanPointRequest) String() string
type RescanPointResponse ¶
type RescanPointResponse struct {
RescanPointHash []byte `protobuf:"bytes,1,opt,name=rescan_point_hash,json=rescanPointHash,proto3" json:"rescan_point_hash,omitempty"`
}
func (*RescanPointResponse) Descriptor ¶
func (*RescanPointResponse) Descriptor() ([]byte, []int)
func (*RescanPointResponse) GetRescanPointHash ¶
func (m *RescanPointResponse) GetRescanPointHash() []byte
func (*RescanPointResponse) ProtoMessage ¶
func (*RescanPointResponse) ProtoMessage()
func (*RescanPointResponse) Reset ¶
func (m *RescanPointResponse) Reset()
func (*RescanPointResponse) String ¶
func (m *RescanPointResponse) String() string
type RescanRequest ¶
type RescanRequest struct {
BeginHeight int32 `protobuf:"varint,1,opt,name=begin_height,json=beginHeight" json:"begin_height,omitempty"`
}
func (*RescanRequest) Descriptor ¶
func (*RescanRequest) Descriptor() ([]byte, []int)
func (*RescanRequest) GetBeginHeight ¶
func (m *RescanRequest) GetBeginHeight() int32
func (*RescanRequest) ProtoMessage ¶
func (*RescanRequest) ProtoMessage()
func (*RescanRequest) Reset ¶
func (m *RescanRequest) Reset()
func (*RescanRequest) String ¶
func (m *RescanRequest) String() string
type RescanResponse ¶
type RescanResponse struct {
RescannedThrough int32 `protobuf:"varint,1,opt,name=rescanned_through,json=rescannedThrough" json:"rescanned_through,omitempty"`
}
func (*RescanResponse) Descriptor ¶
func (*RescanResponse) Descriptor() ([]byte, []int)
func (*RescanResponse) GetRescannedThrough ¶
func (m *RescanResponse) GetRescannedThrough() int32
func (*RescanResponse) ProtoMessage ¶
func (*RescanResponse) ProtoMessage()
func (*RescanResponse) Reset ¶
func (m *RescanResponse) Reset()
func (*RescanResponse) String ¶
func (m *RescanResponse) String() string
type RevokeTicketsRequest ¶
type RevokeTicketsRequest struct {
Passphrase []byte `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
}
func (*RevokeTicketsRequest) Descriptor ¶
func (*RevokeTicketsRequest) Descriptor() ([]byte, []int)
func (*RevokeTicketsRequest) GetPassphrase ¶
func (m *RevokeTicketsRequest) GetPassphrase() []byte
func (*RevokeTicketsRequest) ProtoMessage ¶
func (*RevokeTicketsRequest) ProtoMessage()
func (*RevokeTicketsRequest) Reset ¶
func (m *RevokeTicketsRequest) Reset()
func (*RevokeTicketsRequest) String ¶
func (m *RevokeTicketsRequest) String() string
type RevokeTicketsResponse ¶
type RevokeTicketsResponse struct { }
func (*RevokeTicketsResponse) Descriptor ¶
func (*RevokeTicketsResponse) Descriptor() ([]byte, []int)
func (*RevokeTicketsResponse) ProtoMessage ¶
func (*RevokeTicketsResponse) ProtoMessage()
func (*RevokeTicketsResponse) Reset ¶
func (m *RevokeTicketsResponse) Reset()
func (*RevokeTicketsResponse) String ¶
func (m *RevokeTicketsResponse) String() string
type SeedServiceClient ¶
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 ¶
func NewSeedServiceClient(cc *grpc.ClientConn) SeedServiceClient
type SeedServiceServer ¶
type SeedServiceServer interface { GenerateRandomSeed(context.Context, *GenerateRandomSeedRequest) (*GenerateRandomSeedResponse, error) DecodeSeed(context.Context, *DecodeSeedRequest) (*DecodeSeedResponse, error) }
type SetAccountRequest ¶
type SetAccountRequest struct {
Account uint32 `protobuf:"varint,1,opt,name=account" json:"account,omitempty"`
}
func (*SetAccountRequest) Descriptor ¶
func (*SetAccountRequest) Descriptor() ([]byte, []int)
func (*SetAccountRequest) GetAccount ¶
func (m *SetAccountRequest) GetAccount() uint32
func (*SetAccountRequest) ProtoMessage ¶
func (*SetAccountRequest) ProtoMessage()
func (*SetAccountRequest) Reset ¶
func (m *SetAccountRequest) Reset()
func (*SetAccountRequest) String ¶
func (m *SetAccountRequest) String() string
type SetAccountResponse ¶
type SetAccountResponse struct { }
func (*SetAccountResponse) Descriptor ¶
func (*SetAccountResponse) Descriptor() ([]byte, []int)
func (*SetAccountResponse) ProtoMessage ¶
func (*SetAccountResponse) ProtoMessage()
func (*SetAccountResponse) Reset ¶
func (m *SetAccountResponse) Reset()
func (*SetAccountResponse) String ¶
func (m *SetAccountResponse) String() string
type SetBalanceToMaintainRequest ¶
type SetBalanceToMaintainRequest struct {
BalanceToMaintain int64 `protobuf:"varint,1,opt,name=balance_to_maintain,json=balanceToMaintain" json:"balance_to_maintain,omitempty"`
}
func (*SetBalanceToMaintainRequest) Descriptor ¶
func (*SetBalanceToMaintainRequest) Descriptor() ([]byte, []int)
func (*SetBalanceToMaintainRequest) GetBalanceToMaintain ¶
func (m *SetBalanceToMaintainRequest) GetBalanceToMaintain() int64
func (*SetBalanceToMaintainRequest) ProtoMessage ¶
func (*SetBalanceToMaintainRequest) ProtoMessage()
func (*SetBalanceToMaintainRequest) Reset ¶
func (m *SetBalanceToMaintainRequest) Reset()
func (*SetBalanceToMaintainRequest) String ¶
func (m *SetBalanceToMaintainRequest) String() string
type SetBalanceToMaintainResponse ¶
type SetBalanceToMaintainResponse struct { }
func (*SetBalanceToMaintainResponse) Descriptor ¶
func (*SetBalanceToMaintainResponse) Descriptor() ([]byte, []int)
func (*SetBalanceToMaintainResponse) ProtoMessage ¶
func (*SetBalanceToMaintainResponse) ProtoMessage()
func (*SetBalanceToMaintainResponse) Reset ¶
func (m *SetBalanceToMaintainResponse) Reset()
func (*SetBalanceToMaintainResponse) String ¶
func (m *SetBalanceToMaintainResponse) String() string
type SetMaxFeeRequest ¶
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 ¶
func (*SetMaxFeeRequest) Descriptor() ([]byte, []int)
func (*SetMaxFeeRequest) GetMaxFeePerKb ¶
func (m *SetMaxFeeRequest) GetMaxFeePerKb() int64
func (*SetMaxFeeRequest) ProtoMessage ¶
func (*SetMaxFeeRequest) ProtoMessage()
func (*SetMaxFeeRequest) Reset ¶
func (m *SetMaxFeeRequest) Reset()
func (*SetMaxFeeRequest) String ¶
func (m *SetMaxFeeRequest) String() string
type SetMaxFeeResponse ¶
type SetMaxFeeResponse struct { }
func (*SetMaxFeeResponse) Descriptor ¶
func (*SetMaxFeeResponse) Descriptor() ([]byte, []int)
func (*SetMaxFeeResponse) ProtoMessage ¶
func (*SetMaxFeeResponse) ProtoMessage()
func (*SetMaxFeeResponse) Reset ¶
func (m *SetMaxFeeResponse) Reset()
func (*SetMaxFeeResponse) String ¶
func (m *SetMaxFeeResponse) String() string
type SetMaxPerBlockRequest ¶
type SetMaxPerBlockRequest struct {
MaxPerBlock int64 `protobuf:"varint,1,opt,name=max_per_block,json=maxPerBlock" json:"max_per_block,omitempty"`
}
func (*SetMaxPerBlockRequest) Descriptor ¶
func (*SetMaxPerBlockRequest) Descriptor() ([]byte, []int)
func (*SetMaxPerBlockRequest) GetMaxPerBlock ¶
func (m *SetMaxPerBlockRequest) GetMaxPerBlock() int64
func (*SetMaxPerBlockRequest) ProtoMessage ¶
func (*SetMaxPerBlockRequest) ProtoMessage()
func (*SetMaxPerBlockRequest) Reset ¶
func (m *SetMaxPerBlockRequest) Reset()
func (*SetMaxPerBlockRequest) String ¶
func (m *SetMaxPerBlockRequest) String() string
type SetMaxPerBlockResponse ¶
type SetMaxPerBlockResponse struct { }
func (*SetMaxPerBlockResponse) Descriptor ¶
func (*SetMaxPerBlockResponse) Descriptor() ([]byte, []int)
func (*SetMaxPerBlockResponse) ProtoMessage ¶
func (*SetMaxPerBlockResponse) ProtoMessage()
func (*SetMaxPerBlockResponse) Reset ¶
func (m *SetMaxPerBlockResponse) Reset()
func (*SetMaxPerBlockResponse) String ¶
func (m *SetMaxPerBlockResponse) String() string
type SetMaxPriceAbsoluteRequest ¶
type SetMaxPriceAbsoluteRequest struct {
MaxPriceAbsolute int64 `protobuf:"varint,1,opt,name=max_price_absolute,json=maxPriceAbsolute" json:"max_price_absolute,omitempty"`
}
func (*SetMaxPriceAbsoluteRequest) Descriptor ¶
func (*SetMaxPriceAbsoluteRequest) Descriptor() ([]byte, []int)
func (*SetMaxPriceAbsoluteRequest) GetMaxPriceAbsolute ¶
func (m *SetMaxPriceAbsoluteRequest) GetMaxPriceAbsolute() int64
func (*SetMaxPriceAbsoluteRequest) ProtoMessage ¶
func (*SetMaxPriceAbsoluteRequest) ProtoMessage()
func (*SetMaxPriceAbsoluteRequest) Reset ¶
func (m *SetMaxPriceAbsoluteRequest) Reset()
func (*SetMaxPriceAbsoluteRequest) String ¶
func (m *SetMaxPriceAbsoluteRequest) String() string
type SetMaxPriceAbsoluteResponse ¶
type SetMaxPriceAbsoluteResponse struct { }
func (*SetMaxPriceAbsoluteResponse) Descriptor ¶
func (*SetMaxPriceAbsoluteResponse) Descriptor() ([]byte, []int)
func (*SetMaxPriceAbsoluteResponse) ProtoMessage ¶
func (*SetMaxPriceAbsoluteResponse) ProtoMessage()
func (*SetMaxPriceAbsoluteResponse) Reset ¶
func (m *SetMaxPriceAbsoluteResponse) Reset()
func (*SetMaxPriceAbsoluteResponse) String ¶
func (m *SetMaxPriceAbsoluteResponse) String() string
type SetMaxPriceRelativeRequest ¶
type SetMaxPriceRelativeRequest struct {
MaxPriceRelative float64 `protobuf:"fixed64,1,opt,name=max_price_relative,json=maxPriceRelative" json:"max_price_relative,omitempty"`
}
func (*SetMaxPriceRelativeRequest) Descriptor ¶
func (*SetMaxPriceRelativeRequest) Descriptor() ([]byte, []int)
func (*SetMaxPriceRelativeRequest) GetMaxPriceRelative ¶
func (m *SetMaxPriceRelativeRequest) GetMaxPriceRelative() float64
func (*SetMaxPriceRelativeRequest) ProtoMessage ¶
func (*SetMaxPriceRelativeRequest) ProtoMessage()
func (*SetMaxPriceRelativeRequest) Reset ¶
func (m *SetMaxPriceRelativeRequest) Reset()
func (*SetMaxPriceRelativeRequest) String ¶
func (m *SetMaxPriceRelativeRequest) String() string
type SetMaxPriceRelativeResponse ¶
type SetMaxPriceRelativeResponse struct { }
func (*SetMaxPriceRelativeResponse) Descriptor ¶
func (*SetMaxPriceRelativeResponse) Descriptor() ([]byte, []int)
func (*SetMaxPriceRelativeResponse) ProtoMessage ¶
func (*SetMaxPriceRelativeResponse) ProtoMessage()
func (*SetMaxPriceRelativeResponse) Reset ¶
func (m *SetMaxPriceRelativeResponse) Reset()
func (*SetMaxPriceRelativeResponse) String ¶
func (m *SetMaxPriceRelativeResponse) String() string
type SetPoolAddressRequest ¶
type SetPoolAddressRequest struct {
PoolAddress string `protobuf:"bytes,1,opt,name=pool_address,json=poolAddress" json:"pool_address,omitempty"`
}
func (*SetPoolAddressRequest) Descriptor ¶
func (*SetPoolAddressRequest) Descriptor() ([]byte, []int)
func (*SetPoolAddressRequest) GetPoolAddress ¶
func (m *SetPoolAddressRequest) GetPoolAddress() string
func (*SetPoolAddressRequest) ProtoMessage ¶
func (*SetPoolAddressRequest) ProtoMessage()
func (*SetPoolAddressRequest) Reset ¶
func (m *SetPoolAddressRequest) Reset()
func (*SetPoolAddressRequest) String ¶
func (m *SetPoolAddressRequest) String() string
type SetPoolAddressResponse ¶
type SetPoolAddressResponse struct { }
func (*SetPoolAddressResponse) Descriptor ¶
func (*SetPoolAddressResponse) Descriptor() ([]byte, []int)
func (*SetPoolAddressResponse) ProtoMessage ¶
func (*SetPoolAddressResponse) ProtoMessage()
func (*SetPoolAddressResponse) Reset ¶
func (m *SetPoolAddressResponse) Reset()
func (*SetPoolAddressResponse) String ¶
func (m *SetPoolAddressResponse) String() string
type SetPoolFeesRequest ¶
type SetPoolFeesRequest struct {
PoolFees float64 `protobuf:"fixed64,1,opt,name=pool_fees,json=poolFees" json:"pool_fees,omitempty"`
}
func (*SetPoolFeesRequest) Descriptor ¶
func (*SetPoolFeesRequest) Descriptor() ([]byte, []int)
func (*SetPoolFeesRequest) GetPoolFees ¶
func (m *SetPoolFeesRequest) GetPoolFees() float64
func (*SetPoolFeesRequest) ProtoMessage ¶
func (*SetPoolFeesRequest) ProtoMessage()
func (*SetPoolFeesRequest) Reset ¶
func (m *SetPoolFeesRequest) Reset()
func (*SetPoolFeesRequest) String ¶
func (m *SetPoolFeesRequest) String() string
type SetPoolFeesResponse ¶
type SetPoolFeesResponse struct { }
func (*SetPoolFeesResponse) Descriptor ¶
func (*SetPoolFeesResponse) Descriptor() ([]byte, []int)
func (*SetPoolFeesResponse) ProtoMessage ¶
func (*SetPoolFeesResponse) ProtoMessage()
func (*SetPoolFeesResponse) Reset ¶
func (m *SetPoolFeesResponse) Reset()
func (*SetPoolFeesResponse) String ¶
func (m *SetPoolFeesResponse) String() string
type SetVoteChoicesRequest ¶
type SetVoteChoicesRequest struct {
Choices []*SetVoteChoicesRequest_Choice `protobuf:"bytes,1,rep,name=choices" json:"choices,omitempty"`
}
func (*SetVoteChoicesRequest) Descriptor ¶
func (*SetVoteChoicesRequest) Descriptor() ([]byte, []int)
func (*SetVoteChoicesRequest) GetChoices ¶
func (m *SetVoteChoicesRequest) GetChoices() []*SetVoteChoicesRequest_Choice
func (*SetVoteChoicesRequest) ProtoMessage ¶
func (*SetVoteChoicesRequest) ProtoMessage()
func (*SetVoteChoicesRequest) Reset ¶
func (m *SetVoteChoicesRequest) Reset()
func (*SetVoteChoicesRequest) String ¶
func (m *SetVoteChoicesRequest) String() string
type SetVoteChoicesRequest_Choice ¶
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 ¶
func (*SetVoteChoicesRequest_Choice) Descriptor() ([]byte, []int)
func (*SetVoteChoicesRequest_Choice) GetAgendaId ¶
func (m *SetVoteChoicesRequest_Choice) GetAgendaId() string
func (*SetVoteChoicesRequest_Choice) GetChoiceId ¶
func (m *SetVoteChoicesRequest_Choice) GetChoiceId() string
func (*SetVoteChoicesRequest_Choice) ProtoMessage ¶
func (*SetVoteChoicesRequest_Choice) ProtoMessage()
func (*SetVoteChoicesRequest_Choice) Reset ¶
func (m *SetVoteChoicesRequest_Choice) Reset()
func (*SetVoteChoicesRequest_Choice) String ¶
func (m *SetVoteChoicesRequest_Choice) String() string
type SetVoteChoicesResponse ¶
type SetVoteChoicesResponse struct {
Votebits uint32 `protobuf:"varint,1,opt,name=votebits" json:"votebits,omitempty"`
}
func (*SetVoteChoicesResponse) Descriptor ¶
func (*SetVoteChoicesResponse) Descriptor() ([]byte, []int)
func (*SetVoteChoicesResponse) GetVotebits ¶
func (m *SetVoteChoicesResponse) GetVotebits() uint32
func (*SetVoteChoicesResponse) ProtoMessage ¶
func (*SetVoteChoicesResponse) ProtoMessage()
func (*SetVoteChoicesResponse) Reset ¶
func (m *SetVoteChoicesResponse) Reset()
func (*SetVoteChoicesResponse) String ¶
func (m *SetVoteChoicesResponse) String() string
type SetVotingAddressRequest ¶
type SetVotingAddressRequest struct {
VotingAddress string `protobuf:"bytes,1,opt,name=voting_address,json=votingAddress" json:"voting_address,omitempty"`
}
func (*SetVotingAddressRequest) Descriptor ¶
func (*SetVotingAddressRequest) Descriptor() ([]byte, []int)
func (*SetVotingAddressRequest) GetVotingAddress ¶
func (m *SetVotingAddressRequest) GetVotingAddress() string
func (*SetVotingAddressRequest) ProtoMessage ¶
func (*SetVotingAddressRequest) ProtoMessage()
func (*SetVotingAddressRequest) Reset ¶
func (m *SetVotingAddressRequest) Reset()
func (*SetVotingAddressRequest) String ¶
func (m *SetVotingAddressRequest) String() string
type SetVotingAddressResponse ¶
type SetVotingAddressResponse struct { }
func (*SetVotingAddressResponse) Descriptor ¶
func (*SetVotingAddressResponse) Descriptor() ([]byte, []int)
func (*SetVotingAddressResponse) ProtoMessage ¶
func (*SetVotingAddressResponse) ProtoMessage()
func (*SetVotingAddressResponse) Reset ¶
func (m *SetVotingAddressResponse) Reset()
func (*SetVotingAddressResponse) String ¶
func (m *SetVotingAddressResponse) String() string
type SignMessageRequest ¶
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 ¶
func (*SignMessageRequest) Descriptor() ([]byte, []int)
func (*SignMessageRequest) GetAddress ¶
func (m *SignMessageRequest) GetAddress() string
func (*SignMessageRequest) GetMessage ¶
func (m *SignMessageRequest) GetMessage() string
func (*SignMessageRequest) GetPassphrase ¶
func (m *SignMessageRequest) GetPassphrase() []byte
func (*SignMessageRequest) ProtoMessage ¶
func (*SignMessageRequest) ProtoMessage()
func (*SignMessageRequest) Reset ¶
func (m *SignMessageRequest) Reset()
func (*SignMessageRequest) String ¶
func (m *SignMessageRequest) String() string
type SignMessageResponse ¶
type SignMessageResponse struct {
Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
}
func (*SignMessageResponse) Descriptor ¶
func (*SignMessageResponse) Descriptor() ([]byte, []int)
func (*SignMessageResponse) GetSignature ¶
func (m *SignMessageResponse) GetSignature() []byte
func (*SignMessageResponse) ProtoMessage ¶
func (*SignMessageResponse) ProtoMessage()
func (*SignMessageResponse) Reset ¶
func (m *SignMessageResponse) Reset()
func (*SignMessageResponse) String ¶
func (m *SignMessageResponse) String() string
type SignMessagesRequest ¶
type SignMessagesRequest struct { Passphrase []byte `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"` Messages []*SignMessagesRequest_Message `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SignMessagesRequest) Descriptor ¶
func (*SignMessagesRequest) Descriptor() ([]byte, []int)
func (*SignMessagesRequest) GetMessages ¶
func (m *SignMessagesRequest) GetMessages() []*SignMessagesRequest_Message
func (*SignMessagesRequest) GetPassphrase ¶
func (m *SignMessagesRequest) GetPassphrase() []byte
func (*SignMessagesRequest) ProtoMessage ¶
func (*SignMessagesRequest) ProtoMessage()
func (*SignMessagesRequest) Reset ¶
func (m *SignMessagesRequest) Reset()
func (*SignMessagesRequest) String ¶
func (m *SignMessagesRequest) String() string
func (*SignMessagesRequest) XXX_DiscardUnknown ¶
func (m *SignMessagesRequest) XXX_DiscardUnknown()
func (*SignMessagesRequest) XXX_Marshal ¶
func (m *SignMessagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignMessagesRequest) XXX_Merge ¶
func (dst *SignMessagesRequest) XXX_Merge(src proto.Message)
func (*SignMessagesRequest) XXX_Size ¶
func (m *SignMessagesRequest) XXX_Size() int
func (*SignMessagesRequest) XXX_Unmarshal ¶
func (m *SignMessagesRequest) XXX_Unmarshal(b []byte) error
type SignMessagesRequest_Message ¶
type SignMessagesRequest_Message struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SignMessagesRequest_Message) Descriptor ¶
func (*SignMessagesRequest_Message) Descriptor() ([]byte, []int)
func (*SignMessagesRequest_Message) GetAddress ¶
func (m *SignMessagesRequest_Message) GetAddress() string
func (*SignMessagesRequest_Message) GetMessage ¶
func (m *SignMessagesRequest_Message) GetMessage() string
func (*SignMessagesRequest_Message) ProtoMessage ¶
func (*SignMessagesRequest_Message) ProtoMessage()
func (*SignMessagesRequest_Message) Reset ¶
func (m *SignMessagesRequest_Message) Reset()
func (*SignMessagesRequest_Message) String ¶
func (m *SignMessagesRequest_Message) String() string
func (*SignMessagesRequest_Message) XXX_DiscardUnknown ¶
func (m *SignMessagesRequest_Message) XXX_DiscardUnknown()
func (*SignMessagesRequest_Message) XXX_Marshal ¶
func (m *SignMessagesRequest_Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignMessagesRequest_Message) XXX_Merge ¶
func (dst *SignMessagesRequest_Message) XXX_Merge(src proto.Message)
func (*SignMessagesRequest_Message) XXX_Size ¶
func (m *SignMessagesRequest_Message) XXX_Size() int
func (*SignMessagesRequest_Message) XXX_Unmarshal ¶
func (m *SignMessagesRequest_Message) XXX_Unmarshal(b []byte) error
type SignMessagesResponse ¶
type SignMessagesResponse struct { Replies []*SignMessagesResponse_SignReply `protobuf:"bytes,1,rep,name=replies,proto3" json:"replies,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SignMessagesResponse) Descriptor ¶
func (*SignMessagesResponse) Descriptor() ([]byte, []int)
func (*SignMessagesResponse) GetReplies ¶
func (m *SignMessagesResponse) GetReplies() []*SignMessagesResponse_SignReply
func (*SignMessagesResponse) ProtoMessage ¶
func (*SignMessagesResponse) ProtoMessage()
func (*SignMessagesResponse) Reset ¶
func (m *SignMessagesResponse) Reset()
func (*SignMessagesResponse) String ¶
func (m *SignMessagesResponse) String() string
func (*SignMessagesResponse) XXX_DiscardUnknown ¶
func (m *SignMessagesResponse) XXX_DiscardUnknown()
func (*SignMessagesResponse) XXX_Marshal ¶
func (m *SignMessagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignMessagesResponse) XXX_Merge ¶
func (dst *SignMessagesResponse) XXX_Merge(src proto.Message)
func (*SignMessagesResponse) XXX_Size ¶
func (m *SignMessagesResponse) XXX_Size() int
func (*SignMessagesResponse) XXX_Unmarshal ¶
func (m *SignMessagesResponse) XXX_Unmarshal(b []byte) error
type SignMessagesResponse_SignReply ¶
type SignMessagesResponse_SignReply struct { Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SignMessagesResponse_SignReply) Descriptor ¶
func (*SignMessagesResponse_SignReply) Descriptor() ([]byte, []int)
func (*SignMessagesResponse_SignReply) GetError ¶
func (m *SignMessagesResponse_SignReply) GetError() string
func (*SignMessagesResponse_SignReply) GetSignature ¶
func (m *SignMessagesResponse_SignReply) GetSignature() []byte
func (*SignMessagesResponse_SignReply) ProtoMessage ¶
func (*SignMessagesResponse_SignReply) ProtoMessage()
func (*SignMessagesResponse_SignReply) Reset ¶
func (m *SignMessagesResponse_SignReply) Reset()
func (*SignMessagesResponse_SignReply) String ¶
func (m *SignMessagesResponse_SignReply) String() string
func (*SignMessagesResponse_SignReply) XXX_DiscardUnknown ¶
func (m *SignMessagesResponse_SignReply) XXX_DiscardUnknown()
func (*SignMessagesResponse_SignReply) XXX_Marshal ¶
func (m *SignMessagesResponse_SignReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignMessagesResponse_SignReply) XXX_Merge ¶
func (dst *SignMessagesResponse_SignReply) XXX_Merge(src proto.Message)
func (*SignMessagesResponse_SignReply) XXX_Size ¶
func (m *SignMessagesResponse_SignReply) XXX_Size() int
func (*SignMessagesResponse_SignReply) XXX_Unmarshal ¶
func (m *SignMessagesResponse_SignReply) XXX_Unmarshal(b []byte) error
type SignTransactionRequest ¶
type SignTransactionRequest struct { Passphrase []byte `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"` SerializedTransaction []byte `protobuf:"bytes,2,opt,name=serialized_transaction,json=serializedTransaction,proto3" json:"serialized_transaction,omitempty"` // If no indexes are specified, signatures scripts will be added for // every input. If any input indexes are specified, only those inputs // will be signed. Rather than returning an incompletely signed // transaction if any of the inputs to be signed can not be, the RPC // immediately errors. InputIndexes []uint32 `protobuf:"varint,3,rep,packed,name=input_indexes,json=inputIndexes" json:"input_indexes,omitempty"` 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 ¶
func (m *SignTransactionRequest) GetAdditionalScripts() []*SignTransactionRequest_AdditionalScript
func (*SignTransactionRequest) GetInputIndexes ¶
func (m *SignTransactionRequest) GetInputIndexes() []uint32
func (*SignTransactionRequest) GetPassphrase ¶
func (m *SignTransactionRequest) GetPassphrase() []byte
func (*SignTransactionRequest) GetSerializedTransaction ¶
func (m *SignTransactionRequest) GetSerializedTransaction() []byte
func (*SignTransactionRequest) ProtoMessage ¶
func (*SignTransactionRequest) ProtoMessage()
func (*SignTransactionRequest) Reset ¶
func (m *SignTransactionRequest) Reset()
func (*SignTransactionRequest) String ¶
func (m *SignTransactionRequest) String() string
type SignTransactionRequest_AdditionalScript ¶
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 ¶
func (*SignTransactionRequest_AdditionalScript) Descriptor() ([]byte, []int)
func (*SignTransactionRequest_AdditionalScript) GetOutputIndex ¶
func (m *SignTransactionRequest_AdditionalScript) GetOutputIndex() uint32
func (*SignTransactionRequest_AdditionalScript) GetPkScript ¶
func (m *SignTransactionRequest_AdditionalScript) GetPkScript() []byte
func (*SignTransactionRequest_AdditionalScript) GetTransactionHash ¶
func (m *SignTransactionRequest_AdditionalScript) GetTransactionHash() []byte
func (*SignTransactionRequest_AdditionalScript) GetTree ¶
func (m *SignTransactionRequest_AdditionalScript) GetTree() int32
func (*SignTransactionRequest_AdditionalScript) ProtoMessage ¶
func (*SignTransactionRequest_AdditionalScript) ProtoMessage()
func (*SignTransactionRequest_AdditionalScript) Reset ¶
func (m *SignTransactionRequest_AdditionalScript) Reset()
func (*SignTransactionRequest_AdditionalScript) String ¶
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 ¶
func (m *SignTransactionResponse) GetTransaction() []byte
func (*SignTransactionResponse) GetUnsignedInputIndexes ¶
func (m *SignTransactionResponse) GetUnsignedInputIndexes() []uint32
func (*SignTransactionResponse) ProtoMessage ¶
func (*SignTransactionResponse) ProtoMessage()
func (*SignTransactionResponse) Reset ¶
func (m *SignTransactionResponse) Reset()
func (*SignTransactionResponse) String ¶
func (m *SignTransactionResponse) String() string
type StakeInfoRequest ¶
type StakeInfoRequest struct { }
func (*StakeInfoRequest) Descriptor ¶
func (*StakeInfoRequest) Descriptor() ([]byte, []int)
func (*StakeInfoRequest) ProtoMessage ¶
func (*StakeInfoRequest) ProtoMessage()
func (*StakeInfoRequest) Reset ¶
func (m *StakeInfoRequest) Reset()
func (*StakeInfoRequest) String ¶
func (m *StakeInfoRequest) String() string
type StakeInfoResponse ¶
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 ¶
func (*StakeInfoResponse) Descriptor() ([]byte, []int)
func (*StakeInfoResponse) GetAllMempoolTix ¶
func (m *StakeInfoResponse) GetAllMempoolTix() uint32
func (*StakeInfoResponse) GetExpired ¶
func (m *StakeInfoResponse) GetExpired() uint32
func (*StakeInfoResponse) GetImmature ¶
func (m *StakeInfoResponse) GetImmature() uint32
func (*StakeInfoResponse) GetLive ¶
func (m *StakeInfoResponse) GetLive() uint32
func (*StakeInfoResponse) GetMissed ¶
func (m *StakeInfoResponse) GetMissed() uint32
func (*StakeInfoResponse) GetOwnMempoolTix ¶
func (m *StakeInfoResponse) GetOwnMempoolTix() uint32
func (*StakeInfoResponse) GetPoolSize ¶
func (m *StakeInfoResponse) GetPoolSize() uint32
func (*StakeInfoResponse) GetRevoked ¶
func (m *StakeInfoResponse) GetRevoked() uint32
func (*StakeInfoResponse) GetTotalSubsidy ¶
func (m *StakeInfoResponse) GetTotalSubsidy() int64
func (*StakeInfoResponse) GetVoted ¶
func (m *StakeInfoResponse) GetVoted() uint32
func (*StakeInfoResponse) ProtoMessage ¶
func (*StakeInfoResponse) ProtoMessage()
func (*StakeInfoResponse) Reset ¶
func (m *StakeInfoResponse) Reset()
func (*StakeInfoResponse) String ¶
func (m *StakeInfoResponse) String() string
type StartAutoBuyerRequest ¶
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 ¶
func (*StartAutoBuyerRequest) Descriptor() ([]byte, []int)
func (*StartAutoBuyerRequest) GetAccount ¶
func (m *StartAutoBuyerRequest) GetAccount() uint32
func (*StartAutoBuyerRequest) GetBalanceToMaintain ¶
func (m *StartAutoBuyerRequest) GetBalanceToMaintain() int64
func (*StartAutoBuyerRequest) GetMaxFeePerKb ¶
func (m *StartAutoBuyerRequest) GetMaxFeePerKb() int64
func (*StartAutoBuyerRequest) GetMaxPerBlock ¶
func (m *StartAutoBuyerRequest) GetMaxPerBlock() int64
func (*StartAutoBuyerRequest) GetMaxPriceAbsolute ¶
func (m *StartAutoBuyerRequest) GetMaxPriceAbsolute() int64
func (*StartAutoBuyerRequest) GetMaxPriceRelative ¶
func (m *StartAutoBuyerRequest) GetMaxPriceRelative() float64
func (*StartAutoBuyerRequest) GetPassphrase ¶
func (m *StartAutoBuyerRequest) GetPassphrase() []byte
func (*StartAutoBuyerRequest) GetPoolAddress ¶
func (m *StartAutoBuyerRequest) GetPoolAddress() string
func (*StartAutoBuyerRequest) GetPoolFees ¶
func (m *StartAutoBuyerRequest) GetPoolFees() float64
func (*StartAutoBuyerRequest) GetVotingAddress ¶
func (m *StartAutoBuyerRequest) GetVotingAddress() string
func (*StartAutoBuyerRequest) ProtoMessage ¶
func (*StartAutoBuyerRequest) ProtoMessage()
func (*StartAutoBuyerRequest) Reset ¶
func (m *StartAutoBuyerRequest) Reset()
func (*StartAutoBuyerRequest) String ¶
func (m *StartAutoBuyerRequest) String() string
type StartAutoBuyerResponse ¶
type StartAutoBuyerResponse struct { }
func (*StartAutoBuyerResponse) Descriptor ¶
func (*StartAutoBuyerResponse) Descriptor() ([]byte, []int)
func (*StartAutoBuyerResponse) ProtoMessage ¶
func (*StartAutoBuyerResponse) ProtoMessage()
func (*StartAutoBuyerResponse) Reset ¶
func (m *StartAutoBuyerResponse) Reset()
func (*StartAutoBuyerResponse) String ¶
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 ¶
func (m *StartConsensusRpcRequest) GetCertificate() []byte
func (*StartConsensusRpcRequest) GetNetworkAddress ¶
func (m *StartConsensusRpcRequest) GetNetworkAddress() string
func (*StartConsensusRpcRequest) GetPassword ¶
func (m *StartConsensusRpcRequest) GetPassword() []byte
func (*StartConsensusRpcRequest) GetUsername ¶
func (m *StartConsensusRpcRequest) GetUsername() string
func (*StartConsensusRpcRequest) ProtoMessage ¶
func (*StartConsensusRpcRequest) ProtoMessage()
func (*StartConsensusRpcRequest) Reset ¶
func (m *StartConsensusRpcRequest) Reset()
func (*StartConsensusRpcRequest) String ¶
func (m *StartConsensusRpcRequest) String() string
type StartConsensusRpcResponse ¶
type StartConsensusRpcResponse struct { }
func (*StartConsensusRpcResponse) Descriptor ¶
func (*StartConsensusRpcResponse) Descriptor() ([]byte, []int)
func (*StartConsensusRpcResponse) ProtoMessage ¶
func (*StartConsensusRpcResponse) ProtoMessage()
func (*StartConsensusRpcResponse) Reset ¶
func (m *StartConsensusRpcResponse) Reset()
func (*StartConsensusRpcResponse) String ¶
func (m *StartConsensusRpcResponse) String() string
type StopAutoBuyerRequest ¶
type StopAutoBuyerRequest struct { }
func (*StopAutoBuyerRequest) Descriptor ¶
func (*StopAutoBuyerRequest) Descriptor() ([]byte, []int)
func (*StopAutoBuyerRequest) ProtoMessage ¶
func (*StopAutoBuyerRequest) ProtoMessage()
func (*StopAutoBuyerRequest) Reset ¶
func (m *StopAutoBuyerRequest) Reset()
func (*StopAutoBuyerRequest) String ¶
func (m *StopAutoBuyerRequest) String() string
type StopAutoBuyerResponse ¶
type StopAutoBuyerResponse struct { }
func (*StopAutoBuyerResponse) Descriptor ¶
func (*StopAutoBuyerResponse) Descriptor() ([]byte, []int)
func (*StopAutoBuyerResponse) ProtoMessage ¶
func (*StopAutoBuyerResponse) ProtoMessage()
func (*StopAutoBuyerResponse) Reset ¶
func (m *StopAutoBuyerResponse) Reset()
func (*StopAutoBuyerResponse) String ¶
func (m *StopAutoBuyerResponse) String() string
type SubscribeToBlockNotificationsRequest ¶
type SubscribeToBlockNotificationsRequest struct { }
func (*SubscribeToBlockNotificationsRequest) Descriptor ¶
func (*SubscribeToBlockNotificationsRequest) Descriptor() ([]byte, []int)
func (*SubscribeToBlockNotificationsRequest) ProtoMessage ¶
func (*SubscribeToBlockNotificationsRequest) ProtoMessage()
func (*SubscribeToBlockNotificationsRequest) Reset ¶
func (m *SubscribeToBlockNotificationsRequest) Reset()
func (*SubscribeToBlockNotificationsRequest) String ¶
func (m *SubscribeToBlockNotificationsRequest) String() string
type SubscribeToBlockNotificationsResponse ¶
type SubscribeToBlockNotificationsResponse struct { }
func (*SubscribeToBlockNotificationsResponse) Descriptor ¶
func (*SubscribeToBlockNotificationsResponse) Descriptor() ([]byte, []int)
func (*SubscribeToBlockNotificationsResponse) ProtoMessage ¶
func (*SubscribeToBlockNotificationsResponse) ProtoMessage()
func (*SubscribeToBlockNotificationsResponse) Reset ¶
func (m *SubscribeToBlockNotificationsResponse) Reset()
func (*SubscribeToBlockNotificationsResponse) String ¶
func (m *SubscribeToBlockNotificationsResponse) String() string
type TicketBuyerConfigRequest ¶
type TicketBuyerConfigRequest struct { }
func (*TicketBuyerConfigRequest) Descriptor ¶
func (*TicketBuyerConfigRequest) Descriptor() ([]byte, []int)
func (*TicketBuyerConfigRequest) ProtoMessage ¶
func (*TicketBuyerConfigRequest) ProtoMessage()
func (*TicketBuyerConfigRequest) Reset ¶
func (m *TicketBuyerConfigRequest) Reset()
func (*TicketBuyerConfigRequest) String ¶
func (m *TicketBuyerConfigRequest) String() string
type TicketBuyerConfigResponse ¶
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 ¶
func (*TicketBuyerConfigResponse) Descriptor() ([]byte, []int)
func (*TicketBuyerConfigResponse) GetAccount ¶
func (m *TicketBuyerConfigResponse) GetAccount() uint32
func (*TicketBuyerConfigResponse) GetAvgPriceMode ¶
func (m *TicketBuyerConfigResponse) GetAvgPriceMode() string
func (*TicketBuyerConfigResponse) GetAvgPriceVWAPDelta ¶
func (m *TicketBuyerConfigResponse) GetAvgPriceVWAPDelta() int64
func (*TicketBuyerConfigResponse) GetBalanceToMaintain ¶
func (m *TicketBuyerConfigResponse) GetBalanceToMaintain() int64
func (*TicketBuyerConfigResponse) GetBlocksToAvg ¶
func (m *TicketBuyerConfigResponse) GetBlocksToAvg() int64
func (*TicketBuyerConfigResponse) GetDontWaitForTickets ¶
func (m *TicketBuyerConfigResponse) GetDontWaitForTickets() bool
func (*TicketBuyerConfigResponse) GetExpiryDelta ¶
func (m *TicketBuyerConfigResponse) GetExpiryDelta() int64
func (*TicketBuyerConfigResponse) GetFeeSource ¶
func (m *TicketBuyerConfigResponse) GetFeeSource() string
func (*TicketBuyerConfigResponse) GetFeeTargetScaling ¶
func (m *TicketBuyerConfigResponse) GetFeeTargetScaling() float64
func (*TicketBuyerConfigResponse) GetMaxFee ¶
func (m *TicketBuyerConfigResponse) GetMaxFee() int64
func (*TicketBuyerConfigResponse) GetMaxInMempool ¶
func (m *TicketBuyerConfigResponse) GetMaxInMempool() int64
func (*TicketBuyerConfigResponse) GetMaxPerBlock ¶
func (m *TicketBuyerConfigResponse) GetMaxPerBlock() int64
func (*TicketBuyerConfigResponse) GetMaxPriceAbsolute ¶
func (m *TicketBuyerConfigResponse) GetMaxPriceAbsolute() int64
func (*TicketBuyerConfigResponse) GetMaxPriceRelative ¶
func (m *TicketBuyerConfigResponse) GetMaxPriceRelative() float64
func (*TicketBuyerConfigResponse) GetMinFee ¶
func (m *TicketBuyerConfigResponse) GetMinFee() int64
func (*TicketBuyerConfigResponse) GetPoolAddress ¶
func (m *TicketBuyerConfigResponse) GetPoolAddress() string
func (*TicketBuyerConfigResponse) GetPoolFees ¶
func (m *TicketBuyerConfigResponse) GetPoolFees() float64
func (*TicketBuyerConfigResponse) GetSpreadTicketPurchases ¶
func (m *TicketBuyerConfigResponse) GetSpreadTicketPurchases() bool
func (*TicketBuyerConfigResponse) GetTxFee ¶
func (m *TicketBuyerConfigResponse) GetTxFee() int64
func (*TicketBuyerConfigResponse) GetVotingAddress ¶
func (m *TicketBuyerConfigResponse) GetVotingAddress() string
func (*TicketBuyerConfigResponse) ProtoMessage ¶
func (*TicketBuyerConfigResponse) ProtoMessage()
func (*TicketBuyerConfigResponse) Reset ¶
func (m *TicketBuyerConfigResponse) Reset()
func (*TicketBuyerConfigResponse) String ¶
func (m *TicketBuyerConfigResponse) String() string
type TicketBuyerServiceClient ¶
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 ¶
func NewTicketBuyerServiceClient(cc *grpc.ClientConn) TicketBuyerServiceClient
type TicketBuyerServiceServer ¶
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 ¶
type TicketPriceRequest struct { }
func (*TicketPriceRequest) Descriptor ¶
func (*TicketPriceRequest) Descriptor() ([]byte, []int)
func (*TicketPriceRequest) ProtoMessage ¶
func (*TicketPriceRequest) ProtoMessage()
func (*TicketPriceRequest) Reset ¶
func (m *TicketPriceRequest) Reset()
func (*TicketPriceRequest) String ¶
func (m *TicketPriceRequest) String() string
type TicketPriceResponse ¶
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 ¶
func (*TicketPriceResponse) Descriptor() ([]byte, []int)
func (*TicketPriceResponse) GetHeight ¶
func (m *TicketPriceResponse) GetHeight() int32
func (*TicketPriceResponse) GetTicketPrice ¶
func (m *TicketPriceResponse) GetTicketPrice() int64
func (*TicketPriceResponse) ProtoMessage ¶
func (*TicketPriceResponse) ProtoMessage()
func (*TicketPriceResponse) Reset ¶
func (m *TicketPriceResponse) Reset()
func (*TicketPriceResponse) String ¶
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 ¶
func (m *TransactionDetails) GetCredits() []*TransactionDetails_Output
func (*TransactionDetails) GetDebits ¶
func (m *TransactionDetails) GetDebits() []*TransactionDetails_Input
func (*TransactionDetails) GetFee ¶
func (m *TransactionDetails) GetFee() int64
func (*TransactionDetails) GetHash ¶
func (m *TransactionDetails) GetHash() []byte
func (*TransactionDetails) GetTimestamp ¶
func (m *TransactionDetails) GetTimestamp() int64
func (*TransactionDetails) GetTransaction ¶
func (m *TransactionDetails) GetTransaction() []byte
func (*TransactionDetails) GetTransactionType ¶
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 ¶
func (m *TransactionDetails_Input) GetIndex() uint32
func (*TransactionDetails_Input) GetPreviousAccount ¶
func (m *TransactionDetails_Input) GetPreviousAccount() uint32
func (*TransactionDetails_Input) GetPreviousAmount ¶
func (m *TransactionDetails_Input) GetPreviousAmount() int64
func (*TransactionDetails_Input) ProtoMessage ¶
func (*TransactionDetails_Input) ProtoMessage()
func (*TransactionDetails_Input) Reset ¶
func (m *TransactionDetails_Input) Reset()
func (*TransactionDetails_Input) String ¶
func (m *TransactionDetails_Input) String() string
type TransactionDetails_Output ¶
type TransactionDetails_Output struct { Index uint32 `protobuf:"varint,1,opt,name=index" json:"index,omitempty"` Account uint32 `protobuf:"varint,2,opt,name=account" json:"account,omitempty"` Internal bool `protobuf:"varint,3,opt,name=internal" json:"internal,omitempty"` 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 ¶
func (m *TransactionDetails_Output) GetAccount() uint32
func (*TransactionDetails_Output) GetAddress ¶
func (m *TransactionDetails_Output) GetAddress() string
func (*TransactionDetails_Output) GetAmount ¶
func (m *TransactionDetails_Output) GetAmount() int64
func (*TransactionDetails_Output) GetIndex ¶
func (m *TransactionDetails_Output) GetIndex() uint32
func (*TransactionDetails_Output) GetInternal ¶
func (m *TransactionDetails_Output) GetInternal() bool
func (*TransactionDetails_Output) GetOutputScript ¶
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 ¶
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 ¶
func (TransactionDetails_TransactionType) EnumDescriptor() ([]byte, []int)
func (TransactionDetails_TransactionType) String ¶
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 ¶
func (m *TransactionNotificationsResponse) GetDetachedBlocks() [][]byte
func (*TransactionNotificationsResponse) GetUnminedTransactionHashes ¶
func (m *TransactionNotificationsResponse) GetUnminedTransactionHashes() [][]byte
func (*TransactionNotificationsResponse) GetUnminedTransactions ¶
func (m *TransactionNotificationsResponse) GetUnminedTransactions() []*TransactionDetails
func (*TransactionNotificationsResponse) ProtoMessage ¶
func (*TransactionNotificationsResponse) ProtoMessage()
func (*TransactionNotificationsResponse) Reset ¶
func (m *TransactionNotificationsResponse) Reset()
func (*TransactionNotificationsResponse) String ¶
func (m *TransactionNotificationsResponse) String() string
type ValidateAddressRequest ¶
type ValidateAddressRequest struct {
Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
}
func (*ValidateAddressRequest) Descriptor ¶
func (*ValidateAddressRequest) Descriptor() ([]byte, []int)
func (*ValidateAddressRequest) GetAddress ¶
func (m *ValidateAddressRequest) GetAddress() string
func (*ValidateAddressRequest) ProtoMessage ¶
func (*ValidateAddressRequest) ProtoMessage()
func (*ValidateAddressRequest) Reset ¶
func (m *ValidateAddressRequest) Reset()
func (*ValidateAddressRequest) String ¶
func (m *ValidateAddressRequest) String() string
type ValidateAddressResponse ¶
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"` IsCompressed bool `protobuf:"varint,11,opt,name=is_compressed,json=isCompressed" json:"is_compressed,omitempty"` }
func (*ValidateAddressResponse) Descriptor ¶
func (*ValidateAddressResponse) Descriptor() ([]byte, []int)
func (*ValidateAddressResponse) GetAccountNumber ¶
func (m *ValidateAddressResponse) GetAccountNumber() uint32
func (*ValidateAddressResponse) GetIsCompressed ¶
func (m *ValidateAddressResponse) GetIsCompressed() bool
func (*ValidateAddressResponse) GetIsMine ¶
func (m *ValidateAddressResponse) GetIsMine() bool
func (*ValidateAddressResponse) GetIsScript ¶
func (m *ValidateAddressResponse) GetIsScript() bool
func (*ValidateAddressResponse) GetIsValid ¶
func (m *ValidateAddressResponse) GetIsValid() bool
func (*ValidateAddressResponse) GetPayToAddrScript ¶
func (m *ValidateAddressResponse) GetPayToAddrScript() []byte
func (*ValidateAddressResponse) GetPkScriptAddrs ¶
func (m *ValidateAddressResponse) GetPkScriptAddrs() []string
func (*ValidateAddressResponse) GetPubKey ¶
func (m *ValidateAddressResponse) GetPubKey() []byte
func (*ValidateAddressResponse) GetPubKeyAddr ¶
func (m *ValidateAddressResponse) GetPubKeyAddr() string
func (*ValidateAddressResponse) GetScriptType ¶
func (m *ValidateAddressResponse) GetScriptType() ValidateAddressResponse_ScriptType
func (*ValidateAddressResponse) GetSigsRequired ¶
func (m *ValidateAddressResponse) GetSigsRequired() uint32
func (*ValidateAddressResponse) ProtoMessage ¶
func (*ValidateAddressResponse) ProtoMessage()
func (*ValidateAddressResponse) Reset ¶
func (m *ValidateAddressResponse) Reset()
func (*ValidateAddressResponse) String ¶
func (m *ValidateAddressResponse) String() string
type ValidateAddressResponse_ScriptType ¶
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 ¶
func (ValidateAddressResponse_ScriptType) EnumDescriptor() ([]byte, []int)
func (ValidateAddressResponse_ScriptType) String ¶
func (x ValidateAddressResponse_ScriptType) String() string
type VerifyMessageRequest ¶
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 ¶
func (*VerifyMessageRequest) Descriptor() ([]byte, []int)
func (*VerifyMessageRequest) GetAddress ¶
func (m *VerifyMessageRequest) GetAddress() string
func (*VerifyMessageRequest) GetMessage ¶
func (m *VerifyMessageRequest) GetMessage() string
func (*VerifyMessageRequest) GetSignature ¶
func (m *VerifyMessageRequest) GetSignature() []byte
func (*VerifyMessageRequest) ProtoMessage ¶
func (*VerifyMessageRequest) ProtoMessage()
func (*VerifyMessageRequest) Reset ¶
func (m *VerifyMessageRequest) Reset()
func (*VerifyMessageRequest) String ¶
func (m *VerifyMessageRequest) String() string
type VerifyMessageResponse ¶
type VerifyMessageResponse struct {
Valid bool `protobuf:"varint,1,opt,name=valid" json:"valid,omitempty"`
}
func (*VerifyMessageResponse) Descriptor ¶
func (*VerifyMessageResponse) Descriptor() ([]byte, []int)
func (*VerifyMessageResponse) GetValid ¶
func (m *VerifyMessageResponse) GetValid() bool
func (*VerifyMessageResponse) ProtoMessage ¶
func (*VerifyMessageResponse) ProtoMessage()
func (*VerifyMessageResponse) Reset ¶
func (m *VerifyMessageResponse) Reset()
func (*VerifyMessageResponse) String ¶
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 ¶
func (m *VersionResponse) GetBuildMetadata() string
func (*VersionResponse) GetMajor ¶
func (m *VersionResponse) GetMajor() uint32
func (*VersionResponse) GetMinor ¶
func (m *VersionResponse) GetMinor() uint32
func (*VersionResponse) GetPatch ¶
func (m *VersionResponse) GetPatch() uint32
func (*VersionResponse) GetPrerelease ¶
func (m *VersionResponse) GetPrerelease() string
func (*VersionResponse) GetVersionString ¶
func (m *VersionResponse) GetVersionString() string
func (*VersionResponse) ProtoMessage ¶
func (*VersionResponse) ProtoMessage()
func (*VersionResponse) Reset ¶
func (m *VersionResponse) Reset()
func (*VersionResponse) String ¶
func (m *VersionResponse) String() string
type VersionServiceClient ¶
type VersionServiceClient interface {
Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error)
}
func NewVersionServiceClient ¶
func NewVersionServiceClient(cc *grpc.ClientConn) VersionServiceClient
type VersionServiceServer ¶
type VersionServiceServer interface {
Version(context.Context, *VersionRequest) (*VersionResponse, error)
}
type VoteChoicesRequest ¶
type VoteChoicesRequest struct { }
func (*VoteChoicesRequest) Descriptor ¶
func (*VoteChoicesRequest) Descriptor() ([]byte, []int)
func (*VoteChoicesRequest) ProtoMessage ¶
func (*VoteChoicesRequest) ProtoMessage()
func (*VoteChoicesRequest) Reset ¶
func (m *VoteChoicesRequest) Reset()
func (*VoteChoicesRequest) String ¶
func (m *VoteChoicesRequest) String() string
type VoteChoicesResponse ¶
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 ¶
func (*VoteChoicesResponse) Descriptor() ([]byte, []int)
func (*VoteChoicesResponse) GetChoices ¶
func (m *VoteChoicesResponse) GetChoices() []*VoteChoicesResponse_Choice
func (*VoteChoicesResponse) GetVersion ¶
func (m *VoteChoicesResponse) GetVersion() uint32
func (*VoteChoicesResponse) GetVotebits ¶
func (m *VoteChoicesResponse) GetVotebits() uint32
func (*VoteChoicesResponse) ProtoMessage ¶
func (*VoteChoicesResponse) ProtoMessage()
func (*VoteChoicesResponse) Reset ¶
func (m *VoteChoicesResponse) Reset()
func (*VoteChoicesResponse) String ¶
func (m *VoteChoicesResponse) String() string
type VoteChoicesResponse_Choice ¶
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 ¶
func (*VoteChoicesResponse_Choice) Descriptor() ([]byte, []int)
func (*VoteChoicesResponse_Choice) GetAgendaDescription ¶
func (m *VoteChoicesResponse_Choice) GetAgendaDescription() string
func (*VoteChoicesResponse_Choice) GetAgendaId ¶
func (m *VoteChoicesResponse_Choice) GetAgendaId() string
func (*VoteChoicesResponse_Choice) GetChoiceDescription ¶
func (m *VoteChoicesResponse_Choice) GetChoiceDescription() string
func (*VoteChoicesResponse_Choice) GetChoiceId ¶
func (m *VoteChoicesResponse_Choice) GetChoiceId() string
func (*VoteChoicesResponse_Choice) ProtoMessage ¶
func (*VoteChoicesResponse_Choice) ProtoMessage()
func (*VoteChoicesResponse_Choice) Reset ¶
func (m *VoteChoicesResponse_Choice) Reset()
func (*VoteChoicesResponse_Choice) String ¶
func (m *VoteChoicesResponse_Choice) String() string
type VotingServiceClient ¶
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 ¶
func NewVotingServiceClient(cc *grpc.ClientConn) VotingServiceClient
type VotingServiceServer ¶
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 ¶
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) 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) 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) CommittedTickets(ctx context.Context, in *CommittedTicketsRequest, opts ...grpc.CallOption) (*CommittedTicketsResponse, error) ValidateAddress(ctx context.Context, in *ValidateAddressRequest, opts ...grpc.CallOption) (*ValidateAddressResponse, 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) ConstructTransaction(context.Context, *ConstructTransactionRequest) (*ConstructTransactionResponse, error) SignTransaction(context.Context, *SignTransactionRequest) (*SignTransactionResponse, error) CreateSignature(context.Context, *CreateSignatureRequest) (*CreateSignatureResponse, error) PublishTransaction(context.Context, *PublishTransactionRequest) (*PublishTransactionResponse, 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 ¶
type WalletService_ConfirmationNotificationsClient interface { Send(*ConfirmationNotificationsRequest) error Recv() (*ConfirmationNotificationsResponse, error) grpc.ClientStream }
type WalletService_ConfirmationNotificationsServer ¶
type WalletService_ConfirmationNotificationsServer interface { Send(*ConfirmationNotificationsResponse) error Recv() (*ConfirmationNotificationsRequest, error) grpc.ServerStream }
type WalletService_GetTicketsClient ¶
type WalletService_GetTicketsClient interface { Recv() (*GetTicketsResponse, error) grpc.ClientStream }
type WalletService_GetTicketsServer ¶
type WalletService_GetTicketsServer interface { Send(*GetTicketsResponse) error grpc.ServerStream }
type WalletService_GetTransactionsClient ¶
type WalletService_GetTransactionsClient interface { Recv() (*GetTransactionsResponse, error) grpc.ClientStream }
type WalletService_GetTransactionsServer ¶
type WalletService_GetTransactionsServer interface { Send(*GetTransactionsResponse) error grpc.ServerStream }
type WalletService_RescanClient ¶
type WalletService_RescanClient interface { Recv() (*RescanResponse, error) grpc.ClientStream }
type WalletService_RescanServer ¶
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 }
Click to show internal directories.
Click to hide internal directories.