You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(wallet): exclude unconfirmed v3 outputs from non-v3 coin selection
When a v3 (TRUC) transaction produced change back into the wallet, that
unconfirmed output entered coin selection like any other UTXO. Building
a subsequent non-v3 transaction that spent it caused bitcoind to reject
the broadcast with "TRUC-violation, non-version=3 tx cannot spend from
version=3 tx" (BIP-431).
Thread `tx_version` into `filter_utxos` so that unconfirmed UTXOs whose
parent is version 3 are excluded when building a non-v3 transaction.
Confirmed outputs are unaffected since TRUC rules only apply while the
parent remains unconfirmed.
Fixes#419.
0 commit comments