Skip to content

Commit

Permalink
Merge pull request bitcoin#31 from paveljanik/patch-2
Browse files Browse the repository at this point in the history
Complete listunspent RPC call help message
  • Loading branch information
theuni committed Jun 2, 2015
2 parents be99783 + a347209 commit 710cb65
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/wallet/rpcwallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2245,7 +2245,7 @@ Value listunspent(const Array& params, bool fHelp)
"with between minconf and maxconf (inclusive) confirmations.\n"
"Optionally filter to only include txouts paid to specified addresses.\n"
"Results are an array of Objects, each of which has:\n"
"{txid, vout, scriptPubKey, amount, confirmations}\n"
"{txid, vout, address, account, scriptPubKey, amount, confirmations, spendable}\n"
"\nArguments:\n"
"1. minconf (numeric, optional, default=1) The minimum confirmations to filter\n"
"2. maxconf (numeric, optional, default=9999999) The maximum confirmations to filter\n"
Expand All @@ -2263,7 +2263,8 @@ Value listunspent(const Array& params, bool fHelp)
" \"account\" : \"account\", (string) DEPRECATED. The associated account, or \"\" for the default account\n"
" \"scriptPubKey\" : \"key\", (string) the script key\n"
" \"amount\" : x.xxx, (numeric) the transaction amount in btc\n"
" \"confirmations\" : n (numeric) The number of confirmations\n"
" \"confirmations\" : n, (numeric) The number of confirmations\n"
" \"spendable\" : bool (boolean) Is transaction spendable?\n"
" }\n"
" ,...\n"
"]\n"
Expand Down Expand Up @@ -2343,4 +2344,4 @@ Value listunspent(const Array& params, bool fHelp)
}

return results;
}
}

0 comments on commit 710cb65

Please sign in to comment.