/Autolykos-cl-probability

Autolyko's Version 2 with probablility modifications ( in-testing, please send me results? )

Primary LanguageC++MIT LicenseMIT

OpenCL Miner for Autolykos v2 (Ergo) for AMD GPUs

OpenCL miner for ergoplatform.com

You can find CUDA miner at: CUDA miner

Quick Pooled Mining Start

  1. Download the miner for desired OS.

  2. Run the ErgoStratumProxy executable (Bundled with the miner release)

  • In Windows PowerShell:
.\ErgoStratumProxy.exe -s <POOL_ADDRESS> -p <POOL_PORT> -u <WORKER_NAME>
  • In linux:
./ErgoStratumProxy_Linux -s <POOL_ADDRESS> -p <POOL_PORT> -u <WORKER_NAME>
  1. Run the miner
  • If neccessary, edit config.json; set node address to the proxy's address (by default this address is: {"node":"http://127.0.0.1:3000"})

HTTP Info

Miner has a HTTP info page located at http://miningnode:36207 (one can change default port by adding -DHTTPAPI_PORT XXXX to Makefile).

It outputs total hashrate, and per-GPU hashrates, power usages and temperatures in JSON format (relies on NVML, can fail if NVML fails - if so, JSON contains error field).

Build

Requirements (Linux)

  1. Installing AMDGPU PRO driver for Ubuntu.

Download AMDGPU-PRO package for your Linux distribution from amd.com, upack the downloaded file and run:

 $ amdgpu-pro-install --opencl=legacy,pal --headless
  1. Opencl headers
$ sudo apt-get install opencl-headers
  1. libcurl library: to install run
$ apt install libcurl4-openssl-dev
  1. OpenSSL 1.0.2 library: to install run
$ apt install libssl-dev

Requirements (Windows)

Build (Linux)

  • Change directory to Ubuntu

  • Run make

  • If make completed successfully there will appear an executable Autolykos2_AMD_Miner/Ubuntu/ErgoOpenCL that can start with ./ErgoOpenCL

Build (Windows)

  • using visual studio

  • add OpenCL , LibCurl , OpenSSl libreries

  • Include Directories:

  • Additional Include Directories:

  • Additional Library Directories:

  • Additional Dependencies:

Configuration

These files must be in the same folder as Executable file:

  • Miningkernel.cl
  • Prehashkernel.cl
  • Ocldecs.h
  • Ocldefs.h
  • Libcurl.dll( in windows)::: There is a libcurl.dll file in the win64 folder, use it or better replace it with your own built file
  • Config.json

Change the config.json file with your node's address.

Stratum Proxy

In order to use this miner with a stratum pool, a stratum proxy is needed.

  • Download Ergo Stratum Proxy
  • Run proxy
  • In the miner's config file set node address to the proxy's address (by default this address is: { "node" : "http://127.0.0.1:3000" })

Donations and Support

Note that the miner is free to use and we do not charge any fee from what you mine. To support all the work we're doing, we welcome donations from ERGO miners!

Bitcoin: 3KkwygpCLs1oEi9aTozFxYunoASV6ZrykJ

Bitcoin: bc1q7flay376e5mcp4ljjxpdp7r6p8yajcjm5mu6wd

ERGO: 9fFUw6DqRuyFCv13nQyoDuDz4TiR4GvVvWRcSvqzs39eBVcb5S1