TUTORIAL: How to Run the æternity CPU Miner on Ubuntu 18.04
Assuming that you have created and set up your
miningsection, change the value of
- Run your node (Ubuntu 18.04 / macOS Mojave)
- Attach to your node, using the command
- To start the mining process, type
aec_conductor:start_mining().in the interactive console. You should see
okas a result from the command.
- Check the miner's status by typing
aec_conductor:get_mining_state().. You should receive
runningas a result.
Check miner status
- In interactive console - type
log/epoch_mining.logfile - check for
Starting miningmessage entries from the miner process. If something goes wrong, a corresponding
[error]message will be added to the file.
To stop the miner, type
aec_conductor:stop_mining(). in the interactive console.
Adjust miner executable
In order to change the miner executable and pass arguments to it, add the following in the
mining section in
cuckoo: miner: executable: mean29-generic extra_args: "-t 5"
executable is the chosen executable binary of the miner
extra_args is the arguments, passed to the executable binary; can be used to define the number of processing threads in order to optimize the process. Depends on your hardware - can be set to the number of your virtual cores
In case you experience any issues, please post your question in the æternity Forum.