Skip to content

Equihash miner supporting multiple algorithms and coins like Zcash, Zero, Hush, Minexcoin and Bitcoin Gold

Notifications You must be signed in to change notification settings

pcollinsca47/OptiminerEquihash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Optiminer/Equihash

GPU miner for Equihash supporting many coins. A (probably incomplete) list:

  • Zcash (-a equihash200_9)
  • Bitcoin Gold (-a equihash200_9)
  • Hush (-a equihash200_9)
  • Zero (-a equihash192_7)
  • Minexcoin (-a equihash96_5)
  • Kommodo (-a equihash200_9)

This is a replacement for the previous versions of separate miners for Zcash and Zero. Unifying all three variants of Equihash used by different coins ([N,K]=[200,9] / [192,7] / [96,6]) into a single binary simplifies further development on all variants.

Note that depending on the Equihash parameters the amount of GPU memory needed varies a lot:

  • equihash200_9: >512MB
  • equihash192_7: >6GB
  • equihash96_5: >32MB

Due to the high solution rates achieved with equihash96_5 the CPU demans are higher. Take this into account when putting 5 or more cards into a rig!

v2.0.0

Download Linux 64bit

optiminer-equihash-2.0.0.tar.gz sha256sum 8d6617b070b4ea23e106e8e9627731b3dee62fc85606414d27e0521506182f3f

Recommended Drivers

Linux

  • fgrlx 15.30.3 for all GCN 1st-3rd gen cards
  • amdgpu-pro 16.40.5 for GCN 4th gen cards (RX4*0)

There is currently no support for AMD Vega cards!

Features

Supports:

  • Linux 64bit only.
  • AMD GCN cards.
  • NVidia (equihash192_7 and equihash96_5 only).

Mining Speed (stock card, net rates)

The miner contains a 1.0% fee for supporting the developer. All shown hash rates are net rate, i.e., with fee deducted. What you see is what YOU get!

AMD R9 Nano

  • Equihash200_9: 450 S/s (with powertune +50)
  • Equihash96_5: 10200 S/s

AMD R9 290X

  • Equihash200_9: 311 S/s

AMD RX 480

  • Equihash200_9: 290 S/s
  • Equihash192_7: 9 S/s
  • Equihash96_5: 7700 S/s

NVidia GTX 1080

  • Equihash192_7: 8 S/s
  • Equihash96_5: 7400 S/s

Usage:

Run from the archive root directory:

$ ./optiminer-equihash -s eu1-zcash.flypool.org:3333 -a equihash200_9 \
                       -u t1Yszagk1jBjdyPfs2GxXx1GWcfn6fdTuFJ.example -p password 

For a list of all options run with -h:

$ ./optiminer-equihash -h

There are also 'mine_zcash.sh', 'mine_zero.sh' and 'mine_mnx.sh' scripts for running it under Unix. Just edit the pool and user settings before running!

Secure connection

Since version 1.0.0, the miner supports ZStratum protocol over TLS to encrypt the connection to the mining pool. Currently, this is only supported with some pools, e.g., flypool and supernova.

Use zstratum+tls:// as prefix to the pool address, e.g.,

$ ./optiminer-equihash -s zstratum+tls://eu1-zcash.flypool.org:3443 -a equihash200_9 \
                       -u t1Yszagk1jBjdyPfs2GxXx1GWcfn6fdTuFJ.example -p password 

Troubleshooting

Intensity

There is the intensity option (-i). Higher intensity generally means faster hashing. But if it is too high, the miner might crash or have very poor performance. The miner tries to auto-detect the best intensity for your card but you can experiment with different values.

E.g., adding -i 2 to command line sets intensity to 2 for all cards. If you have multiple card you can specify one -i for each card, e.g., if you have four cards -i 3 -i 4 -i 4 -i 3 (same order as -d). An intensity value of 0 means auto-detect.

As the memory requirements differ a lot depending on the equihash parameters the optimal value for intensity differs a lot too.

`GLIBCXX_3.4.20' not found on Ubuntu 14.04

Install the required libstc++:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test 
sudo apt-get update
sudo apt-get install libstdc++6

Failed to read bin/XXX.bin

You need to run the miner from the directroy where optiminer-equihash is in otherwise it will not find the opencl kernel.

libOpenCL.so.1 cannot open object

There is a problem with your OpenCL installation. Make sure that there is a symlink /usr/lib/libOpenCL.so.1 that points to the OpenCL library on your system.

[error] OpenCL error: cl::Context::Context() (CL_DEVICE_NOT_FOUND)

Either you have specified a wrong device / platform combination or there is a problem with your OpenCL setup.

By default platform id 0 is used. You can specify a different platform by adding '-c N' to the command line where N is a small number (try 0,1,2).

Restarting X might help to re-initialize the graphic driver under Linux.

Internal error: Link failed

This can happen if you use an unsupported version of the graphic driver. Try updating to the newest driver or use --force-generic-kernel to get a slower implementation that also runs on older drivers.

Installing catalyst 15.12 on Windows

  • Download and run the AMD driver cleanup
  • Download and install "Download Windows 10 64-bit (Desktop)" from here. You need to scroll down to find the download links.
  • Reboot.

Changelog

  • [2.0.0] Dev fee lowered to 1%.
  • [2.0.0] Added equihash96_5 for Minexcoin.
  • [2.0.0] Unified miner for Zero and Zcash.

About

Equihash miner supporting multiple algorithms and coins like Zcash, Zero, Hush, Minexcoin and Bitcoin Gold

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages