<p>I think that the hash function used is <code>sha256d</code>, a non-standard function obtained by hashing with <code>sha256</code> twice (first hash the data, obtain 256-byte digest, then re-hash the digest).</p>

CC BY-SA 3.0
2017-11-01T06:27:03.683Z
2017-11-01T06:27:03.683Z
Charles Bouillaguet
<p>When miners verifies a transaction, they make some calculations to check its Signature by using some Hash.</p>

<p>What Hash is used for Sig verification in Bitcoin Core?</p>

CC BY-SA 3.0
2017-10-31T17:35:12.553Z
@Denis, the same hash that was used by transaction creator when he signed it.
amaclin
CC BY-SA 3.0
2017-10-31T17:43:47.177Z
@amaclin but block `miner` is not `creator` of transaction
Denis Leonov
CC BY-SA 3.0
2017-10-31T18:43:00.493Z
@Denis, yes, but the process of calculating the hash is the same
amaclin
<bitcoin-core><mining-theory><signature>
What Hash need for Signature verification?
Denis Leonov
# What Hash need for Signature verification?

(Asked by: username_0 on 2017-10-31)

When miners verifies a transaction, they make some calculations to check its Signature by using some Hash.

What Hash is used for Sig verification in Bitcoin Core?

**Tags:** bitcoin-core, mining-theory, signature

> **Comments:**
> **username_1**: @Denis, the same hash that was used by transaction creator when he signed it.  
> **username_0**: @username_1 but block `miner` is not `creator` of transaction  
> **username_1**: @Denis, yes, but the process of calculating the hash is the same  

---

## 1 answers

### Answer by username_2 on 2017-11-01. Score: 0

I think that the hash function used is `sha256d`, a non-standard function obtained by hashing with `sha256` twice (first hash the data, obtain 256-byte digest, then re-hash the digest).


---

