Primecoin: Faster version of primality test for miner