doc: default minconf for getbalance should be 0
This commit is contained in:
1 file changed
+2
-2
@@ -737,9 +737,9 @@ static UniValue getbalance(const JSONRPCRequest& request)
|
|||||||
RPCResult::Type::STR_AMOUNT, "amount", "The total amount in " + CURRENCY_UNIT + " received for this wallet."
|
RPCResult::Type::STR_AMOUNT, "amount", "The total amount in " + CURRENCY_UNIT + " received for this wallet."
|
||||||
},
|
},
|
||||||
RPCExamples{
|
RPCExamples{
|
||||||
"\nThe total amount in the wallet with 1 or more confirmations\n"
|
"\nThe total amount in the wallet with 0 or more confirmations\n"
|
||||||
+ HelpExampleCli("getbalance", "") +
|
+ HelpExampleCli("getbalance", "") +
|
||||||
"\nThe total amount in the wallet at least 6 blocks confirmed\n"
|
"\nThe total amount in the wallet with at least 6 confirmations\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")
|
||||||
|
|||||||
Reference in new issue
Block a user