<p>The hash refers to the signature hash, to which all tx data except for the input script is committed to (unless you are signing with a sighash flag other than ALL).</p>

<p>The signature hash is what is signed with ECDSA to produce the signature. </p>

CC BY-SA 4.0
2019-01-17T10:11:46.760Z
This might help: https://teachbitcoin.io/presentations/transaction_build.html#/5
James C.
CC BY-SA 4.0
2019-01-17T10:39:17.177Z
thanks. but i have one more question. in the picture of center(1 and 2's transaction), why `Hash(Owner 2's pub K + signature hash)` is Owner 1's Signature?       Assuming the signature of 1 is correct, why 1's Sign arrow not heads Hash, point out 1's Signature?
user10865941
CC BY-SA 4.0
2019-01-17T10:47:21.580Z
Thats because the transaction output is intended for owner 2. His pubkey is commited to the 2nd transaction. Specifically it is inthe output of tx2. He has the private key 2 that can spend it.
James C.
CC BY-SA 4.0
2019-01-17T10:48:02.743Z
Its the original paper, but the illustration isn’t the most intuitive depiction.
James C.
CC BY-SA 4.0
2019-01-17T10:10:33.950Z
2019-01-17T10:10:33.950Z
James C.
<p>i'm studying <code>Bitcoin: A Peer-to-Peer Electronic Cash System Satoshi Nakamoto</code></p>

<p>and this paper introduce a transaction model. (above picture)
<a href="https://i.sstatic.net/BTjcZ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/BTjcZ.png" alt="enter image description here"></a></p>

<p>but i don't understand what is 'Hash' means exactly </p>

<p>i think Hash is same  <code>Bitcoin API JSON-RPC - signrawtransaction</code> function</p>

<p>it means hash(txid + owner's public key)? then what method used hash function?</p>

<p>or  hash(result of <code>signrawtransaction</code> + RIPEMD160(sha256(pub k)) )? then what method used to hash?</p>

<transactions><bitcoind><hash><bitcoin-core-development>
in transaction, what is 'hash' data?
user10865941
# in transaction, what is 'hash' data?

(Asked by: username_0 on 2019-01-17)

i'm studying `Bitcoin: A Peer-to-Peer Electronic Cash System Satoshi Nakamoto`

and this paper introduce a transaction model. (above picture)
[![enter image description here](https://i.sstatic.net/BTjcZ.png)](https://i.sstatic.net/BTjcZ.png)

but i don't understand what is 'Hash' means exactly

i think Hash is same `Bitcoin API JSON-RPC - signrawtransaction` function

it means hash(txid + owner's public key)? then what method used hash function?

or hash(result of `signrawtransaction` + RIPEMD160(sha256(pub k)) )? then what method used to hash?

**Tags:** transactions, bitcoind, hash, bitcoin-core-development


---

## 1 answers

### Answer by username_1 on 2019-01-17. Score: 0 | Accepted answer

The hash refers to the signature hash, to which all tx data except for the input script is committed to (unless you are signing with a sighash flag other than ALL).

The signature hash is what is signed with ECDSA to produce the signature.

> **Comments:**
> **username_1**: This might help: https://teachbitcoin.io/presentations/transaction_build.html#/5  
> **username_0**: thanks. but i have one more question. in the picture of center(1 and 2's transaction), why `Hash(Owner 2's pub K + signature hash)` is Owner 1's Signature?       Assuming the signature of 1 is correct, why 1's Sign arrow not heads Hash, point out 1's Signature?  
> **username_1**: Thats because the transaction output is intended for owner 2. His pubkey is commited to the 2nd transaction. Specifically it is inthe output of tx2. He has the private key 2 that can spend it.  
> **username_1**: Its the original paper, but the illustration isn’t the most intuitive depiction.  

---

