diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -830,7 +830,7 @@ {"minconf", RPCArg::Type::NUM, /* default */ "0", "Only include transactions confirmed at least this many times."}, {"include_watchonly", RPCArg::Type::BOOL, - /* default */ "false", + /* default */ "true for watch-only wallets, otherwise false", "Also include balance in watch-only addresses (see " "'importaddress')"}, {"avoid_reuse", RPCArg::Type::BOOL, @@ -1359,7 +1359,8 @@ {"include_empty", RPCArg::Type::BOOL, /* default */ "false", "Whether to include addresses that haven't received any " "payments."}, - {"include_watchonly", RPCArg::Type::BOOL, /* default */ "false", + {"include_watchonly", RPCArg::Type::BOOL, + /* default */ "true for watch-only wallets, otherwise false", "Whether to include watch-only addresses (see 'importaddress')."}, {"address_filter", RPCArg::Type::STR, RPCArg::Optional::OMITTED_NAMED_ARG, @@ -1427,7 +1428,7 @@ {"include_empty", RPCArg::Type::BOOL, /* default */ "false", "Whether to include labels that haven't received any payments."}, {"include_watchonly", RPCArg::Type::BOOL, - /* default */ "false", + /* default */ "true for watch-only wallets, otherwise false", "Whether to include watch-only addresses (see 'importaddress')."}, }, RPCResult{"[\n" @@ -1580,7 +1581,8 @@ "The number of transactions to return"}, {"skip", RPCArg::Type::NUM, /* default */ "0", "The number of transactions to skip"}, - {"include_watchonly", RPCArg::Type::BOOL, /* default */ "false", + {"include_watchonly", RPCArg::Type::BOOL, + /* default */ "true for watch-only wallets, otherwise false", "Include transactions to watch-only addresses (see " "'importaddress')"}, }, @@ -1737,7 +1739,8 @@ "Return the nth block hash from the main chain. e.g. 1 would mean " "the best block hash. Note: this is not used as a filter, but " "only affects [lastblock] in the return value"}, - {"include_watchonly", RPCArg::Type::BOOL, /* default */ "false", + {"include_watchonly", RPCArg::Type::BOOL, + /* default */ "true for watch-only wallets, otherwise false", "Include transactions to watch-only addresses (see " "'importaddress')"}, {"include_removed", RPCArg::Type::BOOL, /* default */ "true", @@ -1933,7 +1936,7 @@ {"txid", RPCArg::Type::STR, RPCArg::Optional::NO, "The transaction id"}, {"include_watchonly", RPCArg::Type::BOOL, - /* default */ "false", + /* default */ "true for watch-only wallets, otherwise false", "Whether to include watch-only addresses in balance calculation " "and details[]"}, }, @@ -3670,7 +3673,7 @@ {"changePosition", RPCArg::Type::NUM, /* default */ "", "The index of the change output"}, {"includeWatching", RPCArg::Type::BOOL, - /* default */ "false", + /* default */ "true for watch-only wallets, otherwise false", "Also select inputs which are watch only"}, {"lockUnspents", RPCArg::Type::BOOL, /* default */ "false", "Lock selected unspent outputs"}, @@ -4598,7 +4601,7 @@ {"changePosition", RPCArg::Type::NUM, /* default */ "random", "The index of the change output"}, {"includeWatching", RPCArg::Type::BOOL, - /* default */ "false", + /* default */ "true for watch-only wallets, otherwise false", "Also select inputs which are watch only"}, {"lockUnspents", RPCArg::Type::BOOL, /* default */ "false", "Lock selected unspent outputs"},