golang binding for random-x algorithm variants. Fork of https://github.com/mining-pool/go-randomx
Go to file
DataHoarder 9c5f18cd5a
Do not allocate dataset in light mode
2023-05-14 10:26:49 +02:00
.gitignore [add] using test in replace of examples 2019-09-28 21:23:45 +08:00
LICENSE Create LICENSE 2019-11-29 09:20:49 +08:00
README.md Remove obsolete build.sh and randomx.h, updated README 2023-04-30 13:53:46 +02:00
go.mod Implement GetCacheMemory via struct abuse 2022-10-26 12:19:06 +02:00
randomx.go Do not allocate dataset in light mode 2023-05-14 10:26:49 +02:00
randomx_test.go Do not allocate dataset in light mode 2023-05-14 10:26:49 +02:00
rxCache.go Do not allocate dataset in light mode 2023-05-14 10:26:49 +02:00
rxDataset.go Do not allocate dataset in light mode 2023-05-14 10:26:49 +02:00
rxVM.go for random-x v1.1.7 2019-12-02 09:35:14 +08:00
search.go update 2019-12-03 01:08:27 +08:00

README.md

go-randomx

Building requirements

RandomX

git clone --depth 1 --branch master 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