PSBTFillOptions(src/common/types.h): Introducedkeypath_only(bool) andtaproot_script_path(optional hex string) fields.- PSBT Signing (
src/psbt.cpp): UpdatedSignPSBTInputto intercept the script data insideSignatureData::tr_spenddata.scriptsbefore passing them toProduceSignature. This prevents the wallet from appending unused taproot scripts into the PSBT. - RPC Support (
src/wallet/rpc/spend.cpp&src/rpc/rawtransaction.cpp): Addedkeypath_onlyandtaproot_script_pathas optional arguments to bothwalletprocesspsbtanddescriptorprocesspsbt. - Client Mapping (
src/rpc/client.cpp): Registeredkeypath_onlyinvRPCConvertParamsso thatbitcoin-cliproperly casts it as a boolean.
Fixes #33084.