Grin Miner – A standalone mining implementation intended for mining Grin against a running Grin node.
Please note miners are often marked as malware by antivirus programs. This is not so, they are marked simply because they are cryptocurrency miners. If you do not trust the software, do not use it!
v1.0.2:fix error checking solution difficulty against target
Grin-miner automatically builds x86_64 CPU plugins. Cuda plugins are also provided, but are not enabled by default. To enable them, modify Cargo.toml as follows:
change:
cuckoo_miner = { path = "./cuckoo-miner" }
to:
cuckoo_miner = { path = "./cuckoo-miner", features = ["build-cuda-plugins"]}
The Cuda toolkit 9+ must be installed on your system (check with nvcc --version)
Building the OpenCL plugins
OpenCL plugins are not enabled by default. Run install_ocl_plugins.sh script to build and install them.
./install_ocl_plugins.sh
You must install OpenCL libraries for your operating system before. If you just need to compile them (for development or testing purposes) build grin-miner the following way:
Grin-miner can be further configured via the grin-miner.toml file. This file contains contains inline documentation on all configuration options, and should be the first point of reference.
You should always ensure that this file exists in the directory from which you’re running grin-miner.
Using grin-miner
There is a Grin forum post with further detail on how to configure grin-miner and mine grin’s testnet.
No Comments