]> Git Repo - cpuminer-multi.git/blame - README.md
add x16s algo (PigeonCoin) (#26)
[cpuminer-multi.git] / README.md
CommitLineData
6dc12f7e 1CPUMiner-Multi
d8505482
LJ
2==============
3
322e5b63 4[![Build Status](https://travis-ci.org/tpruvot/cpuminer-multi.svg)](https://travis-ci.org/tpruvot/cpuminer-multi)
d8505482 5
c1ae82fb 6This is a multi-threaded CPU miner,
c5c01d8f 7fork of [pooler](//github.com/pooler)'s cpuminer (see AUTHORS for list of contributors).
b089cc9f 8
c4eff723
LJ
9#### Table of contents
10
11* [Algorithms](#algorithms)
12* [Dependencies](#dependencies)
13* [Download](#download)
14* [Build](#build)
15* [Usage instructions](#usage-instructions)
16* [Donations](#donations)
17* [Credits](#credits)
18* [License](#license)
19
c1ae82fb
LJ
20Algorithms
21==========
22#### Currently supported
f5b2e506 23 * ✓ __scrypt__ (Litecoin, Dogecoin, Feathercoin, ...)
e7670e80 24 * ✓ __scrypt:N__
86310939 25 * ✓ __scrypt-jane:N__
f5b2e506 26 * ✓ __sha256d__ (Bitcoin, Freicoin, Peercoin/PPCoin, Terracoin, ...)
36cf7afa 27 * ✓ __axiom__ (Axiom Shabal-256 based MemoHash)
86310939 28 * ✓ __bastion__ (Joincoin [J])
052fd5ba 29 * ✓ __bitcore__ Permuted serie of 10 algos (BitCore)
ba2fbc77 30 * ✓ __blake__ (Saffron [SFR] Blake-256)
b693a9a2 31 * ✓ __blake2s__ (NevaCoin Blake2-S 256)
c08d1035 32 * ✓ __bmw__ (Midnight [MDT] BMW-256)
f64d3702 33 * ✓ __cryptonight__ (Bytecoin [BCN], Monero [XMR])
8e320888 34 * ✓ __cryptonight-light__ (Aeon)
10016762 35 * ✓ __decred__ (Blake256-14 [DCR])
ba2fbc77 36 * ✓ __dmd-gr__ (Diamond-Groestl)
9f3083cd 37 * ✓ __fresh__ (FreshCoin)
ba2fbc77 38 * ✓ __groestl__ (Groestlcoin)
4123f4c1 39 * ✓ __jha__ (JackpotCoin, SweepStake)
f9345a59 40 * ✓ __lbry__ (LBRY Credits [LBC])
f64d3702 41 * ✓ __lyra2RE__ (Cryptocoin)
bd6e439f 42 * ✓ __lyra2REv2__ (VertCoin [VTC])
f64d3702 43 * ✓ __myr-gr__ Myriad-Groestl (MyriadCoin [MYR])
9f3083cd 44 * ✓ __neoscrypt__ (Feathercoin)
f5b2e506 45 * ✓ __nist5__ (MistCoin [MIC], TalkCoin [TAC], ...)
9f3083cd 46 * ✓ __pentablake__ (Joincoin)
6dc12f7e 47 * ✓ __pluck__ (Supcoin [SUP])
a7deef24 48 * ✓ __quark__ (Quarkcoin)
f64d3702 49 * ✓ __qubit__ (GeoCoin)
2fb53659 50 * ✓ __skein__ (Skeincoin, Myriadcoin, Xedoscoin, ...)
6dc12f7e 51 * ✓ __skein2__ (Woodcoin)
98a5c874 52 * ✓ __s3__ (OneCoin)
2c4214ad 53 * ✓ __sia__ (Reversed Blake2B for SIA [SC])
f64d3702 54 * ✓ __sib__ X11 + gost streebog (SibCoin)
9fff60e7 55 * ✓ __timetravel__ Permuted serie of 8 algos (MachineCoin [MAC])
7495361e 56 * ✓ __tribus__ 3 of the top NIST5 algos (Denarius [DNR])
2712075e 57 * ✓ __vanilla__ (Blake-256 8-rounds - double sha256 [VNL])
f64d3702 58 * ✓ __veltor__ (Veltor [VLT])
052fd5ba 59 * ✓ __xevan__ x17 x 2 on bigger header (BitSend [BSD])
22dd788c 60 * ✓ __x11evo__ (Revolver [XRE])
f5b2e506
TP
61 * ✓ __x11__ (Darkcoin [DRK], Hirocoin, Limecoin, ...)
62 * ✓ __x13__ (Sherlockcoin, [ACE], [B2B], [GRC], [XHC], ...)
8eb0a06c 63 * ✓ __x14__ (X14, Webcoin [WEB])
4b5c6daf 64 * ✓ __x15__ (RadianceCoin [RCE])
4073fd4a 65 * ✓ __x16r__ (Ravencoin [RVN])
10016762 66 * ✓ __x17__ (Verge [XVG])
f64d3702 67 * ✓ __yescrypt__ (GlobalBoostY [BSTY], Unitus [UIS], MyriadCoin [MYR])
6dc12f7e 68 * ✓ __zr5__ (Ziftrcoin [ZRC])
f3fada3c 69
ef228fba 70#### Implemented, but untested
f3fada3c 71 * ? hefty1 (Heavycoin)
2fb53659 72 * ? keccak (Maxcoin HelixCoin, CryptoMeth, Galleon, 365coin, Slothcoin, BitcointalkCoin)
0e432988 73 * ? keccakc (Creativecoin)
2fb53659 74 * ? luffa (Joincoin, Doomcoin)
f3fada3c 75 * ? shavite3 (INKcoin)
9f2325fc 76
c1ae82fb 77#### Planned support for
c1ae82fb 78 * *scrypt-jane* (YaCoin, CopperBars, Pennies, Tickets, etc..)
ba2fbc77 79
c1ae82fb
LJ
80Dependencies
81============
bd6e439f
TP
82 * libcurl http://curl.haxx.se/libcurl/
83 * jansson http://www.digip.org/jansson/ (jansson source is included in-tree)
84 * openssl libcrypto https://www.openssl.org/
85 * pthreads
86 * zlib (for curl/ssl)
b089cc9f 87
c1ae82fb
LJ
88Download
89========
bd6e439f
TP
90 * Windows releases: https://github.com/tpruvot/cpuminer-multi/releases
91 * Git tree: https://github.com/tpruvot/cpuminer-multi
92 * Clone with `git clone https://github.com/tpruvot/cpuminer-multi`
c1ae82fb
LJ
93
94Build
95=====
96
33a4f224 97#### Basic *nix build instructions:
3477cb1e 98 * just use `./build.sh`
bd6e439f 99_OR_
3477cb1e
FC
100
101```
102 ./autogen.sh # only needed if building from git repo
103 ./nomacro.pl # only needed if building on Mac OS X or with Clang
104 ./configure CFLAGS="*-march=native*" --with-crypto --with-curl
105 # Use -march=native if building for a single machine
106 make
107```
33a4f224 108
86310939 109#### Note for Debian/Ubuntu users:
3477cb1e
FC
110
111```
112 apt-get install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev make g++
113```
86310939 114
af7bef86 115#### Note for pi64 users:
29d94e8d
A
116
117```
118 ./configure --disable-assembly CFLAGS="-Ofast -march=native" --with-crypto --with-curl
119```
120
33a4f224
LJ
121#### Notes for AIX users:
122 * To build a 64-bit binary, export OBJECT_MODE=64
123 * GNU-style long options are not supported, but are accessible via configuration file
124
3967e063 125#### Basic Windows build with Visual Studio 2013
126 * All the required .lib files are now included in tree (windows only)
756db9e3 127 * AVX enabled by default for x64 platform (AVX2 and XOP could also be used)
3967e063 128
bd6e439f
TP
129#### Basic Windows build instructions, using MinGW64:
130 * Install MinGW64 and the MSYS Developer Tool Kit (http://www.mingw.org/)
33a4f224 131 * Make sure you have mstcpip.h in MinGW\include
bd6e439f 132 * install pthreads-w64
33a4f224
LJ
133 * Install libcurl devel (http://curl.haxx.se/download.html)
134 * Make sure you have libcurl.m4 in MinGW\share\aclocal
135 * Make sure you have curl-config in MinGW\bin
fcb039bd 136 * Install openssl devel (https://www.openssl.org/related/binaries.html)
33a4f224 137 * In the MSYS shell, run:
3477cb1e
FC
138 * for 64bit, you can use `./mingw64.sh` else :
139 `./autogen.sh # only needed if building from git repo`
140 ```
141 LIBCURL="-lcurldll" ./configure CFLAGS="*-march=native*"
142 # Use -march=native if building for a single machine
143 make
144 ```
33a4f224
LJ
145
146#### Architecture-specific notes:
147 * ARM:
148 * No runtime CPU detection. The miner can take advantage of some instructions specific to ARMv5E and later processors, but the decision whether to use them is made at compile time, based on compiler-defined macros.
3477cb1e 149 * To use NEON instructions, add `"-mfpu=neon"` to CFLAGS.
33a4f224
LJ
150 * x86:
151 * The miner checks for SSE2 instructions support at runtime, and uses them if they are available.
152 * x86-64:
153 * The miner can take advantage of AVX, AVX2 and XOP instructions, but only if both the CPU and the operating system support them.
154 * Linux supports AVX starting from kernel version 2.6.30.
155 * FreeBSD supports AVX starting with 9.1-RELEASE.
156 * Mac OS X added AVX support in the 10.6.8 update.
157 * Windows supports AVX starting from Windows 7 SP1 and Windows Server 2008 R2 SP1.
158 * The configure script outputs a warning if the assembler doesn't support some instruction sets. In that case, the miner can still be built, but unavailable optimizations are left off.
b089cc9f 159
c1ae82fb
LJ
160Usage instructions
161==================
e7670e80 162Run "cpuminer --help" to see options.
b089cc9f 163
33a4f224
LJ
164### Connecting through a proxy
165
166Use the --proxy option.
167
168To use a SOCKS proxy, add a socks4:// or socks5:// prefix to the proxy host
169Protocols socks4a and socks5h, allowing remote name resolving, are also available since libcurl 7.18.0.
170
171If no protocol is specified, the proxy is assumed to be a HTTP proxy.
172When the --proxy option is not used, the program honors the http_proxy and all_proxy environment variables.
c4eff723
LJ
173
174Donations
175=========
15f243e7
TP
176Donations for the work done in this fork are accepted :
177
588f5d90
TP
178Tanguy Pruvot :
179* BTC: `1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd`
15f243e7
TP
180
181Lucas Jones :
c4eff723
LJ
182* MRO: `472haywQKoxFzf7asaQ4XKBc2foAY4ezk8HiN63ifW4iAbJiLnfmJfhHSR9XmVKw2WYPnszJV9MEHj9Z5WMK9VCNHaGLDmJ`
183* BTC: `139QWoktddChHsZMWZFxmBva4FM96X2dhE`
184
185Credits
186=======
826bf04d
TP
187CPUMiner-multi was forked from pooler's CPUMiner, and has been started by Lucas Jones.
188* [tpruvot](https://github.com/tpruvot) added all the recent features and newer algorythmns
4b5c6daf 189* [Wolf9466](https://github.com/wolf9466) helped with Intel AES-NI support for CryptoNight
c4eff723
LJ
190
191License
192=======
193GPLv2. See COPYING for details.
This page took 0.071454 seconds and 4 git commands to generate.