Difference between revisions of "HowTo run vProgPoW GPU Miner"

From Veriblock Wiki
Jump to: navigation, search
 
Line 27: Line 27:
 
## '''VeriBlock Address''' ('''NOTE: Make sure you change the default testing address to your address, or you will not receive the VBK that you mine!''')  
 
## '''VeriBlock Address''' ('''NOTE: Make sure you change the default testing address to your address, or you will not receive the VBK that you mine!''')  
 
## '''Pool information''' (or leave on the default devpool option)
 
## '''Pool information''' (or leave on the default devpool option)
## (If you have more than one card, or want to mine on specific cards) the GPUs configured for mining on (ex: --cuda-devices 0 1 2)
+
## (If you have more than one card, or want to mine on specific cards) the '''GPUs configured for mining on''' (ex: --cuda-devices 0 1 2)
 
# Run `miner-veriblock-*.bat`
 
# Run `miner-veriblock-*.bat`
  

Latest revision as of 20:32, 21 September 2020

See: ProgPoW

Overview

vProgPoW operation information

List of community pools: Community Pool List

Source code: https://github.com/VeriBlock/ProgPoW-miner

Please share issues and feedback: https://github.com/VeriBlock/ProgPoW-miner/issues

Download NodeCore 0.4.10 package (if you want to run your own pool or solo mine):

https://github.com/VeriBlock/nodecore-releases/releases/download/v0.4.10/veriblock-nodecore-all-0.4.10.zip

Explorer:

https://explore.veriblock.org/network-stats

Quick Start for Windows

  1. Download package for CUDA 10.2 or CUDA 11, depending on your system.
  2. Update `miner-veriblock-*.bat` with your:
    1. VeriBlock Address (NOTE: Make sure you change the default testing address to your address, or you will not receive the VBK that you mine!)
    2. Pool information (or leave on the default devpool option)
    3. (If you have more than one card, or want to mine on specific cards) the GPUs configured for mining on (ex: --cuda-devices 0 1 2)
  3. Run `miner-veriblock-*.bat`

Package

Windows

Binary:

Compile from source:

Building ProgPoW on Windows:
Install Visual Studio 2017 (With C++ Build Requirements)
Install CUDA Toolkit 10.2 or 11.0 (If 10.2, remove the line "-gencode arch=compute_80,code=sm_80" in ProgPoW-miner/libethash-cuda/CMakeLists.txt)
Install CMake for Windows (put on path when prompted during the installation, or manually add C:\Program Files\CMake\bin to %PATH%)
Install Strawberry Perl (installer should automatically add to path)
git clone https://github.com/VeriBlock/ProgPoW-miner
cd ProgPoW-miner
git submodule update --init --recursive
Put compile script (see below) outside of the ProgPoW-miner directory (ex: if ProgPoW-miner is in C:/User/You/ProgPoW-miner, then compile script goes in C:/User/You/compile.bat)
Execute compile script (it may take up to 1 hr the first time it runs!)
Open ProgPoW-miner/build/ethminer.sln in Visual Studio, change from 'Debug' to 'Release' (Make sure it's on x64)
Build -> All
Binaries (ethminer.exe) should appear in ProgPoW-miner\build\ethminer\Release

Windows compile script (put this in a file compile.bat directly above the ProgPoW-miner directory and run it):

@echo off
setlocal

rem add MSVC in PATH
call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\Common7\Tools\VsMSBuildCmd.bat"

rem add Perl in PATH; it's needed for OpenSSL build
set "PERL_PATH=C:\Strawberry\perl\bin"
set "PATH=%PERL_PATH%;%PATH%"

rem switch to ethminer's source folder
cd "%~dp0\ProgPoW-miner\"

if not exist "build\" mkdir "build\"

rem For CUDA 9.x pass also `-T v140`
cmake -Thost=x64 -G "Visual Studio 15 2017 Win64" -H. -Bbuild -DETHASHCL=ON -DETHASHCUDA=ON -DAPICORE=ON ..
cmake -Thost=x64 --build . --config Release --target package

endlocal
pause

Linux

Binary:

Compile from source:

git clone https://github.com/VeriBlock/ProgPoW-miner
cd ProgPOW-miner
git submodule update --init --recursive
mkdir build
cd build
cmake .. -DETHASHCUDA=ON
make -sj8

Pool

If anyone is interested in making their own pool, it is the same steps as before:

HowTo_run_and_connect_to_PoW_Miner_pool

This will need an updated NodeCore instance, which will be provided.

List of Pools

Also see:

https://wiki.veriblock.org/index.php/List_of_mining_pools