Versions in this module Expand all Collapse all v1 v1.0.0 Oct 4, 2022 Changes in this version + var ErrClientShutdown = errors.New("the client has been shutdown") + func DisableLog() + func UseLogger(logger btclog.Logger) + type AddNodeCommand string + const ANAdd + const ANOneTry + const ANRemove + func (cmd AddNodeCommand) String() string + type Client struct + func New(config *ConnConfig) (*Client, error) + func (c *Client) AddMultisigAddress(requiredSigs int, addresses []btcutil.Address, account string) (btcutil.Address, error) + func (c *Client) AddMultisigAddressAsync(requiredSigs int, addresses []btcutil.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) AddWitnessAddress(address string) (btcutil.Address, error) + func (c *Client) AddWitnessAddressAsync(address string) FutureAddWitnessAddressResult + func (c *Client) CreateMultisig(requiredSigs int, addresses []btcutil.Address) (*btcjson.CreateMultiSigResult, error) + func (c *Client) CreateMultisigAsync(requiredSigs int, addresses []btcutil.Address) FutureCreateMultisigResult + func (c *Client) CreateNewAccount(account string) error + func (c *Client) CreateNewAccountAsync(account string) FutureCreateNewAccountResult + func (c *Client) CreateRawTransaction(inputs []btcjson.TransactionInput, amounts map[btcutil.Address]btcutil.Amount, ...) (*wire.MsgTx, error) + func (c *Client) CreateRawTransactionAsync(inputs []btcjson.TransactionInput, amounts map[btcutil.Address]btcutil.Amount, ...) FutureCreateRawTransactionResult + func (c *Client) DecodeRawTransaction(serializedTx []byte) (*btcjson.TxRawResult, error) + func (c *Client) DecodeRawTransactionAsync(serializedTx []byte) FutureDecodeRawTransactionResult + func (c *Client) DecodeScript(serializedScript []byte) (*btcjson.DecodeScriptResult, error) + func (c *Client) DecodeScriptAsync(serializedScript []byte) FutureDecodeScriptResult + func (c *Client) DumpPrivKey(address btcutil.Address) (*btcutil.WIF, error) + func (c *Client) DumpPrivKeyAsync(address btcutil.Address) FutureDumpPrivKeyResult + func (c *Client) EstimateFee(numBlocks int64) (float64, error) + func (c *Client) EstimateFeeAsync(numBlocks int64) FutureEstimateFeeResult + func (c *Client) EstimateSmartFee(confTarget uint32) (*btcjson.EstimateSmartFeeResult, error) + func (c *Client) EstimateSmartFeeAsync(confTarget uint32, estimateMode btcjson.EstimateMode) FutureEstimateSmartFeeResult + func (c *Client) EstimateSmartFeeWithMode(confTarget uint32, estimateMode btcjson.EstimateMode) (*btcjson.EstimateSmartFeeResult, error) + func (c *Client) Generate(numBlocks uint32) ([]*chainhash.Hash, error) + func (c *Client) GenerateAsync(numBlocks uint32) FutureGenerateResult + func (c *Client) GetAccount(address btcutil.Address) (string, error) + func (c *Client) GetAccountAddress(account string) (btcutil.Address, error) + func (c *Client) GetAccountAddressAsync(account string) FutureGetAccountAddressResult + func (c *Client) GetAccountAsync(address btcutil.Address) FutureGetAccountResult + func (c *Client) GetAddedNodeInfo(peer string) ([]btcjson.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) ([]btcutil.Address, error) + func (c *Client) GetAddressesByAccountAsync(account string) FutureGetAddressesByAccountResult + func (c *Client) GetBalance(account string) (btcutil.Amount, error) + func (c *Client) GetBalanceAsync(account string) FutureGetBalanceResult + func (c *Client) GetBalanceMinConf(account string, minConfirms int) (btcutil.Amount, error) + func (c *Client) GetBalanceMinConfAsync(account string, minConfirms int) FutureGetBalanceResult + 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() (*btcjson.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(blockHash *chainhash.Hash) (*wire.BlockHeader, error) + func (c *Client) GetBlockHeaderAsync(blockHash *chainhash.Hash) FutureGetBlockHeaderResult + func (c *Client) GetBlockHeaderVerbose(blockHash *chainhash.Hash) (*btcjson.GetBlockHeaderVerboseResult, error) + func (c *Client) GetBlockHeaderVerboseAsync(blockHash *chainhash.Hash) FutureGetBlockHeaderVerboseResult + func (c *Client) GetBlockVerbose(blockHash *chainhash.Hash) (*btcjson.GetBlockVerboseResult, error) + func (c *Client) GetBlockVerboseAsync(blockHash *chainhash.Hash) FutureGetBlockVerboseResult + func (c *Client) GetBlockVerboseTx(blockHash *chainhash.Hash) (*btcjson.GetBlockVerboseResult, error) + func (c *Client) GetBlockVerboseTxAsync(blockHash *chainhash.Hash) FutureGetBlockVerboseResult + func (c *Client) GetCFilter(blockHash *chainhash.Hash, filterType wire.FilterType) (*wire.MsgCFilter, error) + func (c *Client) GetCFilterAsync(blockHash *chainhash.Hash, filterType wire.FilterType) FutureGetCFilterResult + func (c *Client) GetCFilterHeader(blockHash *chainhash.Hash, filterType wire.FilterType) (*wire.MsgCFHeaders, error) + func (c *Client) GetCFilterHeaderAsync(blockHash *chainhash.Hash, filterType wire.FilterType) FutureGetCFilterHeaderResult + func (c *Client) GetConnectionCount() (int64, error) + func (c *Client) GetConnectionCountAsync() FutureGetConnectionCountResult + 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) GetInfo() (*btcjson.InfoWalletResult, error) + func (c *Client) GetInfoAsync() FutureGetInfoResult + func (c *Client) GetMempoolEntry(txHash string) (*btcjson.GetMempoolEntryResult, error) + func (c *Client) GetMempoolEntryAsync(txHash string) FutureGetMempoolEntryResult + func (c *Client) GetMiningInfo() (*btcjson.GetMiningInfoResult, error) + func (c *Client) GetMiningInfoAsync() FutureGetMiningInfoResult + func (c *Client) GetNetTotals() (*btcjson.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) (btcutil.Address, error) + func (c *Client) GetNewAddressAsync(account string) FutureGetNewAddressResult + func (c *Client) GetPeerInfo() ([]btcjson.GetPeerInfoResult, error) + func (c *Client) GetPeerInfoAsync() FutureGetPeerInfoResult + func (c *Client) GetRawChangeAddress(account string) (btcutil.Address, error) + func (c *Client) GetRawChangeAddressAsync(account string) FutureGetRawChangeAddressResult + func (c *Client) GetRawMempool() ([]*chainhash.Hash, error) + func (c *Client) GetRawMempoolAsync() FutureGetRawMempoolResult + func (c *Client) GetRawMempoolVerbose() (map[string]btcjson.GetRawMempoolVerboseResult, error) + func (c *Client) GetRawMempoolVerboseAsync() FutureGetRawMempoolVerboseResult + func (c *Client) GetRawTransaction(txHash *chainhash.Hash) (*btcutil.Tx, error) + func (c *Client) GetRawTransactionAsync(txHash *chainhash.Hash) FutureGetRawTransactionResult + func (c *Client) GetRawTransactionVerbose(txHash *chainhash.Hash) (*btcjson.TxRawResult, error) + func (c *Client) GetRawTransactionVerboseAsync(txHash *chainhash.Hash) FutureGetRawTransactionVerboseResult + func (c *Client) GetReceivedByAccount(account string) (btcutil.Amount, error) + func (c *Client) GetReceivedByAccountAsync(account string) FutureGetReceivedByAccountResult + func (c *Client) GetReceivedByAccountMinConf(account string, minConfirms int) (btcutil.Amount, error) + func (c *Client) GetReceivedByAccountMinConfAsync(account string, minConfirms int) FutureGetReceivedByAccountResult + func (c *Client) GetReceivedByAddress(address btcutil.Address) (btcutil.Amount, error) + func (c *Client) GetReceivedByAddressAsync(address btcutil.Address) FutureGetReceivedByAddressResult + func (c *Client) GetReceivedByAddressMinConf(address btcutil.Address, minConfirms int) (btcutil.Amount, error) + func (c *Client) GetReceivedByAddressMinConfAsync(address btcutil.Address, minConfirms int) FutureGetReceivedByAddressResult + func (c *Client) GetTransaction(txHash *chainhash.Hash) (*btcjson.GetTransactionResult, error) + func (c *Client) GetTransactionAsync(txHash *chainhash.Hash) FutureGetTransactionResult + func (c *Client) GetTxOut(txHash *chainhash.Hash, index uint32, mempool bool) (*btcjson.GetTxOutResult, error) + func (c *Client) GetTxOutAsync(txHash *chainhash.Hash, index uint32, mempool bool) FutureGetTxOutResult + func (c *Client) GetTxOutSetInfo() (*btcjson.GetTxOutSetInfoResult, error) + func (c *Client) GetTxOutSetInfoAsync() FutureGetTxOutSetInfoResult + func (c *Client) GetUnconfirmedBalance(account string) (btcutil.Amount, error) + func (c *Client) GetUnconfirmedBalanceAsync(account string) FutureGetUnconfirmedBalanceResult + func (c *Client) GetWork() (*btcjson.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) ImportAddress(address string) error + func (c *Client) ImportAddressAsync(address string) FutureImportAddressResult + func (c *Client) ImportAddressRescan(address string, rescan bool) error + func (c *Client) ImportAddressRescanAsync(address string, rescan bool) FutureImportAddressResult + func (c *Client) ImportPrivKey(privKeyWIF *btcutil.WIF) error + func (c *Client) ImportPrivKeyAsync(privKeyWIF *btcutil.WIF) FutureImportPrivKeyResult + func (c *Client) ImportPrivKeyLabel(privKeyWIF *btcutil.WIF, label string) error + func (c *Client) ImportPrivKeyLabelAsync(privKeyWIF *btcutil.WIF, label string) FutureImportPrivKeyResult + func (c *Client) ImportPrivKeyRescan(privKeyWIF *btcutil.WIF, label string, rescan bool) error + func (c *Client) ImportPrivKeyRescanAsync(privKeyWIF *btcutil.WIF, label string, rescan bool) FutureImportPrivKeyResult + func (c *Client) ImportPubKey(pubKey string) error + func (c *Client) ImportPubKeyAsync(pubKey string) FutureImportPubKeyResult + func (c *Client) ImportPubKeyRescan(pubKey string, rescan bool) error + func (c *Client) ImportPubKeyRescanAsync(pubKey string, rescan bool) FutureImportPubKeyResult + func (c *Client) InvalidateBlock(blockHash *chainhash.Hash) error + func (c *Client) InvalidateBlockAsync(blockHash *chainhash.Hash) FutureInvalidateBlockResult + 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]btcutil.Amount, error) + func (c *Client) ListAccountsAsync() FutureListAccountsResult + func (c *Client) ListAccountsMinConf(minConfirms int) (map[string]btcutil.Amount, error) + func (c *Client) ListAccountsMinConfAsync(minConfirms int) FutureListAccountsResult + func (c *Client) ListLockUnspent() ([]*wire.OutPoint, error) + func (c *Client) ListLockUnspentAsync() FutureListLockUnspentResult + func (c *Client) ListReceivedByAccount() ([]btcjson.ListReceivedByAccountResult, error) + func (c *Client) ListReceivedByAccountAsync() FutureListReceivedByAccountResult + func (c *Client) ListReceivedByAccountIncludeEmpty(minConfirms int, includeEmpty bool) ([]btcjson.ListReceivedByAccountResult, error) + func (c *Client) ListReceivedByAccountIncludeEmptyAsync(minConfirms int, includeEmpty bool) FutureListReceivedByAccountResult + func (c *Client) ListReceivedByAccountMinConf(minConfirms int) ([]btcjson.ListReceivedByAccountResult, error) + func (c *Client) ListReceivedByAccountMinConfAsync(minConfirms int) FutureListReceivedByAccountResult + func (c *Client) ListReceivedByAddress() ([]btcjson.ListReceivedByAddressResult, error) + func (c *Client) ListReceivedByAddressAsync() FutureListReceivedByAddressResult + func (c *Client) ListReceivedByAddressIncludeEmpty(minConfirms int, includeEmpty bool) ([]btcjson.ListReceivedByAddressResult, error) + func (c *Client) ListReceivedByAddressIncludeEmptyAsync(minConfirms int, includeEmpty bool) FutureListReceivedByAddressResult + func (c *Client) ListReceivedByAddressMinConf(minConfirms int) ([]btcjson.ListReceivedByAddressResult, error) + func (c *Client) ListReceivedByAddressMinConfAsync(minConfirms int) FutureListReceivedByAddressResult + func (c *Client) ListSinceBlock(blockHash *chainhash.Hash) (*btcjson.ListSinceBlockResult, error) + func (c *Client) ListSinceBlockAsync(blockHash *chainhash.Hash) FutureListSinceBlockResult + func (c *Client) ListSinceBlockMinConf(blockHash *chainhash.Hash, minConfirms int) (*btcjson.ListSinceBlockResult, error) + func (c *Client) ListSinceBlockMinConfAsync(blockHash *chainhash.Hash, minConfirms int) FutureListSinceBlockResult + func (c *Client) ListSinceBlockMinConfWatchOnly(blockHash *chainhash.Hash, minConfirms int, watchOnly *bool) (*btcjson.ListSinceBlockResult, error) + func (c *Client) ListSinceBlockMinConfWatchOnlyAsync(blockHash *chainhash.Hash, minConfirms int, watchOnly *bool) FutureListSinceBlockResult + func (c *Client) ListTransactions(account string) ([]btcjson.ListTransactionsResult, error) + func (c *Client) ListTransactionsAsync(account string) FutureListTransactionsResult + func (c *Client) ListTransactionsCount(account string, count int) ([]btcjson.ListTransactionsResult, error) + func (c *Client) ListTransactionsCountAsync(account string, count int) FutureListTransactionsResult + func (c *Client) ListTransactionsCountFrom(account string, count, from int) ([]btcjson.ListTransactionsResult, error) + func (c *Client) ListTransactionsCountFromAsync(account string, count, from int) FutureListTransactionsResult + func (c *Client) ListUnspent() ([]btcjson.ListUnspentResult, error) + func (c *Client) ListUnspentAsync() FutureListUnspentResult + func (c *Client) ListUnspentMin(minConf int) ([]btcjson.ListUnspentResult, error) + func (c *Client) ListUnspentMinAsync(minConf int) FutureListUnspentResult + func (c *Client) ListUnspentMinMax(minConf, maxConf int) ([]btcjson.ListUnspentResult, error) + func (c *Client) ListUnspentMinMaxAddresses(minConf, maxConf int, addrs []btcutil.Address) ([]btcjson.ListUnspentResult, error) + func (c *Client) ListUnspentMinMaxAddressesAsync(minConf, maxConf int, addrs []btcutil.Address) FutureListUnspentResult + func (c *Client) ListUnspentMinMaxAsync(minConf, maxConf int) FutureListUnspentResult + func (c *Client) LockUnspent(unlock bool, ops []*wire.OutPoint) error + func (c *Client) LockUnspentAsync(unlock bool, ops []*wire.OutPoint) FutureLockUnspentResult + func (c *Client) Move(fromAccount, toAccount string, amount btcutil.Amount) (bool, error) + func (c *Client) MoveAsync(fromAccount, toAccount string, amount btcutil.Amount) FutureMoveResult + func (c *Client) MoveComment(fromAccount, toAccount string, amount btcutil.Amount, minConf int, ...) (bool, error) + func (c *Client) MoveCommentAsync(fromAccount, toAccount string, amount btcutil.Amount, minConfirms int, ...) FutureMoveResult + func (c *Client) MoveMinConf(fromAccount, toAccount string, amount btcutil.Amount, minConf int) (bool, error) + func (c *Client) MoveMinConfAsync(fromAccount, toAccount string, amount btcutil.Amount, minConfirms int) FutureMoveResult + func (c *Client) NextID() uint64 + func (c *Client) Ping() error + func (c *Client) PingAsync() FuturePingResult + 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) SearchRawTransactions(address btcutil.Address, skip, count int, reverse bool, filterAddrs []string) ([]*wire.MsgTx, error) + func (c *Client) SearchRawTransactionsAsync(address btcutil.Address, skip, count int, reverse bool, filterAddrs []string) FutureSearchRawTransactionsResult + func (c *Client) SearchRawTransactionsVerbose(address btcutil.Address, skip, count int, includePrevOut, reverse bool, ...) ([]*btcjson.SearchRawTransactionsResult, error) + func (c *Client) SearchRawTransactionsVerboseAsync(address btcutil.Address, skip, count int, includePrevOut, reverse bool, ...) FutureSearchRawTransactionsVerboseResult + func (c *Client) SendFrom(fromAccount string, toAddress btcutil.Address, amount btcutil.Amount) (*chainhash.Hash, error) + func (c *Client) SendFromAsync(fromAccount string, toAddress btcutil.Address, amount btcutil.Amount) FutureSendFromResult + func (c *Client) SendFromComment(fromAccount string, toAddress btcutil.Address, amount btcutil.Amount, ...) (*chainhash.Hash, error) + func (c *Client) SendFromCommentAsync(fromAccount string, toAddress btcutil.Address, amount btcutil.Amount, ...) FutureSendFromResult + func (c *Client) SendFromMinConf(fromAccount string, toAddress btcutil.Address, amount btcutil.Amount, ...) (*chainhash.Hash, error) + func (c *Client) SendFromMinConfAsync(fromAccount string, toAddress btcutil.Address, amount btcutil.Amount, ...) FutureSendFromResult + func (c *Client) SendMany(fromAccount string, amounts map[btcutil.Address]btcutil.Amount) (*chainhash.Hash, error) + func (c *Client) SendManyAsync(fromAccount string, amounts map[btcutil.Address]btcutil.Amount) FutureSendManyResult + func (c *Client) SendManyComment(fromAccount string, amounts map[btcutil.Address]btcutil.Amount, ...) (*chainhash.Hash, error) + func (c *Client) SendManyCommentAsync(fromAccount string, amounts map[btcutil.Address]btcutil.Amount, ...) FutureSendManyResult + func (c *Client) SendManyMinConf(fromAccount string, amounts map[btcutil.Address]btcutil.Amount, ...) (*chainhash.Hash, error) + func (c *Client) SendManyMinConfAsync(fromAccount string, amounts map[btcutil.Address]btcutil.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 btcutil.Address, amount btcutil.Amount) (*chainhash.Hash, error) + func (c *Client) SendToAddressAsync(address btcutil.Address, amount btcutil.Amount) FutureSendToAddressResult + func (c *Client) SendToAddressComment(address btcutil.Address, amount btcutil.Amount, comment, commentTo string) (*chainhash.Hash, error) + func (c *Client) SendToAddressCommentAsync(address btcutil.Address, amount btcutil.Amount, comment, commentTo string) FutureSendToAddressResult + func (c *Client) SetAccount(address btcutil.Address, account string) error + func (c *Client) SetAccountAsync(address btcutil.Address, account string) FutureSetAccountResult + func (c *Client) SetGenerate(enable bool, numCPUs int) error + func (c *Client) SetGenerateAsync(enable bool, numCPUs int) FutureSetGenerateResult + func (c *Client) SetTxFee(fee btcutil.Amount) error + func (c *Client) SetTxFeeAsync(fee btcutil.Amount) FutureSetTxFeeResult + func (c *Client) Shutdown() + func (c *Client) SignMessage(address btcutil.Address, message string) (string, error) + func (c *Client) SignMessageAsync(address btcutil.Address, message string) FutureSignMessageResult + func (c *Client) SignRawTransaction(tx *wire.MsgTx) (*wire.MsgTx, bool, error) + func (c *Client) SignRawTransaction2(tx *wire.MsgTx, inputs []btcjson.RawTxInput) (*wire.MsgTx, bool, error) + func (c *Client) SignRawTransaction2Async(tx *wire.MsgTx, inputs []btcjson.RawTxInput) FutureSignRawTransactionResult + func (c *Client) SignRawTransaction3(tx *wire.MsgTx, inputs []btcjson.RawTxInput, privKeysWIF []string) (*wire.MsgTx, bool, error) + func (c *Client) SignRawTransaction3Async(tx *wire.MsgTx, inputs []btcjson.RawTxInput, privKeysWIF []string) FutureSignRawTransactionResult + func (c *Client) SignRawTransaction4(tx *wire.MsgTx, inputs []btcjson.RawTxInput, privKeysWIF []string, ...) (*wire.MsgTx, bool, error) + func (c *Client) SignRawTransaction4Async(tx *wire.MsgTx, inputs []btcjson.RawTxInput, privKeysWIF []string, ...) FutureSignRawTransactionResult + func (c *Client) SignRawTransactionAsync(tx *wire.MsgTx) FutureSignRawTransactionResult + func (c *Client) SubmitBlock(block *btcutil.Block, options *btcjson.SubmitBlockOptions) error + func (c *Client) SubmitBlockAsync(block *btcutil.Block, options *btcjson.SubmitBlockOptions) FutureSubmitBlockResult + func (c *Client) ValidateAddress(address btcutil.Address) (*btcjson.ValidateAddressWalletResult, error) + func (c *Client) ValidateAddressAsync(address btcutil.Address) FutureValidateAddressResult + func (c *Client) VerifyChain() (bool, error) + func (c *Client) VerifyChainAsync() FutureVerifyChainResult + func (c *Client) VerifyChainBlocks(checkLevel, numBlocks int32) (bool, error) + func (c *Client) VerifyChainBlocksAsync(checkLevel, numBlocks int32) FutureVerifyChainResult + func (c *Client) VerifyChainLevel(checkLevel int32) (bool, error) + func (c *Client) VerifyChainLevelAsync(checkLevel int32) FutureVerifyChainResult + func (c *Client) VerifyMessage(address btcutil.Address, signature, message string) (bool, error) + func (c *Client) VerifyMessageAsync(address btcutil.Address, signature, message string) FutureVerifyMessageResult + func (c *Client) WaitForShutdown() + 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 + EnableBCInfoHacks bool + EnableTLS bool + Host string + Pass string + Proxy string + ProxyPass string + ProxyUser string + User string + type FutureAddMultisigAddressResult chan *response + func (r FutureAddMultisigAddressResult) Receive() (btcutil.Address, error) + type FutureAddNodeResult chan *response + func (r FutureAddNodeResult) Receive() error + type FutureAddWitnessAddressResult chan *response + func (r FutureAddWitnessAddressResult) Receive() (btcutil.Address, error) + type FutureCreateMultisigResult chan *response + func (r FutureCreateMultisigResult) Receive() (*btcjson.CreateMultiSigResult, error) + type FutureCreateNewAccountResult chan *response + func (r FutureCreateNewAccountResult) Receive() error + type FutureCreateRawTransactionResult chan *response + func (r FutureCreateRawTransactionResult) Receive() (*wire.MsgTx, error) + type FutureDecodeRawTransactionResult chan *response + func (r FutureDecodeRawTransactionResult) Receive() (*btcjson.TxRawResult, error) + type FutureDecodeScriptResult chan *response + func (r FutureDecodeScriptResult) Receive() (*btcjson.DecodeScriptResult, error) + type FutureDumpPrivKeyResult chan *response + func (r FutureDumpPrivKeyResult) Receive() (*btcutil.WIF, error) + type FutureEstimateFeeResult chan *response + func (r FutureEstimateFeeResult) Receive() (float64, error) + type FutureEstimateSmartFeeResult chan *response + func (r FutureEstimateSmartFeeResult) Receive() (*btcjson.EstimateSmartFeeResult, error) + type FutureGenerateResult chan *response + func (r FutureGenerateResult) Receive() ([]*chainhash.Hash, error) + type FutureGetAccountAddressResult chan *response + func (r FutureGetAccountAddressResult) Receive() (btcutil.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() ([]btcjson.GetAddedNodeInfoResult, error) + type FutureGetAddressesByAccountResult chan *response + func (r FutureGetAddressesByAccountResult) Receive() ([]btcutil.Address, error) + type FutureGetBalanceParseResult chan *response + func (r FutureGetBalanceParseResult) Receive() (btcutil.Amount, error) + type FutureGetBalanceResult chan *response + func (r FutureGetBalanceResult) Receive() (btcutil.Amount, error) + type FutureGetBestBlockHashResult chan *response + func (r FutureGetBestBlockHashResult) Receive() (*chainhash.Hash, error) + type FutureGetBlockChainInfoResult chan *response + func (r FutureGetBlockChainInfoResult) Receive() (*btcjson.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() (*btcjson.GetBlockHeaderVerboseResult, error) + type FutureGetBlockResult chan *response + func (r FutureGetBlockResult) Receive() (*wire.MsgBlock, error) + type FutureGetBlockVerboseResult chan *response + func (r FutureGetBlockVerboseResult) Receive() (*btcjson.GetBlockVerboseResult, error) + type FutureGetCFilterHeaderResult chan *response + func (r FutureGetCFilterHeaderResult) Receive() (*wire.MsgCFHeaders, error) + type FutureGetCFilterResult chan *response + func (r FutureGetCFilterResult) Receive() (*wire.MsgCFilter, error) + type FutureGetConnectionCountResult chan *response + func (r FutureGetConnectionCountResult) Receive() (int64, 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 FutureGetInfoResult chan *response + func (r FutureGetInfoResult) Receive() (*btcjson.InfoWalletResult, error) + type FutureGetMempoolEntryResult chan *response + func (r FutureGetMempoolEntryResult) Receive() (*btcjson.GetMempoolEntryResult, error) + type FutureGetMiningInfoResult chan *response + func (r FutureGetMiningInfoResult) Receive() (*btcjson.GetMiningInfoResult, error) + type FutureGetNetTotalsResult chan *response + func (r FutureGetNetTotalsResult) Receive() (*btcjson.GetNetTotalsResult, error) + type FutureGetNetworkHashPS chan *response + func (r FutureGetNetworkHashPS) Receive() (int64, error) + type FutureGetNewAddressResult chan *response + func (r FutureGetNewAddressResult) Receive() (btcutil.Address, error) + type FutureGetPeerInfoResult chan *response + func (r FutureGetPeerInfoResult) Receive() ([]btcjson.GetPeerInfoResult, error) + type FutureGetRawChangeAddressResult chan *response + func (r FutureGetRawChangeAddressResult) Receive() (btcutil.Address, error) + type FutureGetRawMempoolResult chan *response + func (r FutureGetRawMempoolResult) Receive() ([]*chainhash.Hash, error) + type FutureGetRawMempoolVerboseResult chan *response + func (r FutureGetRawMempoolVerboseResult) Receive() (map[string]btcjson.GetRawMempoolVerboseResult, error) + type FutureGetRawTransactionResult chan *response + func (r FutureGetRawTransactionResult) Receive() (*btcutil.Tx, error) + type FutureGetRawTransactionVerboseResult chan *response + func (r FutureGetRawTransactionVerboseResult) Receive() (*btcjson.TxRawResult, error) + type FutureGetReceivedByAccountResult chan *response + func (r FutureGetReceivedByAccountResult) Receive() (btcutil.Amount, error) + type FutureGetReceivedByAddressResult chan *response + func (r FutureGetReceivedByAddressResult) Receive() (btcutil.Amount, error) + type FutureGetTransactionResult chan *response + func (r FutureGetTransactionResult) Receive() (*btcjson.GetTransactionResult, error) + type FutureGetTxOutResult chan *response + func (r FutureGetTxOutResult) Receive() (*btcjson.GetTxOutResult, error) + type FutureGetTxOutSetInfoResult chan *response + func (r FutureGetTxOutSetInfoResult) Receive() (*btcjson.GetTxOutSetInfoResult, error) + type FutureGetUnconfirmedBalanceResult chan *response + func (r FutureGetUnconfirmedBalanceResult) Receive() (btcutil.Amount, error) + type FutureGetWork chan *response + func (r FutureGetWork) Receive() (*btcjson.GetWorkResult, error) + type FutureGetWorkSubmit chan *response + func (r FutureGetWorkSubmit) Receive() (bool, error) + type FutureImportAddressResult chan *response + func (r FutureImportAddressResult) Receive() error + type FutureImportPrivKeyResult chan *response + func (r FutureImportPrivKeyResult) Receive() error + type FutureImportPubKeyResult chan *response + func (r FutureImportPubKeyResult) Receive() error + type FutureInvalidateBlockResult chan *response + func (r FutureInvalidateBlockResult) Receive() error + type FutureKeyPoolRefillResult chan *response + func (r FutureKeyPoolRefillResult) Receive() error + type FutureListAccountsResult chan *response + func (r FutureListAccountsResult) Receive() (map[string]btcutil.Amount, error) + type FutureListLockUnspentResult chan *response + func (r FutureListLockUnspentResult) Receive() ([]*wire.OutPoint, error) + type FutureListReceivedByAccountResult chan *response + func (r FutureListReceivedByAccountResult) Receive() ([]btcjson.ListReceivedByAccountResult, error) + type FutureListReceivedByAddressResult chan *response + func (r FutureListReceivedByAddressResult) Receive() ([]btcjson.ListReceivedByAddressResult, error) + type FutureListSinceBlockResult chan *response + func (r FutureListSinceBlockResult) Receive() (*btcjson.ListSinceBlockResult, error) + type FutureListTransactionsResult chan *response + func (r FutureListTransactionsResult) Receive() ([]btcjson.ListTransactionsResult, error) + type FutureListUnspentResult chan *response + func (r FutureListUnspentResult) Receive() ([]btcjson.ListUnspentResult, error) + type FutureLockUnspentResult chan *response + func (r FutureLockUnspentResult) Receive() error + type FutureMoveResult chan *response + func (r FutureMoveResult) Receive() (bool, error) + type FuturePingResult chan *response + func (r FuturePingResult) Receive() error + type FutureRawResult chan *response + func (r FutureRawResult) Receive() (json.RawMessage, error) + type FutureRenameAccountResult chan *response + func (r FutureRenameAccountResult) Receive() error + type FutureSearchRawTransactionsResult chan *response + func (r FutureSearchRawTransactionsResult) Receive() ([]*wire.MsgTx, error) + type FutureSearchRawTransactionsVerboseResult chan *response + func (r FutureSearchRawTransactionsVerboseResult) Receive() ([]*btcjson.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 FutureSetAccountResult chan *response + func (r FutureSetAccountResult) Receive() error + type FutureSetGenerateResult chan *response + func (r FutureSetGenerateResult) Receive() error + type FutureSetTxFeeResult chan *response + func (r FutureSetTxFeeResult) 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 FutureSubmitBlockResult chan *response + func (r FutureSubmitBlockResult) Receive() error + type FutureValidateAddressResult chan *response + func (r FutureValidateAddressResult) Receive() (*btcjson.ValidateAddressWalletResult, error) + type FutureVerifyChainResult chan *response + func (r FutureVerifyChainResult) Receive() (bool, error) + type FutureVerifyMessageResult chan *response + func (r FutureVerifyMessageResult) Receive() (bool, error) + type FutureWalletLockResult chan *response + func (r FutureWalletLockResult) Receive() error + type FutureWalletPassphraseChangeResult chan *response + func (r FutureWalletPassphraseChangeResult) Receive() error + type SigHashType string + const SigHashAll + const SigHashAllAnyoneCanPay + const SigHashNone + const SigHashNoneAnyoneCanPay + const SigHashSingle + const SigHashSingleAnyoneCanPay + func (s SigHashType) String() string Incompatible versions in this module v2.0.0+incompatible Oct 20, 2022