Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: tsoPANos on August 30, 2013, 09:31:05 AM



Title: [BUG REPORT] transaction id
Post by: tsoPANos on August 30, 2013, 09:31:05 AM
I just found a bug!
In the transactions tab, when you right click on a trascaction and click copy transaction id, the program copies
this:
Code:
ce038ec41bf1f5e6a571918ac99f26bd26eb8995b14cf45b8f069cf48c642343-000
do you see the -000 at the end?
blockchain.info doesn't recognise the address, unless I remove the -000 at the end.


version:
Bitcoin version v0.8.3-beta

note that I messed up the letters so that the trasnaction is not recogniseable.


Title: Re: I just found a bug!
Post by: gmaxwell on August 30, 2013, 09:34:47 AM
This isn't a bug, it's telling you which vout is paying you.


Title: Re: I just found a bug!
Post by: CIYAM on August 30, 2013, 09:38:16 AM
It would be nice to perhaps have an option not to have it appended (I also find it to be annoying to have to always remove the trailing -000 when looking up on blockchain.info although I guess they could strip it off at their end if they wanted to).

As it is clearly not a bug you should update the title of this topic.


Title: Re: [BUG REPORT] transaction id
Post by: tsoPANos on August 30, 2013, 09:39:54 AM
Oh sorry I'm a new here... Is there any artcle describing what is a vout?
also, if this is not a bug, mind locking the thread?


Title: Re: [BUG REPORT] transaction id
Post by: gmaxwell on August 30, 2013, 09:42:40 AM
There is some description here: http://bitcoin.stackexchange.com/questions/11411/in-getrawtransaction-what-is-the-vout-integer-in-the-vin-list

A single transaction can pay multiple places. Blockchain.info just displays them in a random order that changes whenever you load the page, but they actually have a fixed position in the transaction and you (well, your computer) must know this position when it makes a new transaction spending that coin, so the position is important.