EDIT: use https://github.com/nanocurrency/nano-work-server instead. use banano POW https://github.com/BananoCoin/banano/blob/master/nano/lib/config.cpp#L30
like this:
curl -s -g -d '{"action": "work_generate", "hash":"0000000000000000000000000000000000000000000000000000000000000000","difficulty": "fffffe0000000000"}' 'http://127.0.0.1:7076'
This project is a dedicated work server for the Banano cryptocurrency.
It supports the work_generate
, work_cancel
, and work_validate
commands from the Nano RPC.
For details on these commands, see the Nano RPC documentation, as it works the same in Banano.
To see available command line options, run banano-work-server --help
.
Ubuntu:
sudo apt install ocl-icd-opencl-dev
Fedora:
sudo dnf install ocl-icd-devel
curl https://sh.rustup.rs -sSf | sh
git clone https://github.com/meltingice/banano-work-server.git
cd banano-work-server
cargo build --release
cd target/release
./banano-work-server --help