Closed romanmashta closed 11 months ago
I like adding features but.. even this is fun and well coded I think could be uneficient. It exists the posibility to repeat a nonce. And don't know how affects hashrate
There is no performance impact. But not a problem. I'm just sharing features that I'm playing with.
Hey romanmashta, why just add it and provide this as description, can you change it? [] Random nonce mode. Use random nonces instead of incremental nonce mining (Experimental/No hashrate impact)
Nonce searching path has not to be random, solution is.
Calling esp_random() will only waste resources in my opinion.
@valerio-vaccaro Generally I agree that this is just a toy method. But from other side fixed hard coded nonce range probably is not the best solution either. It's just a proposal. Maybe there is no any good solution at all, with such low hash rate.
I close it for the moment
Full lottery mining proposal.
User configurable option to mine with random nonce, default is off. Due to low hash rate it will never pass full nonce range, as alternative nonce can be random number on every iteration. Random nonce are split between thread for odds and even numbers