Bitcoin Core's wallet supports coin control: a user can lock in specific unspent outputs for a transaction, and the wallet then includes those outputs even when its own coin selection would not have chosen them.
Sources and checks
T1Bitcoin Core src/wallet/coincontrol.h, CCoinControl::SelectSource code, says this directly
The output will be included in the transaction even if it's not the most optimal choice.
CCoinControl, doc comment of Select, read 2026-11-20
T2Bitcoin Optech topic, Coin selectionBitcoin Optech, background
Coin selection is the method a wallet uses to choose which of its UTXOs to spend in a particular transaction.
Topic summary, read 2026-11-20
bitcoin/bitcoin at f498a5a671 contains this text in src/wallet/coincontrol.h, and still does on the default branch.
Run it yourself
git clone https://github.com/bitcoin/bitcoin && git -C bitcoin show f498a5a6718d9157b6afb85412c3462439117702:src/wallet/coincontrol.h | grep -nF 'The output will be included in the transaction even if it'"'"'s not the most optimal choice.'Checked at block 976,842, 21 Nov 2026, 04:28 UTC: recheck, quotes 2/2, code 1/1
History
Nothing is edited silently; every revision keeps what it replaced.
- 20 Nov 2026, 16:42 UTCblock 976,753
Published Revision 1, run 2026-11-20-seed-utxo-model