revoxhere / duino-coin

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

Rust fails to compile the fasthash accelerations #1799

Open Mike404-source opened 3 weeks ago

Mike404-source commented 3 weeks ago

Both compiled and source versions of PC_Miner are not running. Both versions seem to "hang" on user verification and no config file is written. The generated url does produce good results when entered manually in a browser.

KorryKatti commented 3 weeks ago

I am getting a libducohash error too on the new release

paolokk07 commented 2 weeks ago

I am also getting an libducohash error with the 4.1:

error[E0599]: no method named add_class found for reference &pyo3::prelude::P yModule in the current scope --> src/lib.rs:44:7 | 44 | m.add_class::()?; | ^^^^^^^^^ method not found in &PyModule

error[E0277]: the trait bound &pyo3::prelude::PyModule: From<BoundRef<'_, '_, p yo3::prelude::PyModule>> is not satisfied --> src/lib.rs:42:1 42 #[pymodule] ^^^^^^^^^^^ the trait From<BoundRef<'_, '_, pyo3::prelude::PyModule>> is not implemented for &pyo3::prelude::PyModule, which is required by BoundRef<' _, '_, pyo3::prelude::PyModule>: Into<_>

= note: required for BoundRef<'_, '_, pyo3::prelude::PyModule> to implement Into<&pyo3::prelude::PyModule> = note: this error originates in the attribute macro pymodule (in Nightly b uilds, run with -Z macro-backtrace for more info)

Some errors have detailed explanations: E0277, E0599. For more information about an error, try rustc --explain E0277. error: could not compile ducohasher (lib) due to 2 previous errors

misterpk-thailand commented 1 week ago

Screenshot_20240623_114110_Chrome.jpg

Just to reaport after upgraded to 4.1 version, I'm using 10 ESP32 device, hashrate increase from around 8x to 9x KH/s and reject also increase.

simeononsecurity commented 5 days ago

This is preventing the docker container I made from being able to update. For now I've removed it, so we'll have to deal without the fasthash. Please notify me when this is fixed. I'll try and monitor either way.

Possible fix is to hardcode the rust version. But I'll have to look into that when I have more time.