1
0
mirror of https://github.com/GOSTSec/ccminer synced 2025-01-09 22:38:05 +00:00
Commit Graph

155 Commits

Author SHA1 Message Date
Tanguy Pruvot
047e79a9fc api: add meminfo query to debug mem storages 2014-11-17 16:17:53 +01:00
Tanguy Pruvot
6a9b8a5ab2 hashlog: use work objects, put struct in miner.h 2014-11-17 15:58:11 +01:00
Tanguy Pruvot
dca216f992 min() and max(a,b) are not defined on linux,
in fact max exists in jansson includes (in tree only)

Add them to miner.h
2014-11-17 00:23:18 +01:00
Tanguy Pruvot
3652c708b9 api: add histo command and difficulty
enhance multi-gpu stats and fix nvapi indexes

change syslog prefix to ccminer (cpuminer remains)

api 1.1 modified - not officially released yet
2014-11-14 19:09:48 +01:00
Tanguy Pruvot
49f3c454c2 Add nvml for GPU monitoring (squashed)
Based on mwhite73 <marvin.white@gmail.com> implementation

  Linked to the api system

  Also fix Makefile to support standard c++ files
  This prevent nvcc use without device code

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2014-11-13 14:36:18 +01:00
Tanguy Pruvot
11a4bb1797 api: changes in data, global stuff in summary
PS: still under dev, wait the final 1.4.8 ;)
2014-11-12 16:49:44 +01:00
Tanguy Pruvot
4958ce6007 api: add a basic stats api on port 2068
you can use PHP api-example.php as a json wrapper...

to be tested on windows...

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2014-11-12 12:23:11 +01:00
Tanguy Pruvot
66845a9b36 vstudio: fix intellisense base types warnings 2014-11-11 20:19:50 +01:00
Tanguy Pruvot
ec709af62f Store and display average hashrate (benchmark + on share)
Displayed data is the average of the last 50 scans in the 5 last minutes

Also move cuda common functions in a new file (cuda.cu)

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2014-11-11 16:43:23 +01:00
Tanguy Pruvot
9f62014690 Add intensity parameter (-i 0:31)
Like cgminer, the value equals to 1 << n
if 0, we keep the default value defined in algo (19 for Xn algos)

19 = 524288 threads per gpu call

GTX 970 and 980 handle a higher number of threads compared to the 750 Ti

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2014-11-09 22:21:11 +01:00
Tanguy Pruvot
4c3964539f Fix vc debug builds, missing symbols 2014-11-06 17:42:01 +01:00
Tanguy Pruvot
12fafd5687 Try to reconnect on pool duplicates
reduce log announces and define uchar in miner.h
2014-11-04 15:14:24 +01:00
Tanguy Pruvot
5bc969fa57 Some work on data alignment
linux: add -march=native (we build it ourself) and some other flags

+ remove unused vars (seen with -Wall)
2014-11-03 16:40:13 +01:00
Tanguy Pruvot
6169bf683b Add S3 Algo (1Coin)
Simple addition of the algo using existing X11 code
2014-10-26 09:10:58 +01:00
Tanguy Pruvot
0720797f1b Add proper keccak-256 (maxcoin)
Cleaned from djm34 repo, tuned for the 750 Ti
2014-10-17 06:46:20 +02:00
Tanguy Pruvot
cdc29336f7 stats: compute work difficulty from target 2014-09-30 10:03:12 +02:00
Tanguy Pruvot
4f326576d2 implement X-Mining-Hashrate header
remove midstate extension, seems only used in sha256/scrypt

and prepare noncerange, need a pool which supports that to finish...
2014-09-29 08:24:12 +02:00
Tanguy Pruvot
799b230af2 enhance solo mining, update http headers
and prepare next version...
2014-09-28 15:34:44 +02:00
Tanguy Pruvot
9efe0b965d blake: only use high part of target on gpu
Add another few MH/s boost :)
2014-09-13 00:15:34 +02:00
Tanguy Pruvot
c3eb66683a Import djm34 qubit, deep and doom algos
Indent, and put commonly used functions proto. in cuda_helper.h

And add them to --cputest function

Also change the color option to --nocolor, -C is no more needed

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
(Which is tired to remove these german copy/pasted comments)
2014-09-10 00:26:55 +02:00
Tanguy Pruvot
13bb9d267e Remove debug rpc, already exists with -P 2014-09-09 21:59:03 +02:00
Tanguy Pruvot
cec5baea95 enable colors by default, except for syslog
debug: show compared hash diffs in color
2014-09-09 21:59:03 +02:00
Tanguy Pruvot
402e416853 Add pentablake algo (-a penta)
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2014-09-09 21:58:58 +02:00
Tanguy Pruvot
b98239ec2a hashlog: enhance scan range store and debug dump 2014-09-05 20:01:50 +02:00
Tanguy Pruvot
5682b7d241 blake: add also blakecoin (8-rounds) variant 2014-09-05 19:12:29 +02:00
Tanguy Pruvot
033fb5745c Release v1.4 with blake 2014-09-05 08:20:19 +02:00
Tanguy Pruvot
2ebfb546a6 clean extra logs, show bloc height on new jobs 2014-09-04 13:27:41 +02:00
Tanguy Pruvot
806c3e8691 enhance double scan checks 2014-09-04 11:11:39 +02:00
Tanguy Pruvot
a270adc4b6 to test on windows 2014-09-03 22:13:07 +02:00
Tanguy Pruvot
69616b37ac hashlog: prepare store of scanned range 2014-09-03 14:49:13 +02:00
Tanguy Pruvot
b1f5df374d stratum: store server time offset in context 2014-09-03 14:49:09 +02:00
Tanguy Pruvot
1a4391d7ff hashlog: prevent double computing on jobs already done 2014-09-03 12:20:24 +02:00
Tanguy Pruvot
2d42ae6de5 stratum: handle a small cache of submitted jobs
Prevent to send duplicated shares on some pools like hashharder..

This cache keeps submitted job/nounces of the last 15 minutes

so, remove exit on repeated duplicate shares,
    the submitted cache now handles this problem.

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2014-09-02 08:01:26 +02:00
Tanguy Pruvot
1b8c3c12fa debug: a new boolean to log or not json rpc data 2014-09-02 03:38:57 +02:00
Tanguy Pruvot
1f99aae0ff exit on repeated duplicate shares (to enhance)
create a new function proper_exit() to do common stuff on exit...
2014-09-01 20:28:34 +02:00
Tanguy Pruvot
1fb9becc1f cpu-miner: sort algos by name, show reject reason 2014-09-01 09:50:19 +02:00
Tanguy Pruvot
c17d11e377 add "blake" 256, 14 rounds (for NEOS blake, not BlakeCoin)
also remove "missing" file, its old and not compatible with ubuntu 14.04
2014-09-01 05:53:36 +02:00
Tanguy Pruvot
ba7b6ba1a0 cputest: simplified func to print hashes with algo names
add a prefixed printf with some colors
2014-08-31 00:00:06 +02:00
Tanguy Pruvot
64e8cd3f98 add x17 algo, cleaned djm34 commit
todo: visual studio...
2014-08-23 22:44:17 +02:00
Tanguy Pruvot
0867fb15c6 output: add the --color parameter (-C)
disabled by default or if syslog option is set

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2014-08-22 16:52:39 +02:00
Tanguy Pruvot
1fbcbbacc4 Add whirlcoin and optimize x11 luffa (maxrregcount) 2014-08-20 07:49:22 +02:00
Tanguy Pruvot
bc2eb75758 Add fresh algo (based on djm34 code)
Cleaned up and adapted to my changes (cputest added)

Remove Makefile.in which should be in gitignore

(Plz refresh it with ./config.sh to compile on linux)
2014-08-19 18:31:26 +02:00
Tanguy Pruvot
d9ea5f72ce Remove duplicated defines present in cuda_helper.h
also add cudaDeviceReset() on Ctrl+C for nvprof
2014-08-19 03:29:11 +02:00
Tanguy Pruvot
6984a001d6 Win32 build fix after linux work (configure) 2014-08-15 03:59:49 +02:00
Tanguy Pruvot
8e32e5ea09 cputest: add other hashes to cpu tests 2014-08-14 23:35:02 +02:00
Tanguy Pruvot
06763c20b1 Implement x14 (cuda + cpu functions)
Project was updated for VS2013 and CUDA SDK 6.5

add also a --cputest function to dump cpu hash results

TODO: x15 is not fully functional, but first loop seems ok

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2014-08-12 14:47:03 +02:00
Christian Buchner
d99b91ea65 adding third party X13 and Diamond Groestl code contributions. 2014-06-15 14:31:20 +02:00
Christian Buchner
af07302b4b v1.0 - Yo, I heard y'all like X11 2014-05-10 00:29:59 +02:00
Christian Buchner
e2bfb4b14f committing a quick attempt at NIST5 (TalkCoin) 2014-05-08 09:25:37 +02:00
Christian Buchner
e049f32fee bump to revision v0.9 (VC++ project files not updated yet) 2014-05-06 13:53:52 +02:00
Christian Buchner
6c8eff98c0 bump to revision v0.8 2014-05-03 21:01:50 +02:00
Christian Buchner
0659d697c1 Revision 0.6 with myriad-groestl and jackpot coin 2014-04-27 01:26:08 +02:00
Christian Buchner
b93669a99f committing changes to v0.3 release - added Groestlcoin. 2014-03-23 21:39:26 +01:00
Christian Buchner
f67ee69819 last minute changes to repo (v0.1 release) 2014-03-18 23:09:43 +01:00
Christian Buchner
6aac3fbba5 commit initial version 0.1 2014-03-18 22:17:40 +01:00