move some CheckProofOfWork in Block