@ -236,8 +236,8 @@ UniValue setaccount(const JSONRPCRequest& request)
" 1. \" address \" (string, required) The bitcoin address to be associated with an account. \n "
" 2. \" account \" (string, required) The account to assign the address to. \n "
" \n Examples: \n "
+ HelpExampleCli ( " setaccount " , " \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X Z \" \" tabby \" " )
+ HelpExampleRpc ( " setaccount " , " \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X Z \" , \" tabby \" " )
+ HelpExampleCli ( " setaccount " , " \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X X \" \" tabby \" " )
+ HelpExampleRpc ( " setaccount " , " \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X X \" , \" tabby \" " )
) ;
LOCK2 ( cs_main , pwalletMain - > cs_wallet ) ;
@ -283,8 +283,8 @@ UniValue getaccount(const JSONRPCRequest& request)
" \n Result: \n "
" \" accountname \" (string) the account address \n "
" \n Examples: \n "
+ HelpExampleCli ( " getaccount " , " \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X Z \" " )
+ HelpExampleRpc ( " getaccount " , " \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X Z \" " )
+ HelpExampleCli ( " getaccount " , " \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X X \" " )
+ HelpExampleRpc ( " getaccount " , " \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X X \" " )
) ;
LOCK2 ( cs_main , pwalletMain - > cs_wallet ) ;
@ -503,11 +503,11 @@ UniValue signmessage(const JSONRPCRequest& request)
" \n Unlock the wallet for 30 seconds \n "
+ HelpExampleCli ( " walletpassphrase " , " \" mypassphrase \" 30 " ) +
" \n Create the signature \n "
+ HelpExampleCli ( " signmessage " , " \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X Z \" \" my message \" " ) +
+ HelpExampleCli ( " signmessage " , " \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X X \" \" my message \" " ) +
" \n Verify the signature \n "
+ HelpExampleCli ( " verifymessage " , " \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X Z \" \" signature \" \" my message \" " ) +
+ HelpExampleCli ( " verifymessage " , " \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X X \" \" signature \" \" my message \" " ) +
" \n As json rpc \n "
+ HelpExampleRpc ( " signmessage " , " \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X Z \" , \" my message \" " )
+ HelpExampleRpc ( " signmessage " , " \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X X \" , \" my message \" " )
) ;
LOCK2 ( cs_main , pwalletMain - > cs_wallet ) ;
@ -556,13 +556,13 @@ UniValue getreceivedbyaddress(const JSONRPCRequest& request)
" amount (numeric) The total amount in " + CURRENCY_UNIT + " received at this address. \n "
" \n Examples: \n "
" \n The amount from transactions with at least 1 confirmation \n "
+ HelpExampleCli ( " getreceivedbyaddress " , " \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X Z \" " ) +
+ HelpExampleCli ( " getreceivedbyaddress " , " \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X X \" " ) +
" \n The amount including unconfirmed transactions, zero confirmations \n "
+ HelpExampleCli ( " getreceivedbyaddress " , " \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X Z \" 0 " ) +
+ HelpExampleCli ( " getreceivedbyaddress " , " \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X X \" 0 " ) +
" \n The amount with at least 6 confirmation, very safe \n "
+ HelpExampleCli ( " getreceivedbyaddress " , " \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X Z \" 6 " ) +
+ HelpExampleCli ( " getreceivedbyaddress " , " \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X X \" 6 " ) +
" \n As a json rpc call \n "
+ HelpExampleRpc ( " getreceivedbyaddress " , " \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X Z \" , 6 " )
+ HelpExampleRpc ( " getreceivedbyaddress " , " \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X X \" , 6 " )
) ;
LOCK2 ( cs_main , pwalletMain - > cs_wallet ) ;
@ -906,13 +906,13 @@ UniValue sendmany(const JSONRPCRequest& request)
" the number of addresses. \n "
" \n Examples: \n "
" \n Send two amounts to two different addresses: \n "
+ HelpExampleCli ( " sendmany " , " \" \" \" { \\ \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X Z \\ \" :0.01, \\ \" 1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz \\ \" :0.02} \" " ) +
+ HelpExampleCli ( " sendmany " , " \" \" \" { \\ \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X X \\ \" :0.01, \\ \" 1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz \\ \" :0.02} \" " ) +
" \n Send two amounts to two different addresses setting the confirmation and comment: \n "
+ HelpExampleCli ( " sendmany " , " \" \" \" { \\ \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X Z \\ \" :0.01, \\ \" 1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz \\ \" :0.02} \" 6 \" testing \" " ) +
+ HelpExampleCli ( " sendmany " , " \" \" \" { \\ \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X X \\ \" :0.01, \\ \" 1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz \\ \" :0.02} \" 6 \" testing \" " ) +
" \n Send two amounts to two different addresses, subtract fee from amount: \n "
+ HelpExampleCli ( " sendmany " , " \" \" \" { \\ \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X Z \\ \" :0.01, \\ \" 1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz \\ \" :0.02} \" 1 \" \" \" [ \\ \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X Z \\ \" , \\ \" 1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz \\ \" ] \" " ) +
+ HelpExampleCli ( " sendmany " , " \" \" \" { \\ \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X X \\ \" :0.01, \\ \" 1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz \\ \" :0.02} \" 1 \" \" \" [ \\ \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X X \\ \" , \\ \" 1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz \\ \" ] \" " ) +
" \n As a json rpc call \n "
+ HelpExampleRpc ( " sendmany " , " \" \" , \" { \\ \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X Z \\ \" :0.01, \\ \" 1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz \\ \" :0.02} \" , 6, \" testing \" " )
+ HelpExampleRpc ( " sendmany " , " \" \" , \" { \\ \" 1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4X X \\ \" :0.01, \\ \" 1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz \\ \" :0.02} \" , 6, \" testing \" " )
) ;
LOCK2 ( cs_main , pwalletMain - > cs_wallet ) ;