Allow sending untrusted utxos in the sendtoaddress api #32034

issue BullishNode openend this issue on March 11, 2025
  1. BullishNode commented at 5:19 pm on March 11, 2025: none

    Please describe the feature you’d like to see added.

    We would like to be able to send untrusted utxos via the sendtoaddress API.

    Currently, we have to go through the createrawtransaction flow to achieved this.

    While I understand why it may be a sane default to have not to allow that, there is also very good reasons. Bitcoin Core may assume that a coin is “untrusted” because it is unconfirmed and is not change, but it doesn’t know that this coins is actually coming from a separate wallet that is also owned by the receiver.

    No response

    Describe the solution you’d like

    A config that allows to send untrusted utxos via the sendtoaddress api. Otherwise, always allow sending untrusted utxos via the sendtoaddress api by default.

    Describe any alternatives you’ve considered

    The create raw transaction flow. However we prefer relying on the sendtoaddress flow we currently use.

    Please leave any additional context

    No response

  2. BullishNode added the label Feature on Mar 11, 2025
  3. maflcko added the label Wallet on Mar 12, 2025
  4. DaanyaalSobani commented at 6:17 pm on March 28, 2025: none
    Is there currently a difference between untrusted and unconfirmed?

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-03-31 09:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me