You have to mine with getblocktemplate and as I said earlier you need to provide an address to mine to, here's an example of how to mine using NSGMiner 0.9.3. The main thing here is to add --coinbase-addr, the miner now constructs the entire block so it needs to know the coinbase address. In 0.9 and below getwork let the client create the blocks which added an address to the block, getblocktemplate gives more control to miners.
nsgminer --neoscrypt -w 128 -I 13 -o http://127.0.0.1:9888 -u username -p P4V5fgq3 --no-getwork --no-stratum --verbose --text-only --coinbase-addr BuWudvgPv9ni5iZR1yqSkqiPuvtESoLzqd
Please make sure that you are running NSGMiner 0.9.3 as the previous version 0.9.2 does not work with getblocktemplate.
https://github.com/ghostlander/nsgminer/releases/tag/nsgminer-v0.9.3Thank you for your help,
this works great now:
C:\mining\miners\nsgminer>nsgminer.exe --neoscrypt -w 128 -I 13 -o
http://127.0.0.1:9888 -u ufocoinrpc -p tutu --no-getwork --no-stratum --verbose --text-only --coinbase-addr toto
[2017-11-30 21:14:47] Started nsgminer 0.9.3
[21:14:48] OpenCL platform 0 vendor: NVIDIA Corporation
[21:14:48] OpenCL platform 0 name: NVIDIA CUDA
[21:14:48] OpenCL platform 0 version: OpenCL 1.2 CUDA 9.0.191
[21:14:48] Platform 0 devices: 5
[21:14:48] 0 GeForce GTX 1070
[21:14:48] 1 GeForce GTX 1070
[21:14:48] 2 GeForce GTX 1070
[21:14:48] 3 GeForce GTX 1070
[21:14:48] 4 GeForce GTX 1070
[21:14:48] Probing for an alive pool
[21:14:48] Testing pool
http://127.0.0.1:9888[21:14:48] Selected getblocktemplate protocol for pool 0
[21:14:48] The network difficulty has been set to 5374
[21:14:48] Pool 0
http://127.0.0.1:9888 active
[21:14:48] Long-polling activated for
http://127.0.0.1:9888 (getblocktemplate)
[21:14:48] New block 0x147BA8BB4653520A diff 5.37K
[21:14:48] Init GPU thread 0 GPU 0 virtual GPU 0
[21:14:48] OpenCL platform vendor: NVIDIA Corporation
[21:14:48] OpenCL platform name: NVIDIA CUDA
[21:14:48] OpenCL platform version: OpenCL 1.2 CUDA 9.0.191
[21:14:48] List of devices:
[21:14:48] 0 GeForce GTX 1070
[21:14:48] 1 GeForce GTX 1070
[21:14:48] 2 GeForce GTX 1070
[21:14:48] 3 GeForce GTX 1070
[21:14:48] 4 GeForce GTX 1070
[21:14:48] Selected 0: GeForce GTX 1070
[21:14:48] Activated NVIDIA management for GPU 0
[21:14:49] Selecting the default NeoScrypt kernel
[21:14:50] Initialising kernel neoscrypt.cl without bitalign, 1 vectors and worksize 128
[21:14:50] initCl() finished. Found GeForce GTX 1070
[21:14:50] Init GPU thread 1 GPU 1 virtual GPU 1
[21:14:50] OpenCL platform vendor: NVIDIA Corporation
[21:14:50] OpenCL platform name: NVIDIA CUDA
[21:14:50] OpenCL platform version: OpenCL 1.2 CUDA 9.0.191
[21:14:50] List of devices:
[21:14:50] 0 GeForce GTX 1070
[21:14:50] 1 GeForce GTX 1070
[21:14:50] 2 GeForce GTX 1070
[21:14:50] 3 GeForce GTX 1070
[21:14:50] 4 GeForce GTX 1070
[21:14:50] Selected 1: GeForce GTX 1070
[21:14:50] Activated NVIDIA management for GPU 1
[21:14:51] Selecting the default NeoScrypt kernel
[21:14:51] Initialising kernel neoscrypt.cl without bitalign, 1 vectors and worksize 128
[21:14:51] initCl() finished. Found GeForce GTX 1070
[21:14:51] Init GPU thread 2 GPU 2 virtual GPU 2
[21:14:51] OpenCL platform vendor: NVIDIA Corporation
[21:14:51] OpenCL platform name: NVIDIA CUDA
[21:14:51] OpenCL platform version: OpenCL 1.2 CUDA 9.0.191
[21:14:51] List of devices:
[21:14:51] 0 GeForce GTX 1070
[21:14:51] 1 GeForce GTX 1070
[21:14:51] 2 GeForce GTX 1070
[21:14:51] 3 GeForce GTX 1070
[21:14:51] 4 GeForce GTX 1070
[21:14:51] Selected 2: GeForce GTX 1070
[21:14:51] Activated NVIDIA management for GPU 2
[21:14:53] Selecting the default NeoScrypt kernel
[21:14:53] Initialising kernel neoscrypt.cl without bitalign, 1 vectors and worksize 128
[21:14:53] initCl() finished. Found GeForce GTX 1070
[21:14:53] Init GPU thread 3 GPU 3 virtual GPU 3
[21:14:53] OpenCL platform vendor: NVIDIA Corporation
[21:14:53] OpenCL platform name: NVIDIA CUDA
[21:14:53] OpenCL platform version: OpenCL 1.2 CUDA 9.0.191
[21:14:53] List of devices:
[21:14:53] 0 GeForce GTX 1070
[21:14:53] 1 GeForce GTX 1070
[21:14:53] 2 GeForce GTX 1070
[21:14:53] 3 GeForce GTX 1070
[21:14:53] 4 GeForce GTX 1070
[21:14:53] Selected 3: GeForce GTX 1070
[21:14:53] Activated NVIDIA management for GPU 3
[21:14:55] Selecting the default NeoScrypt kernel
[21:14:55] Initialising kernel neoscrypt.cl without bitalign, 1 vectors and worksize 128
[21:14:55] initCl() finished. Found GeForce GTX 1070
[21:14:55] Init GPU thread 4 GPU 4 virtual GPU 4
[21:14:55] OpenCL platform vendor: NVIDIA Corporation
[21:14:55] OpenCL platform name: NVIDIA CUDA
[21:14:55] OpenCL platform version: OpenCL 1.2 CUDA 9.0.191
[21:14:55] List of devices:
[21:14:55] 0 GeForce GTX 1070
[21:14:55] 1 GeForce GTX 1070
[21:14:55] 2 GeForce GTX 1070
[21:14:55] 3 GeForce GTX 1070
[21:14:55] 4 GeForce GTX 1070
[21:14:55] Selected 4: GeForce GTX 1070
[21:14:55] Activated NVIDIA management for GPU 4
[21:14:58] Selecting the default NeoScrypt kernel
[21:14:58] Initialising kernel neoscrypt.cl without bitalign, 1 vectors and worksize 128
[21:14:58] initCl() finished. Found GeForce GTX 1070
[21:14:58] 5 GPU mining threads started
[21:15:15] The network difficulty has been set to 5340
[21:15:15] New block 0x1EAC1E18EBDF5A2F diff 5.34K
[21:15:15] LP from pool 0 detected a new block 0x1EAC1E18EBDF5A2F...