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?
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).