duino-coin icon indicating copy to clipboard operation
duino-coin copied to clipboard

Bump libducohasher to 0.1.1

Open profpandaa opened this issue 1 year ago • 4 comments

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.

profpandaa avatar Oct 11 '24 21:10 profpandaa

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

revoxhere avatar Oct 12 '24 08:10 revoxhere

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

profpandaa avatar Oct 12 '24 09:10 profpandaa

Hey how to compile you fasthash?

seanganteng avatar Oct 16 '24 08:10 seanganteng

Try to keep off-topic conversations out of these issues.

I updated the readme, so just follow the one (1) step and you'll be good to go.

profpandaa avatar Oct 16 '24 13:10 profpandaa

Hello panda. I've updated the codebase on our server to your libducohash version. The only thing left to do would be to create precompiles binaries for some commonly used architectures. For now the precompiles binaries are still the previous version before your edits. Closing as it's done. Thanks for your input!

revoxhere avatar Oct 21 '24 15:10 revoxhere

Will do in the following days 👍

profpandaa avatar Oct 21 '24 16:10 profpandaa