Transaction Hash Chain Signature: What Is Getting Signed?

0

In Satoshi Nakamoto's diagram:

enter image description here

I understand this diagram is dated--but please bear with me. I think I have missed a critical point of the diagram:

Question: Let's assume that the three transactions depicted are #1, #2, and #3 from left to right.

Is the Signature for Transaction #2 computed using Owner 1's Private Key and the Transaction data for Transaction #1 or is it computed using Owner 1's Private Key and the Transaction data for Transaction #2?

Thank you.

Jazimov

Posted 2018-06-16T00:39:31.997

Reputation: 207

Answers

3

Question: Let's assume that the three transactions depicted are #1, #2, and #3 from left to right.

Is the Signature for Transaction #2 computed using Owner 1's Private Key and the Transaction data for Transaction #1 or is it computed using Owner 1's Private Key and the Transaction data for Transaction #2?

The Signature for Transaction #2 is computed using Owner 1's Private Key and the Transaction data for Transaction #2.

Andrew Chow

Posted 2018-06-16T00:39:31.997

Reputation: 40 910

That is fantastic. Nothing about the diagram told me for sure what's going on and I needed confirmation. At one point in my learning I thought that it was transaction #1 that was being signed and that transaction #1's signature was stored in transaction #2. I am glad you set me straight (once again). Thank you.Jazimov 2018-06-16T04:12:41.043