The options for wallet funding RPCs have several issues:
- snake_case aliases are accepted by the server, but unsupported by bitcoin-cli, not mentioned in the docs and rejected by the schema.
- If both the snake_case and camelCase are provided, the camelCase is silently ignored.
- The server silently ignores
subtract_fee_from_outputs. (reported by stutxo in #35317)
Fix all issues, by:
- Adding the snake_case aliases to the CLI, docs and the schema.
- Rejecting if both are supplied.
- Reading
subtract_fee_from_outputsinstead of silently ignoring it.