Post
Topic
Board Bitcoin Discussion
Re: How is this possible ? A Recent transaction suddenly becomes invalid
by
Royse777
on 03/10/2020, 19:46:22 UTC
this looks soo like magic LOL..

what i do not understand is this. lets say i have $200 in my wallet on blockchain.info, then i send $100 to someone, even if its unconfirmed or low fee i am sure
the money $100 will be deducted from my account. How is it possible i could spend a money that already deduct from my account and move it to another wallet..

i wish to see a video demonstration of this.  This is very very interesting. very smart trick.
I am still trying to get this in my head. Very tricky for me to understand although o_e_l_e_o tried to explain in the post above you. I did make a test tx but I messed up with something and now stuck with some error, nothing wrong and it will be confirmed though. I will let this tx to confirm and then try with a fresh one then will share the flow.

So the first transaction dropped because the second transaction spent the same input as the first transaction. Once it was spent by the second transaction, it was no longer available to be spent in the first, and so the first became invalid.

Even although the 1CKnh... address still had enough funds on it for the first transaction, they were now part of a different output, and so the first transaction was still invalid. Transactions spend specific outputs. If I have an address with 5 outputs each of 1 BTC, and I make two different transactions using the same output, only 1 will confirm and 1 will become invalid, even though there are 4 other outputs of 1 BTC at that address.
That error suck me, it is saying not sufficient fund for fees. Not sure if this is connected with the goal I am trying to achieve. But as I said I will try again once the tx confirms.