Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
bin
logs Add proper logging and a welcome message to client Jun 26, 2019
.gitignore
README.md
config_parse.py
dpow_client.py
logger.py
requirements.txt
run_windows.bat
work_handler.py Using pop/try_remove and logging ignores to debug only Jun 30, 2019

README.md

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

  1. Edit the file run_windows.bat with your desired configuration (including the work-server GPU config).
  2. Double-click the same file, which should eventually open two terminals. You must leave them running in the foreground. You can minimize but not close them (sorry!).
You can’t perform that action at this time.