Skip to content

Commit c79d73d

Browse files
committed
Clarify getbalance meaning a tiny bit in response to questions.
1 parent d4991c0 commit c79d73d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/wallet/rpcwallet.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,8 @@ UniValue getbalance(const JSONRPCRequest& request)
771771
throw std::runtime_error(
772772
"getbalance ( \"account\" minconf include_watchonly )\n"
773773
"\nIf account is not specified, returns the server's total available balance.\n"
774+
"The available balance is what the wallet considers currently spendable, and is\n"
775+
"thus affected by options which limit spendability such as -spendzeroconfchange.\n"
774776
"If account is specified (DEPRECATED), returns the balance in the account.\n"
775777
"Note that the account \"\" is not the same as leaving the parameter out.\n"
776778
"The server total may be different to the balance in the default \"\" account.\n"

0 commit comments

Comments
 (0)