1
0
mirror of https://github.com/GOSTSec/ccminer synced 2025-01-08 22:07:56 +00:00
GOSTcoin support for ccminer CUDA miner project, compatible with most nvidia cards
Go to file
Tanguy Pruvot 8cf21599d4 Interface nicehash djeZo equihash solver (squashed)
Todo:
    - send block height via stratum protocol (encoded in jobid?)
    - remove equi/blake2 cpu algorithm to use common one

the extranonce imcompatibility is related to the solver nonce data,
offsets may be reversed in nheqminer, to check...

The solver was adapted for SM 3.0+ support (no perf changes)

Note: The solver was not improved on purpose, to be able compare
the two miners performances (nheqminer 0.5c the last open sourced, and ccminer)

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>

stratum: code cleanup, move equi fns in equi folder
2017-05-23 23:54:35 +02:00
Algo256 blake2s fix and more missing cuda arch (for the benchmarks) 2017-03-08 13:13:52 +01:00
api api: use MHz for all clocks and show plimit 2017-02-06 06:50:38 +01:00
compat Interface nicehash djeZo equihash solver (squashed) 2017-05-23 23:54:35 +02:00
crypto Improve project build compatibility (mac/vs2015) 2017-05-09 05:56:28 +02:00
equi Interface nicehash djeZo equihash solver (squashed) 2017-05-23 23:54:35 +02:00
heavy bastion algo 2017-03-07 20:10:26 +01:00
JHA fix quark and jackpot algos 2017-05-14 11:35:27 +02:00
lbry Add missing real cuda arch checks 2017-03-08 09:19:10 +01:00
lyra2 fix various memory leaks on algo switch 2017-03-11 11:19:20 +01:00
neoscrypt blake2s fix and more missing cuda arch (for the benchmarks) 2017-03-08 13:13:52 +01:00
quark fix quark and jackpot algos 2017-05-14 11:35:27 +02:00
qubit timetravel algo 2017-03-07 20:16:15 +01:00
res rewrite jha algo to be more compatible 2017-05-08 08:03:55 +02:00
scrypt Improve project build compatibility (mac/vs2015) 2017-05-09 05:56:28 +02:00
sha256 Add sha256d algo (bitcoin) btw... 2017-03-11 15:29:21 +01:00
sia api: report per thread cpu hash checks (ACC/REJ) 2017-02-07 06:26:02 +01:00
sph Add sha256d algo (bitcoin) btw... 2017-03-11 15:29:21 +01:00
x11 bitcore algo for linux users 2017-05-03 11:12:50 +02:00
x13 api: report per thread cpu hash checks (ACC/REJ) 2017-02-07 06:26:02 +01:00
x15 vstudio: remove remains, move sha in tree 2017-04-23 17:02:27 +02:00
x17 hmq1725 algo 2017-03-07 16:26:27 +01:00
.gitignore import xmr, to finish 2017-01-07 01:40:59 +01:00
algos.h Interface nicehash djeZo equihash solver (squashed) 2017-05-23 23:54:35 +02:00
api.cpp Interface nicehash djeZo equihash solver (squashed) 2017-05-23 23:54:35 +02:00
autogen.sh commit initial version 0.1 2014-03-18 22:17:40 +01:00
bench.cpp fix quark and jackpot algos 2017-05-14 11:35:27 +02:00
bignum.cpp scanlog: remember sharediff for multiple nonces 2017-01-09 18:40:00 +01:00
bignum.hpp bignum: some x64 warning fixes (vstudio) 2015-12-18 19:48:53 +01:00
build.cmd enhance 64bit builds performance 2015-03-05 18:18:56 +01:00
build.sh Makefile: use the CUDA_CFLAGS var 2014-09-04 12:01:22 +02:00
ccminer.conf Handle a default config file (ccminer.conf) 2015-02-11 01:34:56 +01:00
ccminer.cpp Interface nicehash djeZo equihash solver (squashed) 2017-05-23 23:54:35 +02:00
ccminer.sln Implement x14 (cuda + cpu functions) 2014-08-12 14:47:03 +02:00
ccminer.vcxproj Interface nicehash djeZo equihash solver (squashed) 2017-05-23 23:54:35 +02:00
ccminer.vcxproj.filters Interface nicehash djeZo equihash solver (squashed) 2017-05-23 23:54:35 +02:00
compat.h some changes to prepare 1.8 and VS2015 support 2016-05-28 06:27:41 +02:00
compile update autoconf scripts 2015-08-23 06:36:14 +02:00
config.guess update autoconf scripts 2015-08-23 06:36:14 +02:00
configure.ac Interface nicehash djeZo equihash solver (squashed) 2017-05-23 23:54:35 +02:00
configure.sh xmr: fix decimal diff + aes cleanup 2017-01-08 21:16:45 +00:00
crc32.c Put CRC-32 function in a new unit 2014-09-06 19:41:48 +02:00
cuda_checkhash.cu various changes, cleanup for the release 2015-11-04 14:59:59 +01:00
cuda_debug.cuh whirlpool midstate and debug/trace defines 2016-01-01 10:40:26 +01:00
cuda_fugue256.h various changes, cleanup for the release 2015-11-04 14:59:59 +01:00
cuda_groestlcoin.cu groestl: same, remove useless host alloc 2016-07-05 11:15:06 +02:00
cuda_groestlcoin.h groestl: same, remove useless host alloc 2016-07-05 11:15:06 +02:00
cuda_helper.h xmr: vstudio warning fix about mpcount linkage 2017-01-25 21:16:31 +00:00
cuda_myriadgroestl.cu myr-gr: handle a second nonce & more cleanup 2016-07-05 13:06:51 +02:00
cuda_skeincoin.cu algos: free allocated mem for algo switch 2015-10-08 21:35:30 +02:00
cuda_vector_uint2x4.h lyra2(v1): use a common uint2x4 include 2015-10-23 15:25:24 +02:00
cuda_vectors.h whirlpool: upgrade with alexis variant (2x) 2017-03-08 08:04:56 +01:00
cuda.cpp cuda: ensure the system can find the right lib 2017-02-17 19:00:51 +01:00
elist.h Revision 0.6 with myriad-groestl and jackpot coin 2014-04-27 01:26:08 +02:00
fuguecoin.cpp Show intensity on init for all algos 2016-09-27 00:33:06 +02:00
groestlcoin.cpp api: report per thread cpu hash checks (ACC/REJ) 2017-02-07 06:26:02 +01:00
hashlog.cpp scanlog: remember sharediff for multiple nonces 2017-01-09 18:40:00 +01:00
hefty1.c Revision 0.6 with myriad-groestl and jackpot coin 2014-04-27 01:26:08 +02:00
hefty1.h Revision 0.6 with myriad-groestl and jackpot coin 2014-04-27 01:26:08 +02:00
INSTALL Improve project build compatibility (mac/vs2015) 2017-05-09 05:56:28 +02:00
install-sh update autoconf scripts 2015-08-23 06:36:14 +02:00
LICENSE.txt commit initial version 0.1 2014-03-18 22:17:40 +01:00
Makefile.am Interface nicehash djeZo equihash solver (squashed) 2017-05-23 23:54:35 +02:00
miner.h Interface nicehash djeZo equihash solver (squashed) 2017-05-23 23:54:35 +02:00
myriadgroestl.cpp api: report per thread cpu hash checks (ACC/REJ) 2017-02-07 06:26:02 +01:00
nvapi.cpp nvapi: fan level, for future use... maybe 2016-07-01 20:13:47 +02:00
nvml.cpp nvapi: fix plimit argument on x64 2017-05-07 12:09:55 +02:00
nvml.h nvml: show product ids and pci bus in ccminer -D -n 2017-05-06 02:00:24 +02:00
pentablake.cu api: report per thread cpu hash checks (ACC/REJ) 2017-02-07 06:26:02 +01:00
pools.conf Restore default timeout (300s) for normal use 2015-08-22 12:30:30 +02:00
pools.cpp handle cryptonight light variant 2017-01-09 18:30:59 +01:00
README.md release 1.7.2 2016-02-11 07:28:23 +01:00
README.txt ccminer 2.0 final 2017-05-14 11:40:46 +02:00
scrypt-jane.cpp Show intensity on init for all algos 2016-09-27 00:33:06 +02:00
scrypt.cpp Improve project build compatibility (mac/vs2015) 2017-05-09 05:56:28 +02:00
serialize.hpp Improve project build compatibility (mac/vs2015) 2017-05-09 05:56:28 +02:00
skein2.cpp api: report per thread cpu hash checks (ACC/REJ) 2017-02-07 06:26:02 +01:00
skein.cu Add missing real cuda arch checks 2017-03-08 09:19:10 +01:00
stats.cpp algos: move cmdline algo/alias parser in a func 2015-10-15 08:49:40 +02:00
sysinfos.cpp api: add scanlog command to monitor scan ranges 2014-11-24 20:26:41 +01:00
uint256.h commit initial version 0.1 2014-03-18 22:17:40 +01:00
util.cpp Interface nicehash djeZo equihash solver (squashed) 2017-05-23 23:54:35 +02:00
zr5.cu api: report per thread cpu hash checks (ACC/REJ) 2017-02-07 06:26:02 +01:00

ccminer

Based on Christian Buchner's & Christian H.'s CUDA project, no more active on github recently.

Fork by tpruvot@github with X14,X15,X17,Blake256,BlakeCoin,Lyra2RE,Skein,ZR5 and others, check the README.txt

BTC donation address: 1AJdfCpLWPNoAMDfHF1wD5y8VgKSSTHxPo tip for next commit

A part of the recent algos were originally written by djm34.

This variant was tested and built on Linux (ubuntu server 14.04) and VStudio 2013 on Windows 7.

Note that the x86 releases are generally faster than x64 ones on Windows.

The recommended CUDA Toolkit version is 6.5.19, but some light algos could be faster with the version 7.5 (like blake and skein).

About source code dependencies

This project requires some libraries to be built :

  • OpenSSL (prebuilt for win)

  • Curl (prebuilt for win)

  • pthreads (prebuilt for win)

The tree now contains recent prebuilt openssl and curl .lib for both x86 and x64 platforms (windows).

To rebuild them, you need to clone this repository and its submodules : git clone https://github.com/peters/curl-for-windows.git compat/curl-for-windows

On Linux, you can use the helper ./build.sh (edit it if required)

There is also an old Tutorial for windows on CudaMining website.