diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -825,7 +825,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, @@ -1353,7 +1353,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, @@ -1421,7 +1422,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" @@ -1574,7 +1575,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')"}, }, @@ -1731,7 +1733,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", @@ -1927,7 +1930,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[]"}, }, @@ -3672,7 +3675,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"}, @@ -4615,7 +4618,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"},