golang binding for random-x algorithm variants. Fork of https://github.com/mining-pool/go-randomx
.gitignore | ||
go.mod | ||
LICENSE | ||
randomx.go | ||
randomx_test.go | ||
README.md | ||
rxCache.go | ||
rxDataset.go | ||
rxVM.go | ||
search.go |
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