Post
Topic
Board Beginners & Help
Re: 3% faster mining with phoenix+phatk for everyone
by
Krypta
on 02/07/2011, 06:20:46 UTC
Thank you bitless, it seems you are right, they are never used, so I really don't know why these modifications halved my stales.

Here's another strange thing:

Code:
256 Vals[0]=H[0];
257 Vals[1]=H[1];
258 Vals[2]=H[2];
259 Vals[3]=H[3];
260 Vals[4]=H[4];
261 Vals[5]=H[5];
262 Vals[6]=H[6];
263 Vals[7]=H[7];
264
265 Vals[7] = 0xb0edbdd0 + K[0] + W[64] + 0x08909ae5U;
266 Vals[3] = 0xa54ff53a + 0xb0edbdd0 + K[0] + W[64];

I think we can comment out

Code:
259 //Vals[3]=H[3];
263 //Vals[7]=H[7];

because they are changed on lines 265 and 266 before they are used, am I right?

Thanks.
Krypta