rpc: Clarify ivk balance issues in help text
This commit is contained in:
parent
d316992f55
commit
573de712ab
|
@ -3346,8 +3346,8 @@ UniValue z_getbalance(const UniValue& params, bool fHelp)
|
||||||
throw runtime_error(
|
throw runtime_error(
|
||||||
"z_getbalance \"address\" ( minconf )\n"
|
"z_getbalance \"address\" ( minconf )\n"
|
||||||
"\nReturns the balance of a taddr or zaddr belonging to the node’s wallet.\n"
|
"\nReturns the balance of a taddr or zaddr belonging to the node’s wallet.\n"
|
||||||
"\nCAUTION: If address is a watch-only Sprout shielded address, the returned balance may be larger"
|
"\nCAUTION: If the wallet has only an incoming viewing key for this address, then spends cannot be"
|
||||||
"\nthan the actual balance, because spends cannot be detected with incoming viewing keys.\n"
|
"\ndetected, and so the returned balance may be larger than the actual balance.\n"
|
||||||
"\nArguments:\n"
|
"\nArguments:\n"
|
||||||
"1. \"address\" (string) The selected address. It may be a transparent or private address.\n"
|
"1. \"address\" (string) The selected address. It may be a transparent or private address.\n"
|
||||||
"2. minconf (numeric, optional, default=1) Only include transactions confirmed at least this many times.\n"
|
"2. minconf (numeric, optional, default=1) Only include transactions confirmed at least this many times.\n"
|
||||||
|
@ -3407,8 +3407,9 @@ UniValue z_gettotalbalance(const UniValue& params, bool fHelp)
|
||||||
throw runtime_error(
|
throw runtime_error(
|
||||||
"z_gettotalbalance ( minconf includeWatchonly )\n"
|
"z_gettotalbalance ( minconf includeWatchonly )\n"
|
||||||
"\nReturn the total value of funds stored in the node’s wallet.\n"
|
"\nReturn the total value of funds stored in the node’s wallet.\n"
|
||||||
"\nCAUTION: If the wallet contains watch-only Sprout shielded addresses, the returned private balance may"
|
"\nCAUTION: If the wallet contains any addresses for which it only has incoming viewing keys,"
|
||||||
"\nbe larger than the actual balance, because spends cannot be detected with incoming viewing keys.\n"
|
"\nthe returned private balance may be larger than the actual balance, because spends cannot"
|
||||||
|
"\nbe detected with incoming viewing keys.\n"
|
||||||
"\nArguments:\n"
|
"\nArguments:\n"
|
||||||
"1. minconf (numeric, optional, default=1) Only include private and transparent transactions confirmed at least this many times.\n"
|
"1. minconf (numeric, optional, default=1) Only include private and transparent transactions confirmed at least this many times.\n"
|
||||||
"2. includeWatchonly (bool, optional, default=false) Also include balance in watchonly addresses (see 'importaddress' and 'z_importviewingkey')\n"
|
"2. includeWatchonly (bool, optional, default=false) Also include balance in watchonly addresses (see 'importaddress' and 'z_importviewingkey')\n"
|
||||||
|
|
Loading…
Reference in New Issue