rpc: Deprecate watchonly wallet no-op named options

bitcoin/bitcoin: PR #36855

1 suggestion

Optional improvements

Link

[suggestion] · RPC help omits the flag required to keep passing watchonly options

The affected options now require -deprecatedrpc=watchonly when explicitly set to either boolean value, but RPC help still describes them only as unused, leaving clients without compatibility instructions before invocation.

Location: src/wallet/rpc/spend.cpp:530 (head).

Details and suggested fix

The option descriptions in fundrawtransaction, walletcreatefundedpsbt, send, sendall, and simulaterawtransaction still say only "(DEPRECATED) No longer used". The runtime error and release note explain the new flag requirement, but users consulting help <rpc> cannot discover it there. Extend each affected RPCArg description to say that the option is accepted only when the server starts with -deprecatedrpc=watchonly and will be removed in the next release. This follows the RPC deprecation guidance in doc/developer-notes.md and documents continued acceptance without implying that the flag restores watchonly functionality.


Coverage details