Allow RPC users to opt-in to unsafe inputs when funding a raw transaction.
Applications that need to manage a complex RBF flow (such as lightning nodes using anchor outputs) are very limited if they can only use safe inputs.
I also added this option to send
and walletcreatefundedpsbt
who internally delegate to fundrawtransaction
.
Fixes #21299