Bitcoin Forum
December 10, 2016, 04:57:51 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Transaction that depends on unconfirmed transaction  (Read 1025 times)
gst
Jr. Member
*
Offline Offline

Activity: 38


View Profile
June 15, 2011, 02:22:39 PM
 #1

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?
1481345871
Hero Member
*
Offline Offline

Posts: 1481345871

View Profile Personal Message (Offline)

Ignore
1481345871
Reply with quote  #2

1481345871
Report to moderator
1481345871
Hero Member
*
Offline Offline

Posts: 1481345871

View Profile Personal Message (Offline)

Ignore
1481345871
Reply with quote  #2

1481345871
Report to moderator
1481345871
Hero Member
*
Offline Offline

Posts: 1481345871

View Profile Personal Message (Offline)

Ignore
1481345871
Reply with quote  #2

1481345871
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
gst
Jr. Member
*
Offline Offline

Activity: 38


View Profile
June 15, 2011, 03:04:53 PM
 #2

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.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!