libblkmaker
libblkmaker copied to clipboard
example.c
Hi, it runs thru all the 2^32 possible nonces, goes out of the inner loop and says "Found nonce: 0xffffffff", although it has not found one. Isn't that a bug?
That's a bug indeed because it prints "Found nonce" when it runs out of nonce range and attempts to submit the last one. There is a better way to do this mining loop anyway.
ghostlander/nsgminer@9fada0649b7f01b152afc1bb86ba1cc0e8de0365