Optimized multi algo CPU miner
C Assembly C++ Objective-C Roff NSIS Other
Clone or download
Latest commit bfd1c00 May 11, 2018
Permalink
Failed to load latest commit information.
algo v3.8.8.1 May 11, 2018
api v3.4.8-dev Sep 27, 2016
asm v3.8.2 Feb 15, 2018
compat v3.4.8-dev Sep 27, 2016
crypto v3.8.0 Jan 24, 2018
m4 v3.5.1 Jan 23, 2017
res Initial upload v3.4.7 Sep 22, 2016
.gitattributes Initial upload v3.4.7 Sep 22, 2016
.gitignore v3.6.6 Jul 1, 2017
.travis.yml Initial upload v3.4.7 Sep 22, 2016
AUTHORS v3.8.8.1 May 11, 2018
Android.mk Initial upload v3.4.7 Sep 22, 2016
COPYING Initial upload v3.4.7 Sep 22, 2016
ChangeLog Initial upload v3.4.7 Sep 22, 2016
Dockerfile v3.7.3 Nov 21, 2017
LICENSE Initial upload v3.4.7 Sep 22, 2016
Makefile.am v3.8.5 Mar 28, 2018
README.md v3.8.8.1 May 11, 2018
README.txt v3.8.8.1 May 11, 2018
RELEASE_NOTES v3.8.8.1 May 11, 2018
aclocal.m4 v3.8.8.1 May 11, 2018
algo-gate-api.c v3.8.8.1 May 11, 2018
algo-gate-api.h v3.8.7 Apr 9, 2018
api.c v3.8.4 Mar 18, 2018
autogen.sh Initial upload v3.4.7 Sep 22, 2016
avxdefs.h v3.8.8.1 May 11, 2018
bitcoin-config.h Initial upload v3.4.7 Sep 22, 2016
build-allarch.sh v3.8.8.1 May 11, 2018
build.sh v3.8.2.1 Feb 17, 2018
buildjdd.sh v3.8.2.1 Feb 17, 2018
comp.log Initial upload v3.4.7 Sep 22, 2016
compat.h Initial upload v3.4.7 Sep 22, 2016
configure v3.8.8.1 May 11, 2018
configure.ac v3.8.8.1 May 11, 2018
cpu-miner.c v3.8.8.1 May 11, 2018
cpuminer-conf.json Initial upload v3.4.7 Sep 22, 2016
cpuminer.1 Initial upload v3.4.7 Sep 22, 2016
cpuminer.nsi Initial upload v3.4.7 Sep 22, 2016
cpuminer.sln Initial upload v3.4.7 Sep 22, 2016
cpuminer.vcxproj Initial upload v3.4.7 Sep 22, 2016
cpuminer.vcxproj.filters Initial upload v3.4.7 Sep 22, 2016
elist.h Initial upload v3.4.7 Sep 22, 2016
interleave.h v3.8.8.1 May 11, 2018
miner.h v3.8.8.1 May 11, 2018
mingw64.sh Initial upload v3.4.7 Sep 22, 2016
nomacro.pl Initial upload v3.4.7 Sep 22, 2016
sysinfos.c v3.8.7 Apr 9, 2018
uint256.cpp Initial upload v3.4.7 Sep 22, 2016
uint256.h Initial upload v3.4.7 Sep 22, 2016
util.c v3.7.3 Nov 21, 2017
winbuild-cross.sh v3.8.8.1 May 11, 2018

README.md

cpuminer-opt is a fork of cpuminer-multi by TPruvot with optimizations imported from other miners developped by lucas Jones, djm34, Wolf0, pooler, Jeff garzik, ig0tik3d, elmad, palmd, and Optiminer, with additional optimizations by Jay D Dee.

All of the code is believed to be open and free. If anyone has a claim to any of it post your case in the cpuminer-opt Bitcoin Talk forum or by email.

Miner programs are often flagged as malware by antivirus programs. This is a false positive, they are flagged simply because they are cryptocurrency miners. The source code is open for anyone to inspect. If you don't trust the software, don't use it.

https://bitcointalk.org/index.php?topic=1326803.0

mailto://jayddee246@gmail.com

See file RELEASE_NOTES for change log and compile instructions.

Requirements

  1. A x86_64 architecture CPU with a minimum of SSE2 support. This includes Intel Core2 and newer and AMD equivalents. In order to take advantage of AES_NI optimizations a CPU with AES_NI is required. This includes Intel Westbridge and newer and AMD equivalents. Further optimizations are available on some algoritms for CPUs with AVX and AVX2, Sandybridge and Haswell respectively.

Older CPUs are supported by cpuminer-multi by TPruvot but at reduced performance.

ARM CPUs are not supported.

  1. 64 bit Linux OS. Ubuntu and Fedora based distributions, including Mint and Centos, are known to work and have all dependencies in their repositories. Others may work but may require more effort. Older versions such as Centos 6 don't work due to missing features. 64 bit Windows OS is supported with mingw_w64 and msys or pre-built binaries.

MacOS, OSx and Android are not supported.

  1. Stratum pool. Some algos may work wallet mining using getwork or GBT. YMMV.

Supported Algorithms

                      allium        Garlicoin
                      anime         Animecoin
                      argon2        Argon2 coin (AR2)
                      argon2d250    argon2d-crds, Credits (CRDS)
                      argon2d500    argon2d-dyn,  Dynamic (DYN)
                      argon2d4096   argon2d-uis, Unitus, (UIS)
                      axiom         Shabal-256 MemoHash
                      bastion
                      blake         Blake-256 (SFR)
                      blakecoin     blake256r8
                      blake2s       Blake-2 S
                      bmw           BMW 256
                      c11           Chaincoin
                      cryptolight   Cryptonight-light
                      cryptonight  
                      cryptonightv7 Monero (XMR)
                      decred
                      deep          Deepcoin (DCN)
                      dmd-gr        Diamond-Groestl
                      drop          Dropcoin
                      fresh         Fresh
                      groestl       Groestl coin
                      heavy         Heavy
                      hmq1725       Espers
                      hodl          Hodlcoin
                      jha           Jackpotcoin
                      keccak        Maxcoin
                      keccakc       Creative coin
                      lbry          LBC, LBRY Credits
                      luffa         Luffa
                      lyra2h        Hppcoin
                      lyra2re       lyra2
                      lyra2rev2     lyra2v2, Vertcoin
                      lyra2z        Zcoin (XZC)
                      lyra2z330     Lyra2 330 rows, Zoin (ZOI)
                      m7m           Magi (XMG)
                      myr-gr        Myriad-Groestl
                      neoscrypt     NeoScrypt(128, 2, 1)
                      nist5         Nist5
                      pentablake    Pentablake
                      phi1612       phi, LUX coin
                      pluck         Pluck:128 (Supcoin)
                      polytimos     Ninja
                      quark         Quark
                      qubit         Qubit
                      scrypt        scrypt(1024, 1, 1) (default)
                      scrypt:N      scrypt(N, 1, 1)
                      scryptjane:nf
                      sha256d       Double SHA-256
                      sha256t       Triple SHA-256, Onecoin (OC)
                      shavite3      Shavite3
                      skein         Skein+Sha (Skeincoin)
                      skein2        Double Skein (Woodcoin)
                      skunk         Signatum (SIGT)
                      timetravel    Machinecoin (MAC)
                      timetravel10  Bitcore
                      tribus        Denarius (DNR)
                      vanilla       blake256r8vnl (VCash)
                      veltor        (VLT)
                      whirlpool
                      whirlpoolx
                      x11           Dash
                      x11evo        Revolvercoin
                      x11gost       sib (SibCoin)
                      x12           Galaxie Cash (GCH)
                      x13           X13
                      x13sm3        hsr (Hshare)
                      x14           X14
                      x15           X15
                      x16r          Ravencoin (RVN)
                      x16s          pigeoncoin (PGN)
                      x17
                      xevan         Bitsend (BSD)
                      yescrypt      Globalboost-Y (BSTY)
                      yescryptr8    BitZeny (ZNY)
                      yescryptr16   Yenten (YTN)
                      yescryptr32   WAVI
                      zr5           Ziftr

Errata

Neoscrypt crashes on Windows, use legacy version.

AMD CPUs older than Piledriver, including Athlon x2 and Phenom II x4, are not supported by cpuminer-opt due to an incompatible implementation of SSE2 on these CPUs. Some algos may crash the miner with an invalid instruction. Users are recommended to use an unoptimized miner such as cpuminer-multi.

cpuminer-opt does not work mining Decred algo at Nicehash and produces only "invalid extranonce2 size" rejects.

Benchmark testing does not work for x11evo.

Bugs

Users are encouraged to post their bug reports on the Bitcoin Talk forum at:

https://bitcointalk.org/index.php?topic=1326803.0

All problem reports must be accompanied by a proper definition. This should include how the problem occurred, the command line and output from the miner showing the startup and any errors.

Donations

cpuminer-opt has no fees of any kind but donations are accepted.

BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0 LTC: LdUwoHJnux9r9EKqFWNvAi45kQompHk6e8 BCH: 1QKYkB6atn4P7RFozyziAXLEnurwnUM1cQ BTG: GVUyECtRHeC5D58z9F3nGGfVQndwnsPnHQ

Happy mining!