rpc: wallet: Schedule mixed-case confTarget option deprecation

bitcoin/bitcoin: PR #36488

1 suggestion

Earlier concerns neither republished nor resolved: 1 suggestion. See the Run archive for their assessments.

Optional improvements

Link

[suggestion] · Flag-enabled tests never check the confTarget value

The pre-existing alias-value coverage gap remains in the new flag-gated path: its only enabled confTarget request fails at the conflict check before parsing the target.

Location: test/functional/wallet_bumpfee.py:64 (head).

Details and suggested fix

The conflict assertion already verifies that the flag bypasses the -32 gate, but it throws before selecting the alias; rpc_deprecated.py checks only the unflagged rejection. Ignoring confTarget during target selection would therefore escape these checks. Next to the conflict case, add assert_raises_rpc_error(-8, "Invalid conf_target, must be between 1 and", rpc, rbfid, {"confTarget": 0}) for both bumpfee and psbtbumpfee. SetFeeEstimateMode passes that value to ParseConfirmTarget before transaction lookup, so the assertion does not depend on fee estimates. A success-only assertion could still pass after falling back to the wallet's default target.


Coverage details

Earlier concerns

Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.