The process automatically receives tasks from the specified <giver_addess>
. During operation the process checks the parameters of the giver every 5 seconds.
If they change, the task is restarted. If a solution is found, it sends it to the selected <giver_addess>
and <my_address>
is rewarded.
If you want more flexibility or control you can also use the pow-miner-cuda.exe
(pow-miner-opencl.exe
) as described at pow-miner-howto.md.
- Read basic info about mining on the https://ton.org/mining page. Here you can find giver addresses and some stats.
- Install GPU Drivers:
- For CUDA-capable GPU (Nvidia): https://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/index.html
- For OpenCL-capable (AMD): http://support.amd.com/en-us/download
- Download Wallet app from https://ton.org/wallets and create a wallet for the rewards.
- Download last Windows release from https://github.com/tontechio/pow-miner-gpu/releases
- Download last global config from https://newton-blockchain.github.io/global.config.json
- Invoke the
tonlib-cuda-cli.exe
(tonlib-opencl-cli.exe
) utility as follows:
> tonlib-cuda-cli.exe -v 3 -C <global-config> -e "pminer start <giver_addess> <my_address> <gpu-id> [boost-factor] [platform-id]"
Windows 10 supports ANSI colors since v1511. For earlier versions of Windows installing ANSICON will enable ANSI colors in cmd.exe.
To redirect the output to a file, add -l pminer.log
to the command:
> tonlib-cuda-cli.exe -v 3 -C global.config.json -e "pminer start Ef-FV4QTxLl-7Ct3E6MqOtMt-RGXMxi27g4I645lw6MTWg0f kQBWkNKqzCAwA9vjMwRmg7aY75Rf8lByPA9zKXoqGkHi8SM7 0 32" -l pminer.log
Actually, tonlib-*-cli
miner does not know how to restart itself.
If the selected lightserver does not respond, the miner terminates with code 3.
This allows you to re-run it with another random lightserver from the config.
We suggest running tonlib-*-cli
with an automatic restart in one of two ways:
Ready-to-use batch files can be found here: https://github.com/tontechio/pow-miner-win-util
TBD