Skip to content
This repository has been archived by the owner on Mar 12, 2022. It is now read-only.

Latest commit

 

History

History
47 lines (35 loc) · 1.93 KB

README.md

File metadata and controls

47 lines (35 loc) · 1.93 KB

Nano DPoW Client

These steps will guide you on how to setup a new work client. The nano-work-server provided is based on nanocurrency/nano-work-server. Only this work server is fully supported.

Setup

Requirements

  1. Python 3.6.7 or higher.

Installation

  • Download the latest version and extract.
  • Open a console under nano-dpow/client. On Windows, shift + right-click and "Open Powershell window here".
  • pip3 install --user -r requirements.txt

Running

You need to find out what your GPU vendor/device numbers are if you're going to be using a GPU. Usually it will be either 0:0, 0:1, or 1:0, depending on how many you have (including integrated graphics).

Linux

  1. Install required library
sudo apt install ocl-icd-libopencl1
  1. Check ./bin/linux/nano-work-server --help for information on how to select your GPU (or CPU).
  2. Run the work server:
./bin/linux/nano-work-server --gpu 0:0 -l 127.0.0.1:7000
  1. Check the client configuration options with python3 dpow_client.py --help
  2. Run the client:
python3 dpow_client.py --payout YOUR_NANO_ADDRESS --work {ondemand,precache,any}

Windows

Running as a CMD process

  1. Edit the file run_windows.bat with your desired DPoW client configuration.
  2. Run (double-click) the file run_windows.bat

Running in the background

NOTE: There is no (easy) way to stop the client once started, other than by restarting the PC. It is also recommended that you test your config with the non-background version first, as errors won't provide any output.

  1. Edit the file run_windows.bat with your desired DPoW client configuration.
  2. Edit the file run_windows_background.vbs to change your GPU settings (if necessary).
  3. Run (double-click) the file run_windows_background.vbs.