revoxhere / duino-coin

ᕲ Duino-Coin is a coin that can be mined with almost everything, including Arduino boards.
https://duinocoin.com
MIT License
1.09k stars 510 forks source link

Bump libducohasher to 0.1.1 #1837

Open profpandaa opened 3 days ago

profpandaa commented 3 days ago

I've updated (and optimized) the code for libducohasher. The SHA1 dependency was updated (the name changed from 'sha1' to 'sha1_smol'; iirc 'sha1' is now in the hands of rust-crypto).

The hashrate increased from 8.8 - 8.9 MH/s to 10.6 - 11 MH/s on one thread on my machine. The binary size will probably be marginally larger. However, when compiled with '--release', the binary takes up roughly 0.5 MB on my machine.

This change doesn't feature any breaking changes. The methods still have the same name and there's currently a miner running on my machine with the updated library.

revoxhere commented 3 days ago

Hey panda. I appreciate your work. Just to confirm, the repo you're referring to is compatible-libducohash?

profpandaa commented 3 days ago

Yes, exactly. The other one is (currently) outdated and contains breaking changes.