Export CheckProofOfWork function.