Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: crazy987 on March 23, 2014, 11:10:23 PM



Title: Transaction thrown back to pending 0.9.0
Post by: crazy987 on March 23, 2014, 11:10:23 PM
So, after i bought some new coins, i wanted to spend them
So when the first confirm came in, i spend a bit.
but i wanted to spend more, but i couldnt.
What i noticed was that after i made the first transaction, my incoming funds went back to pending.
So i decided to test it again when it went back to confirmed.
I made another payment, and guess what, the funds went back to pending agian.
Included are 2 screenshots for your amusement, now, lets go find that bugtracker.

https://i.imgur.com/87QDwMk.jpg (http://imgur.com/87QDwMk)
https://i.imgur.com/5b87jRv.jpg (http://imgur.com/5b87jRv)


Title: Re: Transaction thrown back to pending 0.9.0
Post by: DannyHamilton on March 23, 2014, 11:16:47 PM
This is correct.

If you only have a single output received in the wallet, then when you send bitcoins, the entire output must be spent.  The wallet creates a single transaction that spends that previously received output and creates two new outputs, one to send the bitcoins where you want to, and the other to send the "change" back into the wallet.  This means that the wallet doesn't have any outputs that are confirmed until that transaction is confirmed, and therefore the balance is "pending".



Title: Re: Transaction thrown back to pending 0.9.0
Post by: crazy987 on March 23, 2014, 11:18:17 PM
This is correct.

If you only have a single output received in the wallet, then when you send bitcoins, the entire output must be spent.  The wallet creates a single transaction that spends that previously received output and creates two new outputs, one to send the bitcoins where you want to, and the other to send the "change" back into the wallet.  This means that the wallet doesn't have any outputs that are confirmed until that transaction is confirmed, and therefore the balance is "pending".



Ah ok, So its a new feature then.
Nevermind finding the bugtracker then.

Thanks for the heads up on this.