Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Alex Beckenham on May 28, 2011, 04:51:00 AM



Title: Transaction History - Gray/Grey vs Black?
Post by: Alex Beckenham on May 28, 2011, 04:51:00 AM
I couldn't find this in a forum search...

What is the difference exactly between greyed out transactions and black ones?

Obviously transactions with 1 or more confirmations are black, but it's the 0/unconfirmed ones that I'm unsure about because there can be both colours.

With the latest 2 transactions in my client at the moment, both are 0/unconfirmed, both are for 0.01, yet one is black and one is grey.



Title: Re: Transaction History - Gray/Grey vs Black?
Post by: theymos on May 28, 2011, 05:50:30 AM
Unconfirmed transactions are only grey when you receive them. They don't count toward your balance, since they might never clear.


Title: Re: Transaction History - Gray/Grey vs Black?
Post by: Alex Beckenham on May 28, 2011, 06:08:25 AM
Unconfirmed transactions are only grey when you receive them. They don't count toward your balance, since they might never clear.

I have an outgoing transaction that is grey. Is that some kind of error?

https://i.imgur.com/vX3Ng.png

By the way, this is using the official 0.3.20.2 binary that was downloaded from bitcoin.org when that version was current.

Edit: Just tried in 0.3.21 with the same result, and have tried -rescan.

Then I tried the new -purgetx and it has removed it for me.



Title: Re: Transaction History - Gray/Grey vs Black?
Post by: wumpus on May 28, 2011, 06:19:46 AM
That's not an error. It means it didn't make it into a block yet. Just wait.


Title: Re: Transaction History - Gray/Grey vs Black?
Post by: Alex Beckenham on May 28, 2011, 06:23:11 AM
That's not an error. It means it didn't make it into a block yet. Just wait.

That second transaction you see in my screenshot says 1/unconfirmed, but when I started this thread it was also on 0/unconfirmed but it was black so I was trying to find out what the difference was (not a difference in confirmations).



Title: Re: Transaction History - Gray/Grey vs Black?
Post by: Alex Beckenham on May 28, 2011, 07:31:54 AM
Oh boy this is really weird. It was removed, definitely removed, but just while I've had the client open for a while, that same grey outgoing transaction suddenly came back. It just instantly popped itself back into the top of my transaction list without me even touching the program.


Title: Re: Transaction History - Gray/Grey vs Black?
Post by: Mike Hearn on May 28, 2011, 09:32:01 AM
Don't use the purgetx patch unless you're extremely sure you know what you're doing. What you're seeing isn't weird, it's expected. Don't worry about it too much, these are very small transactions so they might take a while to get into a block.


Title: Re: Transaction History - Gray/Grey vs Black?
Post by: Alex Beckenham on May 28, 2011, 09:46:27 AM
Don't use the purgetx patch unless you're extremely sure you know what you're doing. What you're seeing isn't weird, it's expected. Don't worry about it too much, these are very small transactions so they might take a while to get into a block.

Yep, I know those little ones take a long time, still no idea why one outgoing '0/unconfirmed' transaction would be black and another grey though.


Title: Re: Transaction History - Gray/Grey vs Black?
Post by: Mike Hearn on May 28, 2011, 09:56:58 AM
Probably the transactions had different priorities due to which coins were selected for payment.


Title: Re: Transaction History - Gray/Grey vs Black?
Post by: Pieter Wuille on May 28, 2011, 01:28:44 PM
An outgoing transaction that you created yourself, or one that was found on the network or through rescanning?

Grey can mean it depends on a transaction that is not known.