ethash icon indicating copy to clipboard operation
ethash copied to clipboard

Strange loop

Open babbutycoon opened this issue 7 years ago • 0 comments

https://github.com/ethereum/ethash/blob/f5f0a8b1962544d2b6f40df8e4b0d9a32faf8f8e/src/libethash/internal.c#L198

How come the loop is for (uint32_t w = 0; w != MIX_WORDS; ++w)?? The #define for MIX_WORDS is 32. whereas the union node accessed via word is a max of 16. Am i not looking at this right or is it actually a bug?

babbutycoon avatar Feb 07 '18 05:02 babbutycoon