Author

Topic: Transaction that depends on unconfirmed transaction (Read 1318 times)

gst
newbie
Activity: 38
Merit: 0
Ok - so I just did exactly what I've written in my previous post: Restored the old wallet.dat and moved all my coins to one of my own addresses to invalidate the unconfirmed transactions (in case they get forwarded to a miner).

This new transaction now made it into the blockchain, but according to my client the transaction is still unconfirmed: "5/unconfirmed". Should I just wait some time, or does my own client not accept the transaction as it has already seen (and somewhere cached) the unconfirmed transactions?

EDIT: Transaction seems to be confirmed now - so it worked.
gst
newbie
Activity: 38
Merit: 0
So i just did something stupid while playing around with the client. Essentially I did several things, but I guess the combination of those two things triggered the problem:

I've sent the smallest possible amount of Bitcoins to myself - without paying a transaction fee. So this transaction is currently unconfirmed and most likely never will get confirmed.

At some later point I've sent all the Bitcoins I have minus the required transaction fee to myself. Luckily I don't have that many Bitcoins. So I paid a transaction fee for this second transaction but it doesn't get confirmed.

I think the reason for this problem is that the second transaction depends on the first transaction (as it needs to use all available inputs), but the other clients consider the second transaction invalid because they have not seen the first transaction yet. As long as this is the case, all further transactions will also stay unconfirmed.

So what is the best way to get my Bitcoins back? Can I just start over from yesterday's wallet backup? Or does this just make things worse?

And can I remove the unconfirmed transactions from my .bitcoin directory without removing the whole blockchain? Or should I remove everything and just copy back the wallet?
Jump to: