Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: madmadmax on May 03, 2013, 10:59:20 PM



Title: Listunspent error
Post by: madmadmax on May 03, 2013, 10:59:20 PM
Is there any way an "out" transaction could have gotten to listunspent?


Title: Re: Listunspent error
Post by: monocolor on May 03, 2013, 11:10:11 PM
what is listunspent?


Title: Re: Listunspent error
Post by: madmadmax on May 03, 2013, 11:15:04 PM
what is listunspent?

Why are you here?  ::)

Is it impossible to sign a transaction by the remainder of a zero conf "out" transaction?


Title: Re: Listunspent error
Post by: kjj on May 04, 2013, 12:10:36 AM
There could in theory be a bug, but none are known so far.  If your node knows a UTXO and has enough keys to redeem it, it gets listed in listunspent.

In and out aren't concepts that really apply here.


Title: Re: Listunspent error
Post by: Pieter Wuille on May 04, 2013, 12:14:35 AM
Listunspent fetches from the wallet, not from the (global) UTXO set.


Title: Re: Listunspent error
Post by: Zeilap on May 04, 2013, 12:31:22 AM
I don't know what you mean by 'out' transaction exactly, but if you spend some coins and have some change left over, you'll end up with a transaction where you're both spending and receiving.

Thus there'll be some overlap between the transactions shown by listunspent and transactions which spent some of your coins ('out' transactions?).


Title: Re: Listunspent error
Post by: madmadmax on May 04, 2013, 07:12:56 PM
I don't know what you mean by 'out' transaction exactly, but if you spend some coins and have some change left over, you'll end up with a transaction where you're both spending and receiving.

Thus there'll be some overlap between the transactions shown by listunspent and transactions which spent some of your coins ('out' transactions?).

Yes okay thanks guys, I worked out the problem in the end.