2
After reading this: ECDSA Signature and the "z" value
I'm still confused about the 'Z' value, for this transaction: https://blockchain.info/tx/ea6aa5d49b8e351e307bf9220f2d7cd31d41e640683539e00580e17cb4cf3e36?show_adv=true
the signature is in the input script, and uses the output script of it's source transaction when calculating the message hash. So the nr of outputs to the transaction does not matter, they are always hashed unmodified into the messagehash for each input. – Willem Hengeveld
I find the above quote confusing, sorry!
This is what I hashed:
01000000
01
e3dbc4fada0034ad8581cb429af4953d7d092b137ebd9e193344db376314ab65000000001976a9147e7fe35e49f0e8a920780c00d40b7171d880811988ac1976a914942920e041353162b0d8bd006d09c2ca25cdc27888acffffffff
02
1004df02000000001976a9147e7fe35e49f0e8a920780c00d40b7171d880811988ac
c05f3b04000000001976a914942920e041353162b0d8bd006d09c2ca25cdc27888ac
00000000
01000000
And got this:
0x76041b6949563e76d77012f9723bec3c7a1a21fd84c74bb58df47087cef056d7
Is it correct? Is there a way to verify it?
I'd like to know how you got
f65d5c02866b8cea5840b2f9fb739f2e6ee6c8f4– prof.Zoom – 2016-10-31T09:08:50.353this is funding script from https://blockchain.info/tx/65ab146337db4433199ebd7e132b097d3d95f49a42cb8185ad3400dafac4dbe3?show_adv=true
– amaclin – 2016-10-31T09:52:45.840Thanks! sha256(sha256(your modified transaction)) gives:
0xf71aa6b6127ce9229d9607c0ee133d8195f91b14fe7d554ef8a6a40d99338426Is there any way I can verify the z value? – prof.Zoom – 2016-10-31T09:58:55.673sorry, i do not have a tool mentioned in http://bitcoin.stackexchange.com/questions/32305/how-does-the-ecdsa-verification-algorithm-work-during-transaction right now. you have to check signature yourself
– amaclin – 2016-10-31T10:05:39.550Thanks! your explanation is convincing. Although I couldn't verify due to my limited knowledge about ECDSA signature. I'll accept this answer if I'm able to verify. – prof.Zoom – 2016-10-31T12:12:40.117
I've checked the digest. It was created correctly and the signature matches the public key. The answer updated. – amaclin – 2016-10-31T18:45:39.780