|
|
|
|
|
|
|
ccMiner release 1.5.1-tpruvot (16 Dec 2014) - "Vertcoin Lyra2"
|
|
|
|
---------------------------------------------------------------
|
|
|
|
|
|
|
|
***************************************************************
|
|
|
|
If you find this tool useful and like to support its continued
|
|
|
|
development, then consider a donation.
|
|
|
|
|
|
|
|
tpruvot@github:
|
|
|
|
BTC donation address: 1AJdfCpLWPNoAMDfHF1wD5y8VgKSSTHxPo
|
|
|
|
DRK : XeVrkPrWB7pDbdFLfKhF1Z3xpqhsx6wkH3
|
|
|
|
NEOS : NaEcVrdzoCWHUYXb7X8QoafoKS9UV69Yk4
|
|
|
|
XST : S9TqZucWgT6ajZLDBxQnHUtmkotCEHn9z9
|
|
|
|
|
|
|
|
DJM34:
|
|
|
|
BTC donation address: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze
|
|
|
|
|
|
|
|
cbuchner v1.2:
|
|
|
|
LTC donation address: LKS1WDKGED647msBQfLBHV3Ls8sveGncnm
|
|
|
|
BTC donation address: 16hJF5mceSojnTD3ZTUDqdRhDyPJzoRakM
|
|
|
|
|
|
|
|
***************************************************************
|
|
|
|
|
|
|
|
>>> Introduction <<<
|
|
|
|
|
|
|
|
This is a CUDA accelerated mining application which handle :
|
|
|
|
|
|
|
|
HeavyCoin & MjollnirCoin
|
|
|
|
FugueCoin
|
|
|
|
GroestlCoin & Myriad-Groestl
|
|
|
|
JackpotCoin
|
|
|
|
QuarkCoin family & AnimeCoin
|
|
|
|
TalkCoin
|
|
|
|
DarkCoin and other X11 coins
|
|
|
|
NEOS blake (256 14-rounds)
|
|
|
|
BlakeCoin (256 8-rounds)
|
|
|
|
Keccak (Maxcoin)
|
|
|
|
Deep, Doom and Qubit
|
|
|
|
Pentablake (Blake 512 x5)
|
|
|
|
S3 (OneCoin)
|
|
|
|
Lyra2RE (new VertCoin algo)
|
|
|
|
|
|
|
|
where some of these coins have a VERY NOTABLE nVidia advantage
|
|
|
|
over competing AMD (OpenCL Only) implementations.
|
|
|
|
|
|
|
|
We did not take a big effort on improving usability, so please set
|
|
|
|
your parameters carefuly.
|
|
|
|
|
|
|
|
THIS PROGRAMM IS PROVIDED "AS-IS", USE IT AT YOUR OWN RISK!
|
|
|
|
|
|
|
|
If you're interessted and read the source-code, please excuse
|
|
|
|
that the most of our comments are in german.
|
|
|
|
|
|
|
|
>>> Command Line Interface <<<
|
|
|
|
|
|
|
|
This code is based on the pooler cpuminer 2.3.2 release and inherits
|
|
|
|
its command line interface and options.
|
|
|
|
|
|
|
|
-a, --algo=ALGO specify the algorithm to use
|
|
|
|
anime use to mine Animecoin
|
|
|
|
blake use to mine NEOS (Blake 256)
|
|
|
|
blakecoin use to mine Old Blake 256
|
|
|
|
deep use to mine Deepcoin
|
|
|
|
dmd-gr use to mine Diamond-Groestl
|
|
|
|
fresh use to mine Freshcoin
|
|
|
|
fugue256 use to mine Fuguecoin
|
|
|
|
groestl use to mine Groestlcoin
|
|
|
|
heavy use to mine Heavycoin
|
|
|
|
jackpot use to mine Jackpotcoin
|
|
|
|
keccak use to mine Maxcoin
|
|
|
|
luffa use to mine Doomcoin
|
|
|
|
lyra2 use to mine Vertcoin
|
|
|
|
mjollnir use to mine Mjollnircoin
|
|
|
|
myr-gr use to mine Myriad-Groest
|
|
|
|
nist5 use to mine TalkCoin
|
|
|
|
penta use to mine Joincoin / Pentablake
|
|
|
|
quark use to mine Quarkcoin
|
|
|
|
qubit use to mine Qubit Algo
|
|
|
|
s3 use to mine 1coin
|
|
|
|
whirl use to mine Whirlcoin
|
|
|
|
x11 use to mine DarkCoin
|
|
|
|
x14 use to mine X14Coin
|
|
|
|
x15 use to mine Halcyon
|
|
|
|
x17 use to mine X17
|
|
|
|
|
|
|
|
-d, --devices gives a comma separated list of CUDA device IDs
|
|
|
|
to operate on. Device IDs start counting from 0!
|
|
|
|
Alternatively give string names of your card like
|
|
|
|
gtx780ti or gt640#2 (matching 2nd gt640 in the PC).
|
|
|
|
|
|
|
|
-i, --intensity GPU threads per call 8-31 (default: 0=auto)
|
|
|
|
Decimals are allowed for fine tuning
|
|
|
|
-f, --diff Divide difficulty by this factor (std is 1)
|
|
|
|
-v, --vote Heavycoin block vote (default: 512)
|
|
|
|
-o, --url=URL URL of mining server
|
|
|
|
-O, --userpass=U:P username:password pair for mining server
|
|
|
|
-u, --user=USERNAME username for mining server
|
|
|
|
-p, --pass=PASSWORD password for mining server
|
|
|
|
--cert=FILE certificate for mining server using SSL
|
|
|
|
-x, --proxy=[PROTOCOL://]HOST[:PORT] connect through a proxy
|
|
|
|
-t, --threads=N number of miner threads (default: number of nVidia GPUs in your system)
|
|
|
|
-r, --retries=N number of times to retry if a network call fails
|
|
|
|
(default: retry indefinitely)
|
|
|
|
-R, --retry-pause=N time to pause between retries, in seconds (default: 15)
|
|
|
|
-T, --timeout=N network timeout, in seconds (default: 270)
|
|
|
|
-s, --scantime=N upper bound on time spent scanning current work when
|
|
|
|
long polling is unavailable, in seconds (default: 5)
|
|
|
|
-N, --statsavg number of samples used to display hashrate (default: 30)
|
|
|
|
--no-gbt disable getblocktemplate support (height check in solo)
|
|
|
|
--no-longpoll disable X-Long-Polling support
|
|
|
|
--no-stratum disable X-Stratum support
|
|
|
|
-q, --quiet disable per-thread hashmeter output
|
|
|
|
-D, --debug enable debug output
|
|
|
|
-P, --protocol-dump verbose dump of protocol-level activities
|
|
|
|
-b, --api-bind IP/Port for the miner API (default: 127.0.0.1:4068)
|
|
|
|
--benchmark run in offline benchmark mode
|
|
|
|
--cputest debug hashes from cpu algorithms
|
|
|
|
-c, --config=FILE load a JSON-format configuration file
|
|
|
|
--no-color disable colored console output
|
|
|
|
-V, --version display version information and exit
|
|
|
|
-h, --help display this help text and exit
|
|
|
|
|
|
|
|
|
|
|
|
>>> Examples <<<
|
|
|
|
|
|
|
|
|
|
|
|
Example for Heavycoin Mining on heavycoinpool.com with a single gpu in your system
|
|
|
|
ccminer -t 1 -a heavy -o stratum+tcp://stratum01.heavycoinpool.com:5333 -u <<username.worker>> -p <<workerpassword>> -v 8
|
|
|
|
|
|
|
|
|
|
|
|
Example for Heavycoin Mining on hvc.1gh.com with a dual gpu in your system
|
|
|
|
ccminer -t 2 -a heavy -o stratum+tcp://hvcpool.1gh.com:5333/ -u <<WALLET>> -p x -v 8
|
|
|
|
|
|
|
|
|
|
|
|
Example for Fuguecoin solo-mining with 4 gpu's in your system and a Fuguecoin-wallet running on localhost
|
|
|
|
ccminer -q -s 1 -t 4 -a fugue256 -o http://localhost:9089/ -u <<myusername>> -p <<mypassword>>
|
|
|
|
|
|
|
|
|
|
|
|
Example for Fuguecoin pool mining on dwarfpool.com with all your GPUs
|
|
|
|
ccminer -q -a fugue256 -o stratum+tcp://erebor.dwarfpool.com:3340/ -u YOURWALLETADDRESS.1 -p YOUREMAILADDRESS
|
|
|
|
|
|
|
|
|
|
|
|
Example for Groestlcoin solo mining
|
|
|
|
ccminer -q -s 1 -a groestl -o http://127.0.0.1:1441/ -u USERNAME -p PASSWORD
|
|
|
|
|
|
|
|
|
|
|
|
For solo-mining you typically use -o http://127.0.0.1:xxxx where xxxx represents
|
|
|
|
the rpcport number specified in your wallet's .conf file and you have to pass the same username
|
|
|
|
and password with -O (or -u -p) as specified in the wallet config.
|
|
|
|
|
|
|
|
The wallet must also be started with the -server option and/or with the server=1 flag in the .conf file
|
|
|
|
|
|
|
|
|
|
|
|
>>> API and Monitoring <<<
|
|
|
|
|
|
|
|
With the -b parameter you can open your ccminer to your network, use -b 0.0.0.0:4068 if required.
|
|
|
|
On windows, setting 0.0.0.0 will ask firewall permissions on the first launch. Its normal.
|
|
|
|
|
|
|
|
Default API feature is only enabled for localhost queries by default, on port 4068.
|
|
|
|
|
|
|
|
You can test this api on linux with "telnet <miner-ip> 4068" and type "help" to list the commands.
|
|
|
|
Default api format is delimited text. If required a php json wrapper is present in api/ folder.
|
|
|
|
|
|
|
|
I plan to add a json format later, if requests are formatted in json too..
|
|
|
|
|
|
|
|
|
|
|
|
>>> Additional Notes <<<
|
|
|
|
|
|
|
|
This code should be running on nVidia GPUs ranging from compute capability
|
|
|
|
3.0 up to compute capability 3.5. Support for Compute 2.0 has been dropped
|
|
|
|
so we can more efficiently implement new algorithms using the latest hardware
|
|
|
|
features.
|
|
|
|
|
|
|
|
>>> RELEASE HISTORY <<<
|
|
|
|
|
|
|
|
Dec. 2014 v1.5.1 (not released yet!)
|
|
|
|
Add lyra2 algo for Vertcoin (Release is 16 Dec 2014)
|
|
|
|
Multiple shares support (2 for the moment)
|
|
|
|
X11 optimisations (From klaust and sp-hash)
|
|
|
|
HTML5 WebSocket api compatibility (see api/websocket.htm)
|
|
|
|
Solo mode height checks with getblocktemplate rpc calls
|
|
|
|
|
|
|
|
Nov. 27th 2014 v1.5.0
|
|
|
|
Upgrade compat jansson to 2.6 (for windows)
|
|
|
|
Add pool mining.set_extranonce support
|
|
|
|
Allow intermediate intensity with decimals
|
|
|
|
Update prebuilt x86 openssl lib to 1.0.1i
|
|
|
|
Fix heavy algo on linux (broken since 1.4)
|
|
|
|
Some internal changes to use the C++ compiler
|
|
|
|
New API 1.2 with some new commands (read only)
|
|
|
|
Add some of sp x11/x15 optimisations (and tsiv x13)
|
|
|
|
|
|
|
|
Nov. 15th 2014 v1.4.9
|
|
|
|
Support of nvml and nvapi(windows) to monitor gpus
|
|
|
|
Fix (again) displayed hashrate for multi gpus systems
|
|
|
|
Average is now made by card (30 scans of the card)
|
|
|
|
Final API v1.1 (new fields + histo command)
|
|
|
|
Add support of telnet queries "telnet 127.0.0.1 4068"
|
|
|
|
add histo api command to get performance debug details
|
|
|
|
Add a rig sample php ui using json wrapper (php)
|
|
|
|
Restore quark/jackpot previous speed (differently)
|
|
|
|
|
|
|
|
Nov. 12th 2014 v1.4.8
|
|
|
|
Add a basic API and a sample php json wrapper
|
|
|
|
Add statsavg (def 20) and api-bind parameters
|
|
|
|
|
|
|
|
Nov. 11th 2014 v1.4.7
|
|
|
|
Average hashrate (based on the 20 last scans)
|
|
|
|
Rewrite blake algo
|
|
|
|
Add the -i (gpu threads/intensity parameter)
|
|
|
|
Add some X11 optimisations based on sp_ commits
|
|
|
|
Fix quark reported hashrate and benchmark mode for some algos
|
|
|
|
Enhance json config file param (int/float/false) (-c config.json)
|
|
|
|
Update windows prebuilt curl to 7.38.0
|
|
|
|
|
|
|
|
Oct. 26th 2014 v1.4.6
|
|
|
|
Add S3 algo reusing existing code (onecoin)
|
|
|
|
Small X11 (simd512) enhancement
|
|
|
|
|
|
|
|
Oct. 20th 2014 v1.4.5
|
|
|
|
Add keccak algo from djm34 repo (maxcoin)
|
|
|
|
Curl 7.35 and OpenSSL are now included in the binary (and win tree)
|
|
|
|
Enhance windows terminal support (--help was broken)
|
|
|
|
|
|
|
|
Sep. 27th 2014 v1.4.4
|
|
|
|
First SM 5.2 Release (GTX 970 & 980)
|
|
|
|
CUDA Runtime included in binary
|
|
|
|
Colors enabled by default
|
|
|
|
|
|
|
|
Sep. 10th 2014 v1.4.3
|
|
|
|
Add algos from djm34 repo (deep, doom, qubit)
|
|
|
|
Goalcoin seems to be dead, not imported.
|
|
|
|
Create also the pentablake algo (5x Blake 512)
|
|
|
|
|
|
|
|
Sept 6th 2014 Almost twice the speed on blake256 algos with the "midstate" cache
|
|
|
|
|
|
|
|
Sep. 1st 2014 add X17, optimized x15 and whirl
|
|
|
|
add blake (256 variant)
|
|
|
|
color support on Windows,
|
|
|
|
remove some dll dependencies (pthreads, msvcp)
|
|
|
|
|
|
|
|
Aug. 18th 2014 add X14, X15, Whirl, and Fresh algos,
|
|
|
|
also add colors and nvprof cmd line support
|
|
|
|
|
|
|
|
June 15th 2014 add X13 and Diamond Groestl support.
|
|
|
|
Thanks to tsiv and to Bombadil for the contributions!
|
|
|
|
|
|
|
|
June 14th 2014 released Killer Groestl quad version which I deem
|
|
|
|
sufficiently hard to port over to AMD. It isn't
|
|
|
|
the fastest option for Compute 3.5 and 5.0 cards,
|
|
|
|
but it is still much faster than the table based
|
|
|
|
versions.
|
|
|
|
|
|
|
|
May 10th 2014 added X11, but without the bells & whistles
|
|
|
|
(no killer Groestl, SIMD hash quite slow still)
|
|
|
|
|
|
|
|
May 6th 2014 this adds the quark and animecoin algorithms.
|
|
|
|
|
|
|
|
May 3rd 2014 add the MjollnirCoin hash algorithm for the upcomin
|
|
|
|
MjollnirCoin relaunch.
|
|
|
|
|
|
|
|
Add the -f (--diff) option to adjust the difficulty
|
|
|
|
e.g. for the erebor Dwarfpool myr-gr SaffronCoin pool.
|
|
|
|
Use -f 256 there.
|
|
|
|
|
|
|
|
May 1st 2014 adapt the Jackpot algorithms to changes made by the
|
|
|
|
coin developers. We keep our unique nVidia advantage
|
|
|
|
because we have a way to break up the divergence.
|
|
|
|
NOTE: Jackpot Hash now requires Compute 3.0 or later.
|
|
|
|
|
|
|
|
April, 27 2014 this release adds Myriad-Groestl and Jackpot Coin.
|
|
|
|
we apply an optimization to Jackpot that turns this
|
|
|
|
into a Keccak-only CUDA coin ;) Jackpot is tested with
|
|
|
|
solo--mining only at the moment.
|
|
|
|
|
|
|
|
March, 27 2014 Heavycoin exchange rates soar, and as a result this coin
|
|
|
|
gets some love: We greatly optimized the Hefty1 kernel
|
|
|
|
for speed. Expect some hefty gains, especially on 750Ti's!
|
|
|
|
|
|
|
|
By popular demand, we added the -d option as known from
|
|
|
|
cudaminer.
|
|
|
|
|
|
|
|
different compute capability builds are now provided until
|
|
|
|
we figure out how to pack everything into a single executable
|
|
|
|
in a Windows build.
|
|
|
|
|
|
|
|
March, 24 2014 fixed Groestl pool support
|
|
|
|
|
|
|
|
went back to Compute 1.x for cuda_hefty1.cu kernel by
|
|
|
|
default after numerous reports of ccminer v0.2/v0.3
|
|
|
|
not working with HeavyCoin for some people.
|
|
|
|
|
|
|
|
March, 23 2014 added Groestlcoin support. stratum status unknown
|
|
|
|
(the only pool is currently down for fixing issues)
|
|
|
|
|
|
|
|
March, 21 2014 use of shared memory in Fugue256 kernel boosts hash rates
|
|
|
|
on Fermi and Maxwell devices. Kepler may suffer slightly
|
|
|
|
(3-5%)
|
|
|
|
|
|
|
|
Fixed Stratum for Fuguecoin. Tested on dwarfpool.
|
|
|
|
|
|
|
|
March, 18 2014 initial release.
|
|
|
|
|
|
|
|
|
|
|
|
>>> AUTHORS <<<
|
|
|
|
|
|
|
|
Notable contributors to this application are:
|
|
|
|
|
|
|
|
Christian Buchner, Christian H. (Germany): Initial CUDA implementation
|
|
|
|
|
|
|
|
djm34, tsiv, sp for cuda algos implementation and optimisation
|
|
|
|
|
|
|
|
Tanguy Pruvot : 750Ti tuning, blake, colors, general code cleanup/opts
|
|
|
|
API monitoring, linux Config/Makefile and vstudio stuff...
|
|
|
|
|
|
|
|
and also many thanks to anyone else who contributed to the original
|
|
|
|
cpuminer application (Jeff Garzik, pooler), it's original HVC-fork
|
|
|
|
and the HVC-fork available at hvc.1gh.com
|
|
|
|
|
|
|
|
Source code is included to satisfy GNU GPL V3 requirements.
|
|
|
|
|
|
|
|
|
|
|
|
With kind regards,
|
|
|
|
|
|
|
|
Christian Buchner ( Christian.Buchner@gmail.com )
|
|
|
|
Christian H. ( Chris84 )
|
|
|
|
Tanguy Pruvot ( tpruvot@github )
|