compute blockHash
avoid hashing the header twice