EpicCash / epic

Blockchain Node Server with integrated Stratum Mining Server
https://epiccash.com
Apache License 2.0
24 stars 36 forks source link

Embed Extern Randomx Library into epic #54

Closed johanneshahn closed 2 years ago

johanneshahn commented 2 years ago

The external library for Randomx should be included in the code of epic.

For Linux and MacOs, the path to the external library must also be registered in the system, which makes simple use impossible for many users.

Linux export LD_LIBRARY_PATH=$(find . -iname librandomx.so | head -n 1 | xargs dirname | xargs realpath)

Mac export LD_LIBRARY_PATH=$(find . -iname librandomx.dylib | head -n 1 | xargs dirname | xargs realpath)

johanneshahn commented 2 years ago

https://github.com/EpicCash/randomx-rust/pull/3 https://github.com/EpicCash/randomx/pull/2