0

This question already has an answer here:

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?

marked as duplicate by Andrew Chow, remedcu, MeshCollider, Highly Irregular, alcio Nov 1 '17 at 22:40

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • @Denis, the same hash that was used by transaction creator when he signed it. – amaclin Oct 31 '17 at 17:35
  • @amaclin but block miner is not creator of transaction – Denis Leonov Oct 31 '17 at 17:43
  • @Denis, yes, but the process of calculating the hash is the same – amaclin Oct 31 '17 at 18:43
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).

Not the answer you're looking for? Browse other questions tagged or ask your own question.