So, I was watching this from @JoeNakamoto (skip to 16:25 for the relevant part).
<iframe width="560" height="315" src="https://www.youtube.com/embed/zG_LDxv8gJI" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
He mentioned it is possible to RBF an unconfirmed on-chain transaction to undo it? Not to defraud anyone, but out of curiosity, how exactly to do that? Is it possible with any self-custodial wallet (I use the Blockstream Green mobile app and Trezor suite).
Also, relevant to the scenario
- If a transaction is unconfirmed, then are the input UTXOs considered spent by the Blockchain? Can I input those same UTXOs in another transaction before confirmation?
- If I want to prevent a confirmation for some reason, then I have to replace them with a lower fee? Will it eject the unconfirmed transaction from mempool (hence cancelled), enabling me to use the UTXOs for another? Or, will the unconfirmed transaction stay in the mempool forever?