Versions in this module Expand all Collapse all v4 deprecated v4.0.1 Jun 10, 2023 v4.0.0 Jul 30, 2019 Changes in this version + var ErrClientAlreadyConnected = errors.New(...) + var ErrClientDisconnect = errors.New("the client has been disconnected") + var ErrClientNotConnected = errors.New("the client was never connected") + var ErrClientShutdown = errors.New("the client has been shutdown") + var ErrInvalidAuth = errors.New("authentication failure") + var ErrInvalidEndpoint = errors.New(...) + var ErrNotWebsocketClient = errors.New(...) + var ErrWebsocketsRequired = errors.New(...) + func DisableLog() + func UseLogger(logger slog.Logger) + type AddNodeCommand string + const ANAdd + const ANOneTry + const ANRemove + func (cmd AddNodeCommand) String() string + type Client struct + func New(config *ConnConfig, ntfnHandlers *NotificationHandlers) (*Client, error) + func (c *Client) AccountAddressIndex(account string, branch uint32) (int, error) + func (c *Client) AccountAddressIndexAsync(account string, branch uint32) FutureAccountAddressIndexResult + func (c *Client) AccountSyncAddressIndex(account string, branch uint32, index int) error + func (c *Client) AccountSyncAddressIndexAsync(account string, branch uint32, index int) FutureAccountSyncAddressIndexResult + func (c *Client) AddMultisigAddress(requiredSigs int, addresses []dcrutil.Address, account string, ...) (dcrutil.Address, error) + func (c *Client) AddMultisigAddressAsync(requiredSigs int, addresses []dcrutil.Address, account string) FutureAddMultisigAddressResult + func (c *Client) AddNode(host string, command AddNodeCommand) error + func (c *Client) AddNodeAsync(host string, command AddNodeCommand) FutureAddNodeResult + func (c *Client) AddTicket(ticket *dcrutil.Tx) error + func (c *Client) AddTicketAsync(rawHex string) FutureAddTicketResult + func (c *Client) Connect(ctx context.Context, retry bool) error + func (c *Client) CreateEncryptedWallet(passphrase string) error + func (c *Client) CreateEncryptedWalletAsync(passphrase string) FutureCreateEncryptedWalletResult + func (c *Client) CreateMultisig(requiredSigs int, addresses []dcrutil.Address) (*walletjson.CreateMultiSigResult, error) + func (c *Client) CreateMultisigAsync(requiredSigs int, addresses []dcrutil.Address) FutureCreateMultisigResult + func (c *Client) CreateNewAccount(account string) error + func (c *Client) CreateNewAccountAsync(account string) FutureCreateNewAccountResult + func (c *Client) CreateRawSSRtx(inputs []chainjson.TransactionInput, fee dcrutil.Amount) (*wire.MsgTx, error) + func (c *Client) CreateRawSSRtxAsync(inputs []chainjson.TransactionInput, fee dcrutil.Amount) FutureCreateRawSSRtxResult + func (c *Client) CreateRawSStx(inputs []chainjson.SStxInput, amount map[dcrutil.Address]dcrutil.Amount, ...) (*wire.MsgTx, error) + func (c *Client) CreateRawSStxAsync(inputs []chainjson.SStxInput, amount map[dcrutil.Address]dcrutil.Amount, ...) FutureCreateRawSStxResult + func (c *Client) CreateRawTransaction(inputs []chainjson.TransactionInput, ...) (*wire.MsgTx, error) + func (c *Client) CreateRawTransactionAsync(inputs []chainjson.TransactionInput, ...) FutureCreateRawTransactionResult + func (c *Client) DebugLevel(levelSpec string) (string, error) + func (c *Client) DebugLevelAsync(levelSpec string) FutureDebugLevelResult + func (c *Client) DecodeRawTransaction(serializedTx []byte) (*chainjson.TxRawResult, error) + func (c *Client) DecodeRawTransactionAsync(serializedTx []byte) FutureDecodeRawTransactionResult + func (c *Client) Disconnect() + func (c *Client) Disconnected() bool + func (c *Client) DumpPrivKey(address dcrutil.Address, net [2]byte) (*dcrutil.WIF, error) + func (c *Client) DumpPrivKeyAsync(address dcrutil.Address) FutureDumpPrivKeyResult + func (c *Client) EstimateSmartFee(confirmations int64, mode chainjson.EstimateSmartFeeMode) (float64, error) + func (c *Client) EstimateSmartFeeAsync(confirmations int64, mode chainjson.EstimateSmartFeeMode) FutureEstimateSmartFeeResult + func (c *Client) EstimateStakeDiff(tickets *uint32) (*chainjson.EstimateStakeDiffResult, error) + func (c *Client) EstimateStakeDiffAsync(tickets *uint32) FutureEstimateStakeDiffResult + func (c *Client) ExistsAddress(address dcrutil.Address) (bool, error) + func (c *Client) ExistsAddressAsync(address dcrutil.Address) FutureExistsAddressResult + func (c *Client) ExistsAddresses(addresses []dcrutil.Address) (string, error) + func (c *Client) ExistsAddressesAsync(addresses []dcrutil.Address) FutureExistsAddressesResult + func (c *Client) ExistsExpiredTickets(hashes []*chainhash.Hash) (string, error) + func (c *Client) ExistsExpiredTicketsAsync(hashes []*chainhash.Hash) FutureExistsExpiredTicketsResult + func (c *Client) ExistsLiveTicket(hash *chainhash.Hash) (bool, error) + func (c *Client) ExistsLiveTicketAsync(hash *chainhash.Hash) FutureExistsLiveTicketResult + func (c *Client) ExistsLiveTickets(hashes []*chainhash.Hash) (string, error) + func (c *Client) ExistsLiveTicketsAsync(hashes []*chainhash.Hash) FutureExistsLiveTicketsResult + func (c *Client) ExistsMempoolTxs(hashes []*chainhash.Hash) (string, error) + func (c *Client) ExistsMempoolTxsAsync(hashes []*chainhash.Hash) FutureExistsMempoolTxsResult + func (c *Client) ExistsMissedTickets(hashes []*chainhash.Hash) (string, error) + func (c *Client) ExistsMissedTicketsAsync(hashes []*chainhash.Hash) FutureExistsMissedTicketsResult + func (c *Client) ExportWatchingWallet(account string) ([]byte, []byte, error) + func (c *Client) ExportWatchingWalletAsync(account string) FutureExportWatchingWalletResult + func (c *Client) FundRawTransaction(rawhex string, fundAccount string, ...) (*walletjson.FundRawTransactionResult, error) + func (c *Client) FundRawTransactionAsync(rawhex string, fundAccount string, ...) FutureFundRawTransactionResult + func (c *Client) Generate(numBlocks uint32) ([]*chainhash.Hash, error) + func (c *Client) GenerateAsync(numBlocks uint32) FutureGenerateResult + func (c *Client) GenerateVote(blockHash *chainhash.Hash, height int64, sstxHash *chainhash.Hash, ...) (*walletjson.GenerateVoteResult, error) + func (c *Client) GenerateVoteAsync(blockHash *chainhash.Hash, height int64, sstxHash *chainhash.Hash, ...) FutureGenerateVoteResult + func (c *Client) GetAccount(address dcrutil.Address) (string, error) + func (c *Client) GetAccountAddress(account string, net dcrutil.AddressParams) (dcrutil.Address, error) + func (c *Client) GetAccountAddressAsync(account string) FutureGetAccountAddressResult + func (c *Client) GetAccountAsync(address dcrutil.Address) FutureGetAccountResult + func (c *Client) GetAddedNodeInfo(peer string) ([]chainjson.GetAddedNodeInfoResult, error) + func (c *Client) GetAddedNodeInfoAsync(peer string) FutureGetAddedNodeInfoResult + func (c *Client) GetAddedNodeInfoNoDNS(peer string) ([]string, error) + func (c *Client) GetAddedNodeInfoNoDNSAsync(peer string) FutureGetAddedNodeInfoNoDNSResult + func (c *Client) GetAddressesByAccount(account string, net dcrutil.AddressParams) ([]dcrutil.Address, error) + func (c *Client) GetAddressesByAccountAsync(account string) FutureGetAddressesByAccountResult + func (c *Client) GetBalance(account string) (*walletjson.GetBalanceResult, error) + func (c *Client) GetBalanceAsync(account string) FutureGetBalanceResult + func (c *Client) GetBalanceMinConf(account string, minConfirms int) (*walletjson.GetBalanceResult, error) + func (c *Client) GetBalanceMinConfAsync(account string, minConfirms int) FutureGetBalanceResult + func (c *Client) GetBestBlock() (*chainhash.Hash, int64, error) + func (c *Client) GetBestBlockAsync() FutureGetBestBlockResult + func (c *Client) GetBestBlockHash() (*chainhash.Hash, error) + func (c *Client) GetBestBlockHashAsync() FutureGetBestBlockHashResult + func (c *Client) GetBlock(blockHash *chainhash.Hash) (*wire.MsgBlock, error) + func (c *Client) GetBlockAsync(blockHash *chainhash.Hash) FutureGetBlockResult + func (c *Client) GetBlockChainInfo() (*chainjson.GetBlockChainInfoResult, error) + func (c *Client) GetBlockChainInfoAsync() FutureGetBlockChainInfoResult + func (c *Client) GetBlockCount() (int64, error) + func (c *Client) GetBlockCountAsync() FutureGetBlockCountResult + func (c *Client) GetBlockHash(blockHeight int64) (*chainhash.Hash, error) + func (c *Client) GetBlockHashAsync(blockHeight int64) FutureGetBlockHashResult + func (c *Client) GetBlockHeader(hash *chainhash.Hash) (*wire.BlockHeader, error) + func (c *Client) GetBlockHeaderAsync(hash *chainhash.Hash) FutureGetBlockHeaderResult + func (c *Client) GetBlockHeaderVerbose(hash *chainhash.Hash) (*chainjson.GetBlockHeaderVerboseResult, error) + func (c *Client) GetBlockHeaderVerboseAsync(hash *chainhash.Hash) FutureGetBlockHeaderVerboseResult + func (c *Client) GetBlockSubsidy(height int64, voters uint16) (*chainjson.GetBlockSubsidyResult, error) + func (c *Client) GetBlockSubsidyAsync(height int64, voters uint16) FutureGetBlockSubsidyResult + func (c *Client) GetBlockTemplate(req *chainjson.TemplateRequest) (*chainjson.GetBlockTemplateResult, error) + func (c *Client) GetBlockTemplateAsync(req *chainjson.TemplateRequest) FutureGetBlockTemplate + func (c *Client) GetBlockVerbose(blockHash *chainhash.Hash, verboseTx bool) (*chainjson.GetBlockVerboseResult, error) + func (c *Client) GetBlockVerboseAsync(blockHash *chainhash.Hash, verboseTx bool) FutureGetBlockVerboseResult + func (c *Client) GetCFilter(blockHash *chainhash.Hash, filterType wire.FilterType) (*gcs.Filter, error) + func (c *Client) GetCFilterAsync(blockHash *chainhash.Hash, filterType wire.FilterType) FutureGetCFilterResult + func (c *Client) GetCFilterHeader(blockHash *chainhash.Hash, filterType wire.FilterType) (*chainhash.Hash, error) + func (c *Client) GetCFilterHeaderAsync(blockHash *chainhash.Hash, filterType wire.FilterType) FutureGetCFilterHeaderResult + func (c *Client) GetChainTips() ([]chainjson.GetChainTipsResult, error) + func (c *Client) GetChainTipsAsync() FutureGetChainTipsResult + func (c *Client) GetCoinSupply() (dcrutil.Amount, error) + func (c *Client) GetCoinSupplyAsync() FutureGetCoinSupplyResult + func (c *Client) GetConnectionCount() (int64, error) + func (c *Client) GetConnectionCountAsync() FutureGetConnectionCountResult + func (c *Client) GetCurrentNet() (wire.CurrencyNet, error) + func (c *Client) GetCurrentNetAsync() FutureGetCurrentNetResult + func (c *Client) GetDifficulty() (float64, error) + func (c *Client) GetDifficultyAsync() FutureGetDifficultyResult + func (c *Client) GetGenerate() (bool, error) + func (c *Client) GetGenerateAsync() FutureGetGenerateResult + func (c *Client) GetHashesPerSec() (int64, error) + func (c *Client) GetHashesPerSecAsync() FutureGetHashesPerSecResult + func (c *Client) GetHeaders(blockLocators []*chainhash.Hash, hashStop *chainhash.Hash) (*chainjson.GetHeadersResult, error) + func (c *Client) GetHeadersAsync(blockLocators []*chainhash.Hash, hashStop *chainhash.Hash) FutureGetHeadersResult + func (c *Client) GetInfo() (*walletjson.InfoWalletResult, error) + func (c *Client) GetInfoAsync() FutureGetInfoResult + func (c *Client) GetMasterPubkey(account string, net hdkeychain.NetworkParams) (*hdkeychain.ExtendedKey, error) + func (c *Client) GetMasterPubkeyAsync(account string) FutureGetMasterPubkeyResult + func (c *Client) GetMiningInfo() (*chainjson.GetMiningInfoResult, error) + func (c *Client) GetMiningInfoAsync() FutureGetMiningInfoResult + func (c *Client) GetNetTotals() (*chainjson.GetNetTotalsResult, error) + func (c *Client) GetNetTotalsAsync() FutureGetNetTotalsResult + func (c *Client) GetNetworkHashPS() (int64, error) + func (c *Client) GetNetworkHashPS2(blocks int) (int64, error) + func (c *Client) GetNetworkHashPS2Async(blocks int) FutureGetNetworkHashPS + func (c *Client) GetNetworkHashPS3(blocks, height int) (int64, error) + func (c *Client) GetNetworkHashPS3Async(blocks, height int) FutureGetNetworkHashPS + func (c *Client) GetNetworkHashPSAsync() FutureGetNetworkHashPS + func (c *Client) GetNewAddress(account string, net dcrutil.AddressParams) (dcrutil.Address, error) + func (c *Client) GetNewAddressAsync(account string) FutureGetNewAddressResult + func (c *Client) GetNewAddressGapPolicy(account string, gapPolicy GapPolicy, net dcrutil.AddressParams) (dcrutil.Address, error) + func (c *Client) GetNewAddressGapPolicyAsync(account string, gapPolicy GapPolicy) FutureGetNewAddressResult + func (c *Client) GetPeerInfo() ([]chainjson.GetPeerInfoResult, error) + func (c *Client) GetPeerInfoAsync() FutureGetPeerInfoResult + func (c *Client) GetRawChangeAddress(account string, net dcrutil.AddressParams) (dcrutil.Address, error) + func (c *Client) GetRawChangeAddressAsync(account string) FutureGetRawChangeAddressResult + func (c *Client) GetRawMempool(txType chainjson.GetRawMempoolTxTypeCmd) ([]*chainhash.Hash, error) + func (c *Client) GetRawMempoolAsync(txType chainjson.GetRawMempoolTxTypeCmd) FutureGetRawMempoolResult + func (c *Client) GetRawMempoolVerbose(txType chainjson.GetRawMempoolTxTypeCmd) (map[string]chainjson.GetRawMempoolVerboseResult, error) + func (c *Client) GetRawMempoolVerboseAsync(txType chainjson.GetRawMempoolTxTypeCmd) FutureGetRawMempoolVerboseResult + func (c *Client) GetRawTransaction(txHash *chainhash.Hash) (*dcrutil.Tx, error) + func (c *Client) GetRawTransactionAsync(txHash *chainhash.Hash) FutureGetRawTransactionResult + func (c *Client) GetRawTransactionVerbose(txHash *chainhash.Hash) (*chainjson.TxRawResult, error) + func (c *Client) GetRawTransactionVerboseAsync(txHash *chainhash.Hash) FutureGetRawTransactionVerboseResult + func (c *Client) GetReceivedByAccount(account string) (dcrutil.Amount, error) + func (c *Client) GetReceivedByAccountAsync(account string) FutureGetReceivedByAccountResult + func (c *Client) GetReceivedByAccountMinConf(account string, minConfirms int) (dcrutil.Amount, error) + func (c *Client) GetReceivedByAccountMinConfAsync(account string, minConfirms int) FutureGetReceivedByAccountResult + func (c *Client) GetReceivedByAddress(address dcrutil.Address) (dcrutil.Amount, error) + func (c *Client) GetReceivedByAddressAsync(address dcrutil.Address) FutureGetReceivedByAddressResult + func (c *Client) GetReceivedByAddressMinConf(address dcrutil.Address, minConfirms int) (dcrutil.Amount, error) + func (c *Client) GetReceivedByAddressMinConfAsync(address dcrutil.Address, minConfirms int) FutureGetReceivedByAddressResult + func (c *Client) GetStakeDifficulty() (*chainjson.GetStakeDifficultyResult, error) + func (c *Client) GetStakeDifficultyAsync() FutureGetStakeDifficultyResult + func (c *Client) GetStakeInfo() (*walletjson.GetStakeInfoResult, error) + func (c *Client) GetStakeInfoAsync() FutureGetStakeInfoResult + func (c *Client) GetStakeVersionInfo(count int32) (*chainjson.GetStakeVersionInfoResult, error) + func (c *Client) GetStakeVersionInfoAsync(count int32) FutureGetStakeVersionInfoResult + func (c *Client) GetStakeVersions(hash string, count int32) (*chainjson.GetStakeVersionsResult, error) + func (c *Client) GetStakeVersionsAsync(hash string, count int32) FutureGetStakeVersionsResult + func (c *Client) GetTicketPoolValue() (dcrutil.Amount, error) + func (c *Client) GetTicketPoolValueAsync() FutureGetTicketPoolValueResult + func (c *Client) GetTickets(includeImmature bool) ([]*chainhash.Hash, error) + func (c *Client) GetTicketsAsync(includeImmature bool) FutureGetTicketsResult + func (c *Client) GetTransaction(txHash *chainhash.Hash) (*walletjson.GetTransactionResult, error) + func (c *Client) GetTransactionAsync(txHash *chainhash.Hash) FutureGetTransactionResult + func (c *Client) GetTxOut(txHash *chainhash.Hash, index uint32, mempool bool) (*chainjson.GetTxOutResult, error) + func (c *Client) GetTxOutAsync(txHash *chainhash.Hash, index uint32, mempool bool) FutureGetTxOutResult + func (c *Client) GetUnconfirmedBalance(account string) (dcrutil.Amount, error) + func (c *Client) GetUnconfirmedBalanceAsync(account string) FutureGetUnconfirmedBalanceResult + func (c *Client) GetVoteChoices() (*walletjson.GetVoteChoicesResult, error) + func (c *Client) GetVoteChoicesAsync() FutureGetVoteChoicesResult + func (c *Client) GetVoteInfo(version uint32) (*chainjson.GetVoteInfoResult, error) + func (c *Client) GetVoteInfoAsync(version uint32) FutureGetVoteInfoResult + func (c *Client) GetWork() (*chainjson.GetWorkResult, error) + func (c *Client) GetWorkAsync() FutureGetWork + func (c *Client) GetWorkSubmit(data string) (bool, error) + func (c *Client) GetWorkSubmitAsync(data string) FutureGetWorkSubmit + func (c *Client) ImportPrivKey(privKeyWIF *dcrutil.WIF) error + func (c *Client) ImportPrivKeyAsync(privKeyWIF *dcrutil.WIF) FutureImportPrivKeyResult + func (c *Client) ImportPrivKeyLabel(privKeyWIF *dcrutil.WIF, label string) error + func (c *Client) ImportPrivKeyLabelAsync(privKeyWIF *dcrutil.WIF, label string) FutureImportPrivKeyResult + func (c *Client) ImportPrivKeyRescan(privKeyWIF *dcrutil.WIF, label string, rescan bool) error + func (c *Client) ImportPrivKeyRescanAsync(privKeyWIF *dcrutil.WIF, label string, rescan bool) FutureImportPrivKeyResult + func (c *Client) ImportPrivKeyRescanFrom(privKeyWIF *dcrutil.WIF, label string, rescan bool, scanFrom int) error + func (c *Client) ImportPrivKeyRescanFromAsync(privKeyWIF *dcrutil.WIF, label string, rescan bool, scanFrom int) FutureImportPrivKeyResult + func (c *Client) ImportScript(script []byte) error + func (c *Client) ImportScriptAsync(script []byte) FutureImportScriptResult + func (c *Client) ImportScriptRescan(script []byte, rescan bool) error + func (c *Client) ImportScriptRescanAsync(script []byte, rescan bool) FutureImportScriptResult + func (c *Client) ImportScriptRescanFrom(script []byte, rescan bool, scanFrom int) error + func (c *Client) ImportScriptRescanFromAsync(script []byte, rescan bool, scanFrom int) FutureImportScriptResult + func (c *Client) KeyPoolRefill() error + func (c *Client) KeyPoolRefillAsync() FutureKeyPoolRefillResult + func (c *Client) KeyPoolRefillSize(newSize uint) error + func (c *Client) KeyPoolRefillSizeAsync(newSize uint) FutureKeyPoolRefillResult + func (c *Client) ListAccounts() (map[string]dcrutil.Amount, error) + func (c *Client) ListAccountsAsync() FutureListAccountsResult + func (c *Client) ListAccountsMinConf(minConfirms int) (map[string]dcrutil.Amount, error) + func (c *Client) ListAccountsMinConfAsync(minConfirms int) FutureListAccountsResult + func (c *Client) ListAddressTransactions(addresses []dcrutil.Address, account string) ([]walletjson.ListTransactionsResult, error) + func (c *Client) ListAddressTransactionsAsync(addresses []dcrutil.Address, account string) FutureListAddressTransactionsResult + func (c *Client) ListLockUnspent() ([]*wire.OutPoint, error) + func (c *Client) ListLockUnspentAsync() FutureListLockUnspentResult + func (c *Client) ListReceivedByAccount() ([]walletjson.ListReceivedByAccountResult, error) + func (c *Client) ListReceivedByAccountAsync() FutureListReceivedByAccountResult + func (c *Client) ListReceivedByAccountIncludeEmpty(minConfirms int, includeEmpty bool) ([]walletjson.ListReceivedByAccountResult, error) + func (c *Client) ListReceivedByAccountIncludeEmptyAsync(minConfirms int, includeEmpty bool) FutureListReceivedByAccountResult + func (c *Client) ListReceivedByAccountMinConf(minConfirms int) ([]walletjson.ListReceivedByAccountResult, error) + func (c *Client) ListReceivedByAccountMinConfAsync(minConfirms int) FutureListReceivedByAccountResult + func (c *Client) ListReceivedByAddress() ([]walletjson.ListReceivedByAddressResult, error) + func (c *Client) ListReceivedByAddressAsync() FutureListReceivedByAddressResult + func (c *Client) ListReceivedByAddressIncludeEmpty(minConfirms int, includeEmpty bool) ([]walletjson.ListReceivedByAddressResult, error) + func (c *Client) ListReceivedByAddressIncludeEmptyAsync(minConfirms int, includeEmpty bool) FutureListReceivedByAddressResult + func (c *Client) ListReceivedByAddressMinConf(minConfirms int) ([]walletjson.ListReceivedByAddressResult, error) + func (c *Client) ListReceivedByAddressMinConfAsync(minConfirms int) FutureListReceivedByAddressResult + func (c *Client) ListScripts() ([][]byte, error) + func (c *Client) ListScriptsAsync() FutureListScriptsResult + func (c *Client) ListSinceBlock(blockHash *chainhash.Hash) (*walletjson.ListSinceBlockResult, error) + func (c *Client) ListSinceBlockAsync(blockHash *chainhash.Hash) FutureListSinceBlockResult + func (c *Client) ListSinceBlockMinConf(blockHash *chainhash.Hash, minConfirms int) (*walletjson.ListSinceBlockResult, error) + func (c *Client) ListSinceBlockMinConfAsync(blockHash *chainhash.Hash, minConfirms int) FutureListSinceBlockResult + func (c *Client) ListTransactions(account string) ([]walletjson.ListTransactionsResult, error) + func (c *Client) ListTransactionsAsync(account string) FutureListTransactionsResult + func (c *Client) ListTransactionsCount(account string, count int) ([]walletjson.ListTransactionsResult, error) + func (c *Client) ListTransactionsCountAsync(account string, count int) FutureListTransactionsResult + func (c *Client) ListTransactionsCountFrom(account string, count, from int) ([]walletjson.ListTransactionsResult, error) + func (c *Client) ListTransactionsCountFromAsync(account string, count, from int) FutureListTransactionsResult + func (c *Client) ListUnspent() ([]walletjson.ListUnspentResult, error) + func (c *Client) ListUnspentAsync() FutureListUnspentResult + func (c *Client) ListUnspentMin(minConf int) ([]walletjson.ListUnspentResult, error) + func (c *Client) ListUnspentMinAsync(minConf int) FutureListUnspentResult + func (c *Client) ListUnspentMinMax(minConf, maxConf int) ([]walletjson.ListUnspentResult, error) + func (c *Client) ListUnspentMinMaxAddresses(minConf, maxConf int, addrs []dcrutil.Address) ([]walletjson.ListUnspentResult, error) + func (c *Client) ListUnspentMinMaxAddressesAsync(minConf, maxConf int, addrs []dcrutil.Address) FutureListUnspentResult + func (c *Client) ListUnspentMinMaxAsync(minConf, maxConf int) FutureListUnspentResult + func (c *Client) LiveTickets() ([]*chainhash.Hash, error) + func (c *Client) LiveTicketsAsync() FutureLiveTicketsResult + func (c *Client) LoadTxFilter(reload bool, addresses []dcrutil.Address, outPoints []wire.OutPoint) error + func (c *Client) LoadTxFilterAsync(reload bool, addresses []dcrutil.Address, outPoints []wire.OutPoint) FutureLoadTxFilterResult + func (c *Client) LockUnspent(unlock bool, ops []*wire.OutPoint) error + func (c *Client) LockUnspentAsync(unlock bool, ops []*wire.OutPoint) FutureLockUnspentResult + func (c *Client) MissedTickets() ([]*chainhash.Hash, error) + func (c *Client) MissedTicketsAsync() FutureMissedTicketsResult + func (c *Client) NextID() uint64 + func (c *Client) NotifyBlocks() error + func (c *Client) NotifyBlocksAsync() FutureNotifyBlocksResult + func (c *Client) NotifyNewTickets() error + func (c *Client) NotifyNewTicketsAsync() FutureNotifyNewTicketsResult + func (c *Client) NotifyNewTransactions(verbose bool) error + func (c *Client) NotifyNewTransactionsAsync(verbose bool) FutureNotifyNewTransactionsResult + func (c *Client) NotifySpentAndMissedTickets() error + func (c *Client) NotifySpentAndMissedTicketsAsync() FutureNotifySpentAndMissedTicketsResult + func (c *Client) NotifyStakeDifficulty() error + func (c *Client) NotifyStakeDifficultyAsync() FutureNotifyStakeDifficultyResult + func (c *Client) NotifyWinningTickets() error + func (c *Client) NotifyWinningTicketsAsync() FutureNotifyWinningTicketsResult + func (c *Client) Ping() error + func (c *Client) PingAsync() FuturePingResult + func (c *Client) PurchaseTicket(fromAccount string, spendLimit dcrutil.Amount, minConf *int, ...) ([]*chainhash.Hash, error) + func (c *Client) PurchaseTicketAsync(fromAccount string, spendLimit dcrutil.Amount, minConf *int, ...) FuturePurchaseTicketResult + func (c *Client) RawRequest(method string, params []json.RawMessage) (json.RawMessage, error) + func (c *Client) RawRequestAsync(method string, params []json.RawMessage) FutureRawResult + func (c *Client) RenameAccount(oldAccount, newAccount string) error + func (c *Client) RenameAccountAsync(oldAccount, newAccount string) FutureRenameAccountResult + func (c *Client) Rescan(blockHashes []chainhash.Hash) (*chainjson.RescanResult, error) + func (c *Client) RescanAsync(blockHashes []chainhash.Hash) FutureRescanResult + func (c *Client) RevokeTickets() error + func (c *Client) RevokeTicketsAsync() FutureRevokeTicketsResult + func (c *Client) SearchRawTransactions(address dcrutil.Address, skip, count int, reverse bool, filterAddrs []string) ([]*wire.MsgTx, error) + func (c *Client) SearchRawTransactionsAsync(address dcrutil.Address, skip, count int, reverse bool, filterAddrs []string) FutureSearchRawTransactionsResult + func (c *Client) SearchRawTransactionsVerbose(address dcrutil.Address, skip, count int, includePrevOut bool, reverse bool, ...) ([]*chainjson.SearchRawTransactionsResult, error) + func (c *Client) SearchRawTransactionsVerboseAsync(address dcrutil.Address, skip, count int, includePrevOut bool, reverse bool, ...) FutureSearchRawTransactionsVerboseResult + func (c *Client) SendFrom(fromAccount string, toAddress dcrutil.Address, amount dcrutil.Amount) (*chainhash.Hash, error) + func (c *Client) SendFromAsync(fromAccount string, toAddress dcrutil.Address, amount dcrutil.Amount) FutureSendFromResult + func (c *Client) SendFromComment(fromAccount string, toAddress dcrutil.Address, amount dcrutil.Amount, ...) (*chainhash.Hash, error) + func (c *Client) SendFromCommentAsync(fromAccount string, toAddress dcrutil.Address, amount dcrutil.Amount, ...) FutureSendFromResult + func (c *Client) SendFromMinConf(fromAccount string, toAddress dcrutil.Address, amount dcrutil.Amount, ...) (*chainhash.Hash, error) + func (c *Client) SendFromMinConfAsync(fromAccount string, toAddress dcrutil.Address, amount dcrutil.Amount, ...) FutureSendFromResult + func (c *Client) SendMany(fromAccount string, amounts map[dcrutil.Address]dcrutil.Amount) (*chainhash.Hash, error) + func (c *Client) SendManyAsync(fromAccount string, amounts map[dcrutil.Address]dcrutil.Amount) FutureSendManyResult + func (c *Client) SendManyComment(fromAccount string, amounts map[dcrutil.Address]dcrutil.Amount, ...) (*chainhash.Hash, error) + func (c *Client) SendManyCommentAsync(fromAccount string, amounts map[dcrutil.Address]dcrutil.Amount, ...) FutureSendManyResult + func (c *Client) SendManyMinConf(fromAccount string, amounts map[dcrutil.Address]dcrutil.Amount, ...) (*chainhash.Hash, error) + func (c *Client) SendManyMinConfAsync(fromAccount string, amounts map[dcrutil.Address]dcrutil.Amount, ...) FutureSendManyResult + func (c *Client) SendRawTransaction(tx *wire.MsgTx, allowHighFees bool) (*chainhash.Hash, error) + func (c *Client) SendRawTransactionAsync(tx *wire.MsgTx, allowHighFees bool) FutureSendRawTransactionResult + func (c *Client) SendToAddress(address dcrutil.Address, amount dcrutil.Amount) (*chainhash.Hash, error) + func (c *Client) SendToAddressAsync(address dcrutil.Address, amount dcrutil.Amount) FutureSendToAddressResult + func (c *Client) SendToAddressComment(address dcrutil.Address, amount dcrutil.Amount, comment, commentTo string) (*chainhash.Hash, error) + func (c *Client) SendToAddressCommentAsync(address dcrutil.Address, amount dcrutil.Amount, comment, commentTo string) FutureSendToAddressResult + func (c *Client) Session() (*chainjson.SessionResult, error) + func (c *Client) SessionAsync() FutureSessionResult + func (c *Client) SetGenerate(enable bool, numCPUs int) error + func (c *Client) SetGenerateAsync(enable bool, numCPUs int) FutureSetGenerateResult + func (c *Client) SetTicketFee(fee dcrutil.Amount) error + func (c *Client) SetTicketFeeAsync(fee dcrutil.Amount) FutureSetTicketFeeResult + func (c *Client) SetTxFee(fee dcrutil.Amount) error + func (c *Client) SetTxFeeAsync(fee dcrutil.Amount) FutureSetTxFeeResult + func (c *Client) SetVoteChoice(agendaID, choiceID string) error + func (c *Client) SetVoteChoiceAsync(agendaID, choiceID string) FutureSetVoteChoiceResult + func (c *Client) Shutdown() + func (c *Client) SignMessage(address dcrutil.Address, message string) (string, error) + func (c *Client) SignMessageAsync(address dcrutil.Address, message string) FutureSignMessageResult + func (c *Client) SignRawSSGenTx(tx *wire.MsgTx) (*wire.MsgTx, bool, error) + func (c *Client) SignRawSSGenTxAsync(tx *wire.MsgTx) FutureSignRawTransactionResult + func (c *Client) SignRawTransaction(tx *wire.MsgTx) (*wire.MsgTx, bool, error) + func (c *Client) SignRawTransaction2(tx *wire.MsgTx, inputs []walletjson.RawTxInput) (*wire.MsgTx, bool, error) + func (c *Client) SignRawTransaction2Async(tx *wire.MsgTx, inputs []walletjson.RawTxInput) FutureSignRawTransactionResult + func (c *Client) SignRawTransaction3(tx *wire.MsgTx, inputs []walletjson.RawTxInput, privKeysWIF []string) (*wire.MsgTx, bool, error) + func (c *Client) SignRawTransaction3Async(tx *wire.MsgTx, inputs []walletjson.RawTxInput, privKeysWIF []string) FutureSignRawTransactionResult + func (c *Client) SignRawTransaction4(tx *wire.MsgTx, inputs []walletjson.RawTxInput, privKeysWIF []string, ...) (*wire.MsgTx, bool, error) + func (c *Client) SignRawTransaction4Async(tx *wire.MsgTx, inputs []walletjson.RawTxInput, privKeysWIF []string, ...) FutureSignRawTransactionResult + func (c *Client) SignRawTransactionAsync(tx *wire.MsgTx) FutureSignRawTransactionResult + func (c *Client) StakePoolUserInfo(addr dcrutil.Address) (*walletjson.StakePoolUserInfoResult, error) + func (c *Client) StakePoolUserInfoAsync(addr dcrutil.Address) FutureStakePoolUserInfoResult + func (c *Client) String() string + func (c *Client) SubmitBlock(block *dcrutil.Block, options *chainjson.SubmitBlockOptions) error + func (c *Client) SubmitBlockAsync(block *dcrutil.Block, options *chainjson.SubmitBlockOptions) FutureSubmitBlockResult + func (c *Client) TicketFeeInfo(blocks *uint32, windows *uint32) (*chainjson.TicketFeeInfoResult, error) + func (c *Client) TicketFeeInfoAsync(blocks *uint32, windows *uint32) FutureTicketFeeInfoResult + func (c *Client) TicketVWAP(start *uint32, end *uint32) (dcrutil.Amount, error) + func (c *Client) TicketVWAPAsync(start *uint32, end *uint32) FutureTicketVWAPResult + func (c *Client) TicketsForAddress(addr dcrutil.Address) (*chainjson.TicketsForAddressResult, error) + func (c *Client) TicketsForAddressAsync(addr dcrutil.Address) FutureTicketsForAddressResult + func (c *Client) TxFeeInfo(blocks *uint32, start *uint32, end *uint32) (*chainjson.TxFeeInfoResult, error) + func (c *Client) TxFeeInfoAsync(blocks *uint32, start *uint32, end *uint32) FutureTxFeeInfoResult + func (c *Client) ValidateAddress(address dcrutil.Address) (*walletjson.ValidateAddressWalletResult, error) + func (c *Client) ValidateAddressAsync(address dcrutil.Address) FutureValidateAddressResult + func (c *Client) VerifyChain() (bool, error) + func (c *Client) VerifyChainAsync() FutureVerifyChainResult + func (c *Client) VerifyChainBlocks(checkLevel, numBlocks int64) (bool, error) + func (c *Client) VerifyChainBlocksAsync(checkLevel, numBlocks int64) FutureVerifyChainResult + func (c *Client) VerifyChainLevel(checkLevel int64) (bool, error) + func (c *Client) VerifyChainLevelAsync(checkLevel int64) FutureVerifyChainResult + func (c *Client) VerifyMessage(address dcrutil.Address, signature, message string) (bool, error) + func (c *Client) VerifyMessageAsync(address dcrutil.Address, signature, message string) FutureVerifyMessageResult + func (c *Client) Version() (map[string]chainjson.VersionResult, error) + func (c *Client) VersionAsync() FutureVersionResult + func (c *Client) WaitForShutdown() + func (c *Client) WalletInfo() (*walletjson.WalletInfoResult, error) + func (c *Client) WalletInfoAsync() FutureWalletInfoResult + func (c *Client) WalletLock() error + func (c *Client) WalletLockAsync() FutureWalletLockResult + func (c *Client) WalletPassphrase(passphrase string, timeoutSecs int64) error + func (c *Client) WalletPassphraseChange(old, new string) error + func (c *Client) WalletPassphraseChangeAsync(old, new string) FutureWalletPassphraseChangeResult + type ConnConfig struct + Certificates []byte + DisableAutoReconnect bool + DisableConnectOnNew bool + DisableTLS bool + Endpoint string + HTTPPostMode bool + Host string + Pass string + Proxy string + ProxyPass string + ProxyUser string + User string + type FutureAccountAddressIndexResult chan *response + func (r FutureAccountAddressIndexResult) Receive() (int, error) + type FutureAccountSyncAddressIndexResult chan *response + func (r FutureAccountSyncAddressIndexResult) Receive() error + type FutureAddMultisigAddressResult chan *response + func (r FutureAddMultisigAddressResult) Receive(net dcrutil.AddressParams) (dcrutil.Address, error) + type FutureAddNodeResult chan *response + func (r FutureAddNodeResult) Receive() error + type FutureAddTicketResult chan *response + func (r FutureAddTicketResult) Receive() error + type FutureCreateEncryptedWalletResult chan *response + func (r FutureCreateEncryptedWalletResult) Receive() error + type FutureCreateMultisigResult chan *response + func (r FutureCreateMultisigResult) Receive() (*walletjson.CreateMultiSigResult, error) + type FutureCreateNewAccountResult chan *response + func (r FutureCreateNewAccountResult) Receive() error + type FutureCreateRawSSRtxResult chan *response + func (r FutureCreateRawSSRtxResult) Receive() (*wire.MsgTx, error) + type FutureCreateRawSStxResult chan *response + func (r FutureCreateRawSStxResult) Receive() (*wire.MsgTx, error) + type FutureCreateRawTransactionResult chan *response + func (r FutureCreateRawTransactionResult) Receive() (*wire.MsgTx, error) + type FutureDebugLevelResult chan *response + func (r FutureDebugLevelResult) Receive() (string, error) + type FutureDecodeRawTransactionResult chan *response + func (r FutureDecodeRawTransactionResult) Receive() (*chainjson.TxRawResult, error) + type FutureDumpPrivKeyResult chan *response + func (r FutureDumpPrivKeyResult) Receive(net [2]byte) (*dcrutil.WIF, error) + type FutureEstimateSmartFeeResult chan *response + func (r FutureEstimateSmartFeeResult) Receive() (float64, error) + type FutureEstimateStakeDiffResult chan *response + func (r FutureEstimateStakeDiffResult) Receive() (*chainjson.EstimateStakeDiffResult, error) + type FutureExistsAddressResult chan *response + func (r FutureExistsAddressResult) Receive() (bool, error) + type FutureExistsAddressesResult chan *response + func (r FutureExistsAddressesResult) Receive() (string, error) + type FutureExistsExpiredTicketsResult chan *response + func (r FutureExistsExpiredTicketsResult) Receive() (string, error) + type FutureExistsLiveTicketResult chan *response + func (r FutureExistsLiveTicketResult) Receive() (bool, error) + type FutureExistsLiveTicketsResult chan *response + func (r FutureExistsLiveTicketsResult) Receive() (string, error) + type FutureExistsMempoolTxsResult chan *response + func (r FutureExistsMempoolTxsResult) Receive() (string, error) + type FutureExistsMissedTicketsResult chan *response + func (r FutureExistsMissedTicketsResult) Receive() (string, error) + type FutureExportWatchingWalletResult chan *response + func (r FutureExportWatchingWalletResult) Receive() ([]byte, []byte, error) + type FutureFundRawTransactionResult chan *response + func (r FutureFundRawTransactionResult) Receive() (*walletjson.FundRawTransactionResult, error) + type FutureGenerateResult chan *response + func (r FutureGenerateResult) Receive() ([]*chainhash.Hash, error) + type FutureGenerateVoteResult chan *response + func (r FutureGenerateVoteResult) Receive() (*walletjson.GenerateVoteResult, error) + type FutureGetAccountAddressResult chan *response + func (r FutureGetAccountAddressResult) Receive(net dcrutil.AddressParams) (dcrutil.Address, error) + type FutureGetAccountResult chan *response + func (r FutureGetAccountResult) Receive() (string, error) + type FutureGetAddedNodeInfoNoDNSResult chan *response + func (r FutureGetAddedNodeInfoNoDNSResult) Receive() ([]string, error) + type FutureGetAddedNodeInfoResult chan *response + func (r FutureGetAddedNodeInfoResult) Receive() ([]chainjson.GetAddedNodeInfoResult, error) + type FutureGetAddressesByAccountResult chan *response + func (r FutureGetAddressesByAccountResult) Receive(net dcrutil.AddressParams) ([]dcrutil.Address, error) + type FutureGetBalanceResult chan *response + func (r FutureGetBalanceResult) Receive() (*walletjson.GetBalanceResult, error) + type FutureGetBestBlockHashResult chan *response + func (r FutureGetBestBlockHashResult) Receive() (*chainhash.Hash, error) + type FutureGetBestBlockResult chan *response + func (r FutureGetBestBlockResult) Receive() (*chainhash.Hash, int64, error) + type FutureGetBlockChainInfoResult chan *response + func (r FutureGetBlockChainInfoResult) Receive() (*chainjson.GetBlockChainInfoResult, error) + type FutureGetBlockCountResult chan *response + func (r FutureGetBlockCountResult) Receive() (int64, error) + type FutureGetBlockHashResult chan *response + func (r FutureGetBlockHashResult) Receive() (*chainhash.Hash, error) + type FutureGetBlockHeaderResult chan *response + func (r FutureGetBlockHeaderResult) Receive() (*wire.BlockHeader, error) + type FutureGetBlockHeaderVerboseResult chan *response + func (r FutureGetBlockHeaderVerboseResult) Receive() (*chainjson.GetBlockHeaderVerboseResult, error) + type FutureGetBlockResult chan *response + func (r FutureGetBlockResult) Receive() (*wire.MsgBlock, error) + type FutureGetBlockSubsidyResult chan *response + func (r FutureGetBlockSubsidyResult) Receive() (*chainjson.GetBlockSubsidyResult, error) + type FutureGetBlockTemplate chan *response + func (r FutureGetBlockTemplate) Receive() (*chainjson.GetBlockTemplateResult, error) + type FutureGetBlockVerboseResult chan *response + func (r FutureGetBlockVerboseResult) Receive() (*chainjson.GetBlockVerboseResult, error) + type FutureGetCFilterHeaderResult chan *response + func (r FutureGetCFilterHeaderResult) Receive() (*chainhash.Hash, error) + type FutureGetCFilterResult chan *response + func (r FutureGetCFilterResult) Receive() (*gcs.Filter, error) + type FutureGetChainTipsResult chan *response + func (r FutureGetChainTipsResult) Receive() ([]chainjson.GetChainTipsResult, error) + type FutureGetCoinSupplyResult chan *response + func (r FutureGetCoinSupplyResult) Receive() (dcrutil.Amount, error) + type FutureGetConnectionCountResult chan *response + func (r FutureGetConnectionCountResult) Receive() (int64, error) + type FutureGetCurrentNetResult chan *response + func (r FutureGetCurrentNetResult) Receive() (wire.CurrencyNet, error) + type FutureGetDifficultyResult chan *response + func (r FutureGetDifficultyResult) Receive() (float64, error) + type FutureGetGenerateResult chan *response + func (r FutureGetGenerateResult) Receive() (bool, error) + type FutureGetHashesPerSecResult chan *response + func (r FutureGetHashesPerSecResult) Receive() (int64, error) + type FutureGetHeadersResult chan *response + func (r FutureGetHeadersResult) Receive() (*chainjson.GetHeadersResult, error) + type FutureGetInfoResult chan *response + func (r FutureGetInfoResult) Receive() (*walletjson.InfoWalletResult, error) + type FutureGetMasterPubkeyResult chan *response + func (r FutureGetMasterPubkeyResult) Receive(net hdkeychain.NetworkParams) (*hdkeychain.ExtendedKey, error) + type FutureGetMiningInfoResult chan *response + func (r FutureGetMiningInfoResult) Receive() (*chainjson.GetMiningInfoResult, error) + type FutureGetNetTotalsResult chan *response + func (r FutureGetNetTotalsResult) Receive() (*chainjson.GetNetTotalsResult, error) + type FutureGetNetworkHashPS chan *response + func (r FutureGetNetworkHashPS) Receive() (int64, error) + type FutureGetNewAddressResult chan *response + func (r FutureGetNewAddressResult) Receive(net dcrutil.AddressParams) (dcrutil.Address, error) + type FutureGetPeerInfoResult chan *response + func (r FutureGetPeerInfoResult) Receive() ([]chainjson.GetPeerInfoResult, error) + type FutureGetRawChangeAddressResult chan *response + func (r FutureGetRawChangeAddressResult) Receive(net dcrutil.AddressParams) (dcrutil.Address, error) + type FutureGetRawMempoolResult chan *response + func (r FutureGetRawMempoolResult) Receive() ([]*chainhash.Hash, error) + type FutureGetRawMempoolVerboseResult chan *response + func (r FutureGetRawMempoolVerboseResult) Receive() (map[string]chainjson.GetRawMempoolVerboseResult, error) + type FutureGetRawTransactionResult chan *response + func (r FutureGetRawTransactionResult) Receive() (*dcrutil.Tx, error) + type FutureGetRawTransactionVerboseResult chan *response + func (r FutureGetRawTransactionVerboseResult) Receive() (*chainjson.TxRawResult, error) + type FutureGetReceivedByAccountResult chan *response + func (r FutureGetReceivedByAccountResult) Receive() (dcrutil.Amount, error) + type FutureGetReceivedByAddressResult chan *response + func (r FutureGetReceivedByAddressResult) Receive() (dcrutil.Amount, error) + type FutureGetStakeDifficultyResult chan *response + func (r FutureGetStakeDifficultyResult) Receive() (*chainjson.GetStakeDifficultyResult, error) + type FutureGetStakeInfoResult chan *response + func (r FutureGetStakeInfoResult) Receive() (*walletjson.GetStakeInfoResult, error) + type FutureGetStakeVersionInfoResult chan *response + func (r FutureGetStakeVersionInfoResult) Receive() (*chainjson.GetStakeVersionInfoResult, error) + type FutureGetStakeVersionsResult chan *response + func (r FutureGetStakeVersionsResult) Receive() (*chainjson.GetStakeVersionsResult, error) + type FutureGetTicketPoolValueResult chan *response + func (r FutureGetTicketPoolValueResult) Receive() (dcrutil.Amount, error) + type FutureGetTicketsResult chan *response + func (r FutureGetTicketsResult) Receive() ([]*chainhash.Hash, error) + type FutureGetTransactionResult chan *response + func (r FutureGetTransactionResult) Receive() (*walletjson.GetTransactionResult, error) + type FutureGetTxOutResult chan *response + func (r FutureGetTxOutResult) Receive() (*chainjson.GetTxOutResult, error) + type FutureGetUnconfirmedBalanceResult chan *response + func (r FutureGetUnconfirmedBalanceResult) Receive() (dcrutil.Amount, error) + type FutureGetVoteChoicesResult chan *response + func (r FutureGetVoteChoicesResult) Receive() (*walletjson.GetVoteChoicesResult, error) + type FutureGetVoteInfoResult chan *response + func (r FutureGetVoteInfoResult) Receive() (*chainjson.GetVoteInfoResult, error) + type FutureGetWork chan *response + func (r FutureGetWork) Receive() (*chainjson.GetWorkResult, error) + type FutureGetWorkSubmit chan *response + func (r FutureGetWorkSubmit) Receive() (bool, error) + type FutureImportPrivKeyResult chan *response + func (r FutureImportPrivKeyResult) Receive() error + type FutureImportScriptResult chan *response + func (r FutureImportScriptResult) Receive() error + type FutureKeyPoolRefillResult chan *response + func (r FutureKeyPoolRefillResult) Receive() error + type FutureListAccountsResult chan *response + func (r FutureListAccountsResult) Receive() (map[string]dcrutil.Amount, error) + type FutureListAddressTransactionsResult chan *response + func (r FutureListAddressTransactionsResult) Receive() ([]walletjson.ListTransactionsResult, error) + type FutureListLockUnspentResult chan *response + func (r FutureListLockUnspentResult) Receive() ([]*wire.OutPoint, error) + type FutureListReceivedByAccountResult chan *response + func (r FutureListReceivedByAccountResult) Receive() ([]walletjson.ListReceivedByAccountResult, error) + type FutureListReceivedByAddressResult chan *response + func (r FutureListReceivedByAddressResult) Receive() ([]walletjson.ListReceivedByAddressResult, error) + type FutureListScriptsResult chan *response + func (r FutureListScriptsResult) Receive() ([][]byte, error) + type FutureListSinceBlockResult chan *response + func (r FutureListSinceBlockResult) Receive() (*walletjson.ListSinceBlockResult, error) + type FutureListTransactionsResult chan *response + func (r FutureListTransactionsResult) Receive() ([]walletjson.ListTransactionsResult, error) + type FutureListUnspentResult chan *response + func (r FutureListUnspentResult) Receive() ([]walletjson.ListUnspentResult, error) + type FutureLiveTicketsResult chan *response + func (r FutureLiveTicketsResult) Receive() ([]*chainhash.Hash, error) + type FutureLoadTxFilterResult chan *response + func (r FutureLoadTxFilterResult) Receive() error + type FutureLockUnspentResult chan *response + func (r FutureLockUnspentResult) Receive() error + type FutureMissedTicketsResult chan *response + func (r FutureMissedTicketsResult) Receive() ([]*chainhash.Hash, error) + type FutureMoveResult chan *response + func (r FutureMoveResult) Receive() (bool, error) + type FutureNotifyBlocksResult chan *response + func (r FutureNotifyBlocksResult) Receive() error + type FutureNotifyNewTicketsResult chan *response + func (r FutureNotifyNewTicketsResult) Receive() error + type FutureNotifyNewTransactionsResult chan *response + func (r FutureNotifyNewTransactionsResult) Receive() error + type FutureNotifySpentAndMissedTicketsResult chan *response + func (r FutureNotifySpentAndMissedTicketsResult) Receive() error + type FutureNotifyStakeDifficultyResult chan *response + func (r FutureNotifyStakeDifficultyResult) Receive() error + type FutureNotifyWinningTicketsResult chan *response + func (r FutureNotifyWinningTicketsResult) Receive() error + type FuturePingResult chan *response + func (r FuturePingResult) Receive() error + type FuturePurchaseTicketResult chan *response + func (r FuturePurchaseTicketResult) Receive() ([]*chainhash.Hash, error) + type FutureRawResult chan *response + func (r FutureRawResult) Receive() (json.RawMessage, error) + type FutureRenameAccountResult chan *response + func (r FutureRenameAccountResult) Receive() error + type FutureRescanResult chan *response + func (r FutureRescanResult) Receive() (*chainjson.RescanResult, error) + type FutureRevokeTicketsResult chan *response + func (r FutureRevokeTicketsResult) Receive() error + type FutureSearchRawTransactionsResult chan *response + func (r FutureSearchRawTransactionsResult) Receive() ([]*wire.MsgTx, error) + type FutureSearchRawTransactionsVerboseResult chan *response + func (r FutureSearchRawTransactionsVerboseResult) Receive() ([]*chainjson.SearchRawTransactionsResult, error) + type FutureSendFromResult chan *response + func (r FutureSendFromResult) Receive() (*chainhash.Hash, error) + type FutureSendManyResult chan *response + func (r FutureSendManyResult) Receive() (*chainhash.Hash, error) + type FutureSendRawTransactionResult chan *response + func (r FutureSendRawTransactionResult) Receive() (*chainhash.Hash, error) + type FutureSendToAddressResult chan *response + func (r FutureSendToAddressResult) Receive() (*chainhash.Hash, error) + type FutureSessionResult chan *response + func (r FutureSessionResult) Receive() (*chainjson.SessionResult, error) + type FutureSetGenerateResult chan *response + func (r FutureSetGenerateResult) Receive() error + type FutureSetTicketFeeResult chan *response + func (r FutureSetTicketFeeResult) Receive() error + type FutureSetTxFeeResult chan *response + func (r FutureSetTxFeeResult) Receive() error + type FutureSetVoteChoiceResult chan *response + func (r FutureSetVoteChoiceResult) Receive() error + type FutureSignMessageResult chan *response + func (r FutureSignMessageResult) Receive() (string, error) + type FutureSignRawTransactionResult chan *response + func (r FutureSignRawTransactionResult) Receive() (*wire.MsgTx, bool, error) + type FutureStakePoolUserInfoResult chan *response + func (r FutureStakePoolUserInfoResult) Receive() (*walletjson.StakePoolUserInfoResult, error) + type FutureSubmitBlockResult chan *response + func (r FutureSubmitBlockResult) Receive() error + type FutureTicketFeeInfoResult chan *response + func (r FutureTicketFeeInfoResult) Receive() (*chainjson.TicketFeeInfoResult, error) + type FutureTicketVWAPResult chan *response + func (r FutureTicketVWAPResult) Receive() (dcrutil.Amount, error) + type FutureTicketsForAddressResult chan *response + func (r FutureTicketsForAddressResult) Receive() (*chainjson.TicketsForAddressResult, error) + type FutureTxFeeInfoResult chan *response + func (r FutureTxFeeInfoResult) Receive() (*chainjson.TxFeeInfoResult, error) + type FutureValidateAddressResult chan *response + func (r FutureValidateAddressResult) Receive() (*walletjson.ValidateAddressWalletResult, error) + type FutureVerifyChainResult chan *response + func (r FutureVerifyChainResult) Receive() (bool, error) + type FutureVerifyMessageResult chan *response + func (r FutureVerifyMessageResult) Receive() (bool, error) + type FutureVersionResult chan *response + func (r FutureVersionResult) Receive() (map[string]chainjson.VersionResult, error) + type FutureWalletInfoResult chan *response + func (r FutureWalletInfoResult) Receive() (*walletjson.WalletInfoResult, error) + type FutureWalletLockResult chan *response + func (r FutureWalletLockResult) Receive() error + type FutureWalletPassphraseChangeResult chan *response + func (r FutureWalletPassphraseChangeResult) Receive() error + type GapPolicy string + const GapPolicyError + const GapPolicyIgnore + const GapPolicyWrap + type NotificationHandlers struct + OnAccountBalance func(account string, balance dcrutil.Amount, confirmed bool) + OnBlockConnected func(blockHeader []byte, transactions [][]byte) + OnBlockDisconnected func(blockHeader []byte) + OnClientConnected func() + OnDcrdConnected func(connected bool) + OnNewTickets func(hash *chainhash.Hash, height int64, stakeDiff int64, tickets []*chainhash.Hash) + OnRelevantTxAccepted func(transaction []byte) + OnReorganization func(oldHash *chainhash.Hash, oldHeight int32, newHash *chainhash.Hash, ...) + OnRevocationsCreated func(txHash *chainhash.Hash, sstxIn *chainhash.Hash) + OnSpentAndMissedTickets func(hash *chainhash.Hash, height int64, stakeDiff int64, ...) + OnStakeDifficulty func(hash *chainhash.Hash, height int64, stakeDiff int64) + OnTicketsPurchased func(TxHash *chainhash.Hash, amount dcrutil.Amount) + OnTxAccepted func(hash *chainhash.Hash, amount dcrutil.Amount) + OnTxAcceptedVerbose func(txDetails *chainjson.TxRawResult) + OnUnknownNotification func(method string, params []json.RawMessage) + OnVotesCreated func(txHash *chainhash.Hash, blockHash *chainhash.Hash, height int32, ...) + OnWalletLockState func(locked bool) + OnWinningTickets func(blockHash *chainhash.Hash, blockHeight int64, tickets []*chainhash.Hash) + type SStxCommitOut struct + Addr dcrutil.Address + ChangeAddr dcrutil.Address + ChangeAmt dcrutil.Amount + CommitAmt dcrutil.Amount + type SigHashType string + const SigHashAll + const SigHashAllAnyoneCanPay + const SigHashNone + const SigHashNoneAnyoneCanPay + const SigHashSingle + const SigHashSingleAnyoneCanPay + func (s SigHashType) String() string Other modules containing this package github.com/decred/dcrd/rpcclient github.com/decred/dcrd/rpcclient/v2 github.com/decred/dcrd/rpcclient/v3 github.com/decred/dcrd/rpcclient/v5 github.com/decred/dcrd/rpcclient/v6 github.com/decred/dcrd/rpcclient/v7 github.com/decred/dcrd/rpcclient/v8