Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

340 H/s on Arduino Nano! #1643

Merged
merged 1 commit into from
May 6, 2023
Merged

Conversation

dexter3k
Copy link
Contributor

The improved code achieves a 30% speedup in mining on AVR code, giving an improvement from 260 H/s to 340 H/s. The code was tested on Arduino Nano V3 (atmega328p), but should work on any similar device.

The performance improvement was achieved mostly by reimplementation of SHA1 algorithm for specific use case and precomputation of initial 10 hashing rounds.

@revoxhere
Copy link
Owner

Very impressive work I have to say.
I'm sure Kolka forces a higher difficulty to a miner that uses this code, but we will readjust it once it's mainstream.

Word to the community: please test the changes above on a few different boards, to ensure we will have a smooth transition :)

@revoxhere revoxhere self-assigned this May 3, 2023
@revoxhere revoxhere added enhancement New feature or request in progress This is currently being worked on labels May 3, 2023
@revoxhere revoxhere merged commit 394da31 into revoxhere:master May 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in progress This is currently being worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants