ESP-8266 improved performance (#1580 continuation) #1688
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I was reading #1580 and I gave a try to improve performances for the ESP8266, the idea come from using an internal (dogecoin inspired) sha1 algorithm and a bit of loop unrolling, plus including the findings of #1580 that looked very promising.
So far a D1 Mini managed to reach up to 65 kH/s.
The issue is that the RIG is not listed in the miners, I guess due to the difficulty dance and checks.
I was wondering if @revoxhere you can introduce a new START_DIFF value with a different naming (eg. "ESP8266NHV2"? ) with around 5000k of difficulty, so far seems the most promising according the logs below.
🚨 🚨 🚨 One note, don't use this code till the change in difficulty is in place or mining will not be counted.