|
|
@ -587,7 +587,7 @@ UniValue getreceivedbyaddress(const JSONRPCRequest& request)
|
|
|
|
+ HelpExampleCli("getreceivedbyaddress", "\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\"") +
|
|
|
|
+ HelpExampleCli("getreceivedbyaddress", "\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\"") +
|
|
|
|
"\nThe amount including unconfirmed transactions, zero confirmations\n"
|
|
|
|
"\nThe amount including unconfirmed transactions, zero confirmations\n"
|
|
|
|
+ HelpExampleCli("getreceivedbyaddress", "\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\" 0") +
|
|
|
|
+ HelpExampleCli("getreceivedbyaddress", "\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\" 0") +
|
|
|
|
"\nThe amount with at least 6 confirmation, very safe\n"
|
|
|
|
"\nThe amount with at least 6 confirmations\n"
|
|
|
|
+ HelpExampleCli("getreceivedbyaddress", "\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\" 6") +
|
|
|
|
+ HelpExampleCli("getreceivedbyaddress", "\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\" 6") +
|
|
|
|
"\nAs a json rpc call\n"
|
|
|
|
"\nAs a json rpc call\n"
|
|
|
|
+ HelpExampleRpc("getreceivedbyaddress", "\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\", 6")
|
|
|
|
+ HelpExampleRpc("getreceivedbyaddress", "\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\", 6")
|
|
|
@ -647,7 +647,7 @@ UniValue getreceivedbyaccount(const JSONRPCRequest& request)
|
|
|
|
+ HelpExampleCli("getreceivedbyaccount", "\"\"") +
|
|
|
|
+ HelpExampleCli("getreceivedbyaccount", "\"\"") +
|
|
|
|
"\nAmount received at the tabby account including unconfirmed amounts with zero confirmations\n"
|
|
|
|
"\nAmount received at the tabby account including unconfirmed amounts with zero confirmations\n"
|
|
|
|
+ HelpExampleCli("getreceivedbyaccount", "\"tabby\" 0") +
|
|
|
|
+ HelpExampleCli("getreceivedbyaccount", "\"tabby\" 0") +
|
|
|
|
"\nThe amount with at least 6 confirmation, very safe\n"
|
|
|
|
"\nThe amount with at least 6 confirmations\n"
|
|
|
|
+ HelpExampleCli("getreceivedbyaccount", "\"tabby\" 6") +
|
|
|
|
+ HelpExampleCli("getreceivedbyaccount", "\"tabby\" 6") +
|
|
|
|
"\nAs a json rpc call\n"
|
|
|
|
"\nAs a json rpc call\n"
|
|
|
|
+ HelpExampleRpc("getreceivedbyaccount", "\"tabby\", 6")
|
|
|
|
+ HelpExampleRpc("getreceivedbyaccount", "\"tabby\", 6")
|
|
|
@ -719,7 +719,7 @@ UniValue getbalance(const JSONRPCRequest& request)
|
|
|
|
"\nExamples:\n"
|
|
|
|
"\nExamples:\n"
|
|
|
|
"\nThe total amount in the wallet\n"
|
|
|
|
"\nThe total amount in the wallet\n"
|
|
|
|
+ HelpExampleCli("getbalance", "") +
|
|
|
|
+ HelpExampleCli("getbalance", "") +
|
|
|
|
"\nThe total amount in the wallet at least 5 blocks confirmed\n"
|
|
|
|
"\nThe total amount in the wallet at least 6 blocks confirmed\n"
|
|
|
|
+ HelpExampleCli("getbalance", "\"*\" 6") +
|
|
|
|
+ HelpExampleCli("getbalance", "\"*\" 6") +
|
|
|
|
"\nAs a json rpc call\n"
|
|
|
|
"\nAs a json rpc call\n"
|
|
|
|
+ HelpExampleRpc("getbalance", "\"*\", 6")
|
|
|
|
+ HelpExampleRpc("getbalance", "\"*\", 6")
|
|
|
@ -2008,7 +2008,7 @@ UniValue walletpassphrase(const JSONRPCRequest& request)
|
|
|
|
"Issuing the walletpassphrase command while the wallet is already unlocked will set a new unlock\n"
|
|
|
|
"Issuing the walletpassphrase command while the wallet is already unlocked will set a new unlock\n"
|
|
|
|
"time that overrides the old one.\n"
|
|
|
|
"time that overrides the old one.\n"
|
|
|
|
"\nExamples:\n"
|
|
|
|
"\nExamples:\n"
|
|
|
|
"\nunlock the wallet for 60 seconds\n"
|
|
|
|
"\nUnlock the wallet for 60 seconds\n"
|
|
|
|
+ HelpExampleCli("walletpassphrase", "\"my pass phrase\" 60") +
|
|
|
|
+ HelpExampleCli("walletpassphrase", "\"my pass phrase\" 60") +
|
|
|
|
"\nLock the wallet again (before 60 seconds)\n"
|
|
|
|
"\nLock the wallet again (before 60 seconds)\n"
|
|
|
|
+ HelpExampleCli("walletlock", "") +
|
|
|
|
+ HelpExampleCli("walletlock", "") +
|
|
|
@ -2163,11 +2163,11 @@ UniValue encryptwallet(const JSONRPCRequest& request)
|
|
|
|
"\nArguments:\n"
|
|
|
|
"\nArguments:\n"
|
|
|
|
"1. \"passphrase\" (string) The pass phrase to encrypt the wallet with. It must be at least 1 character, but should be long.\n"
|
|
|
|
"1. \"passphrase\" (string) The pass phrase to encrypt the wallet with. It must be at least 1 character, but should be long.\n"
|
|
|
|
"\nExamples:\n"
|
|
|
|
"\nExamples:\n"
|
|
|
|
"\nEncrypt you wallet\n"
|
|
|
|
"\nEncrypt your wallet\n"
|
|
|
|
+ HelpExampleCli("encryptwallet", "\"my pass phrase\"") +
|
|
|
|
+ HelpExampleCli("encryptwallet", "\"my pass phrase\"") +
|
|
|
|
"\nNow set the passphrase to use the wallet, such as for signing or sending bitcoin\n"
|
|
|
|
"\nNow set the passphrase to use the wallet, such as for signing or sending bitcoin\n"
|
|
|
|
+ HelpExampleCli("walletpassphrase", "\"my pass phrase\"") +
|
|
|
|
+ HelpExampleCli("walletpassphrase", "\"my pass phrase\"") +
|
|
|
|
"\nNow we can so something like sign\n"
|
|
|
|
"\nNow we can do something like sign\n"
|
|
|
|
+ HelpExampleCli("signmessage", "\"address\" \"test message\"") +
|
|
|
|
+ HelpExampleCli("signmessage", "\"address\" \"test message\"") +
|
|
|
|
"\nNow lock the wallet again by removing the passphrase\n"
|
|
|
|
"\nNow lock the wallet again by removing the passphrase\n"
|
|
|
|
+ HelpExampleCli("walletlock", "") +
|
|
|
|
+ HelpExampleCli("walletlock", "") +
|
|
|
|