rpchelp

package
v1.6.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2020 License: ISC Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HelpDescs = []struct {
	Locale   string // Actual locale, e.g. en_US
	GoLocale string // Locale used in Go names, e.g. EnUS
	Descs    map[string]string
}{
	{"en_US", "EnUS", helpDescsEnUS},
}

HelpDescs contains the locale-specific help strings along with the locale.

View Source
var Methods = []struct {
	Method      string
	ResultTypes []interface{}
}{
	{"abandontransaction", nil},
	{"accountaddressindex", []interface{}{(*int)(nil)}},
	{"accountsyncaddressindex", nil},
	{"addmultisigaddress", returnsString},
	{"addtransaction", nil},
	{"auditreuse", []interface{}{(*map[string][]string)(nil)}},
	{"consolidate", returnsString},
	{"createmultisig", []interface{}{(*types.CreateMultiSigResult)(nil)}},
	{"createsignature", []interface{}{(*types.CreateSignatureResult)(nil)}},
	{"createnewaccount", nil},
	{"createrawtransaction", returnsString},
	{"discoverusage", nil},
	{"dumpprivkey", returnsString},
	{"fundrawtransaction", []interface{}{(*types.FundRawTransactionResult)(nil)}},
	{"generatevote", []interface{}{(*types.GenerateVoteResult)(nil)}},
	{"getaccountaddress", returnsString},
	{"getaccount", returnsString},
	{"getaddressesbyaccount", returnsStringArray},
	{"getbalance", []interface{}{(*types.GetBalanceResult)(nil)}},
	{"getbestblockhash", returnsString},
	{"getbestblock", []interface{}{(*dcrdtypes.GetBestBlockResult)(nil)}},
	{"getblockcount", returnsNumber},
	{"getblockhash", returnsString},
	{"getinfo", []interface{}{(*types.InfoWalletResult)(nil)}},
	{"getmasterpubkey", []interface{}{(*string)(nil)}},
	{"getmultisigoutinfo", []interface{}{(*types.GetMultisigOutInfoResult)(nil)}},
	{"getnewaddress", returnsString},
	{"getrawchangeaddress", returnsString},
	{"getreceivedbyaccount", returnsNumber},
	{"getreceivedbyaddress", returnsNumber},
	{"getpeerinfo", []interface{}{(*types.GetPeerInfoResult)(nil)}},
	{"getstakeinfo", []interface{}{(*types.GetStakeInfoResult)(nil)}},
	{"gettickets", []interface{}{(*types.GetTicketsResult)(nil)}},
	{"gettransaction", []interface{}{(*types.GetTransactionResult)(nil)}},
	{"getunconfirmedbalance", returnsNumber},
	{"getvotechoices", []interface{}{(*types.GetVoteChoicesResult)(nil)}},
	{"getwalletfee", returnsNumber},
	{"help", append(returnsString, returnsString[0])},
	{"importcfiltersv2", nil},
	{"importprivkey", nil},
	{"importscript", nil},
	{"importxpub", nil},
	{"mixaccount", nil},
	{"mixoutput", nil},
	{"listaccounts", []interface{}{(*map[string]float64)(nil)}},
	{"listaddresstransactions", returnsLTRArray},
	{"listalltransactions", returnsLTRArray},
	{"listlockunspent", []interface{}{(*[]dcrdtypes.TransactionInput)(nil)}},
	{"listreceivedbyaccount", []interface{}{(*[]types.ListReceivedByAccountResult)(nil)}},
	{"listreceivedbyaddress", []interface{}{(*[]types.ListReceivedByAddressResult)(nil)}},
	{"listsinceblock", []interface{}{(*types.ListSinceBlockResult)(nil)}},
	{"listtransactions", returnsLTRArray},
	{"listunspent", []interface{}{(*types.ListUnspentResult)(nil)}},
	{"lockaccount", nil},
	{"lockunspent", returnsBool},
	{"purchaseticket", returnsString},
	{"redeemmultisigout", []interface{}{(*types.RedeemMultiSigOutResult)(nil)}},
	{"redeemmultisigouts", []interface{}{(*types.RedeemMultiSigOutResult)(nil)}},
	{"renameaccount", nil},
	{"rescanwallet", nil},
	{"revoketickets", nil},
	{"sendfrom", returnsString},
	{"sendfromtreasury", returnsString},
	{"sendmany", returnsString},
	{"sendtoaddress", returnsString},
	{"sendtomultisig", returnsString},
	{"sendtotreasury", returnsString},
	{"sendrawtransaction", returnsString},
	{"getcoinjoinsbyacct", []interface{}{(*map[string]uint32)(nil)}},
	{"setaccountpassphrase", nil},
	{"settxfee", returnsBool},
	{"setvotechoice", nil},
	{"signmessage", returnsString},
	{"signrawtransaction", []interface{}{(*types.SignRawTransactionResult)(nil)}},
	{"signrawtransactions", []interface{}{(*types.SignRawTransactionsResult)(nil)}},
	{"stakepooluserinfo", []interface{}{(*types.StakePoolUserInfoResult)(nil)}},
	{"sweepaccount", []interface{}{(*types.SweepAccountResult)(nil)}},
	{"ticketsforaddress", returnsBool},
	{"ticketinfo", []interface{}{(*[]types.TicketInfoResult)(nil)}},
	{"unlockaccount", nil},
	{"validateaddress", []interface{}{(*types.ValidateAddressWalletResult)(nil)}},
	{"validatepredcp0005cf", returnsBool},
	{"verifymessage", returnsBool},
	{"version", []interface{}{(*map[string]dcrdtypes.VersionResult)(nil)}},
	{"walletinfo", []interface{}{(*types.WalletInfoResult)(nil)}},
	{"walletislocked", returnsBool},
	{"walletlock", nil},
	{"walletpassphrasechange", nil},
	{"walletpassphrase", nil},
	{"walletpubpassphrasechange", nil},
}

Methods contains all methods and result types that help is generated for, for every locale.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL