788 B
788 B
randomx-go-bindings
CGO bindings for tevador/RandomX
Building requirements
RandomX Dependency
randomx-go-bindings Version | Supported RandomX Versions | Notes |
---|---|---|
v1.0.0 | v1.2.0+ | Support for randomx_calculate_commitment |
git clone --depth 1 --branch v1.2.1 https://github.com/tevador/RandomX.git /tmp/RandomX && pushd /tmp/RandomX && \
mkdir build && cd build && \
cmake .. -DCMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX:PATH=/usr && \
make -j$(nproc) && \
make install && \
popd && \
rm -rf /tmp/RandomX