Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: bluemeanie1 on June 27, 2013, 02:07:56 AM



Title: Transaction Signature ... Simplified Transaction?
Post by: bluemeanie1 on June 27, 2013, 02:07:56 AM
Hi All,

  I've been looking closer at the TX verification mechanism.

  in the Wiki we have : "The other component is an ECDSA signature over a hash of a simplified version of the transaction."

    https://en.bitcoin.it/wiki/Transactions

  Can anyone explain 'simplified version of the transaction'?  Is this explained in detail anywhere?

  I took a look at Mike Hearn's code (com.google.bitcoin.core.Transaction [1] ) and I suppose I could reverse engineer, but that would take more time than reading over some documentation.  It seems that the signature is of a subset of the transaction, how exactly this works is not altogether clear to me.

  pointers?

thanks -bm


[1] http://code.google.com/p/bitcoinj/source/browse/core/src/main/java/com/google/bitcoin/core/Transaction.java


Title: Re: Transaction Signature ... Simplified Transaction?
Post by: jackjack on June 27, 2013, 07:37:29 AM
OP_CHECKSIG article on the wiki
There's a clear image made by etotheipi if I remember correctly


Title: Re: Transaction Signature ... Simplified Transaction?
Post by: bluemeanie1 on June 27, 2013, 08:14:57 AM
OP_CHECKSIG article on the wiki
There's a clear image made by etotheipi if I remember correctly

that looks like what I'm looking for!

yes, there is a nice image courtesy of etotheipi  https://en.bitcoin.it/w/images/en/7/70/Bitcoin_OpCheckSig_InDetail.png

thanks much Jack Jack. 

-bm


Title: Re: Transaction Signature ... Simplified Transaction?
Post by: dserrano5 on June 27, 2013, 02:29:02 PM
http://bitcoin.stackexchange.com/questions/3374/how-to-redeem-a-basic-tx has good info too.


Title: Re: Transaction Signature ... Simplified Transaction?
Post by: Mike Hearn on June 27, 2013, 02:42:38 PM
Also see the theory section of https://en.bitcoin.it/wiki/Contracts


Title: Re: Transaction Signature ... Simplified Transaction?
Post by: bluemeanie1 on June 27, 2013, 07:23:07 PM

 dserrano + Mike Hearn,

   thanks for the pointers!

 -bm