Closed Rav3nPL closed 10 years ago
default=1.0 for minimum difficulty is correct for BTC miners, but will be far too high for scrypt miners, FYI. I let iongchun know as well.
What are the purpose of these switches?
@iongchun I added my comments because I directed someone to your branch for their scrypt coin node since they wanted to better control psuedo share difficulty. They did use --min-difficulty 0.00001526 but the rounding code (I think it was?) kept changing it back to a minimum diff of 1. So the conversion has to be present in there somewhere apparently? Or maybe should the rounding code be ignored on non-sha256 coins? That's easy enough to check if DUMB_SCRYPT_DIFF is 1 or not. I'm not sure of the reason for the rounding (do some miners only accept power of 2 work targets?) or if it's just cosmetic.
@iongchun Or perhaps make rounding optional via command line argument.
Awesome! Thanks.