Tanguy Pruvot
3938dce740
api: one decimal is enough for intensity
...
and fix windows build... missing __func define
2015-01-24 12:45:06 +01:00
Tanguy Pruvot
26b51a557b
Allow different intensity per device
...
and clean the old variables, no more required
2015-01-24 11:17:29 +01:00
Tanguy Pruvot
2a5233f56e
api: report throughput when default
2015-01-22 06:28:59 +01:00
Tanguy Pruvot
cafd4477d7
Handle a maximum of 16 gpus (vs 8 before)
...
Some cards have 2 gpus on board...
2015-01-22 04:55:27 +01:00
Tanguy Pruvot
ec454dd78c
api: add fan rpm (windows nvapi only)
2014-12-26 15:33:55 +01:00
Tanguy Pruvot
49a73971c4
Enhance stale work detection + throughput fixes
...
seems to resolve solo mining lock on share.
export also computed solo work diff in api (not perfect)
In high rate algos, throughput should be unsigned...
This fixes keccak, blake and doom problems
And change terminal color of debug lines, to be selectable in putty,
color code is not supported in windows but selection is ok there.
2014-12-07 12:58:41 +01:00
Tanguy Pruvot
f9bba0ff1a
lyra2: small changes and code cleanup
2014-12-07 09:04:03 +01:00
Tanguy Pruvot
c5b349e079
Add Lyra2 algo, based on Vertcoin published code
...
Seems to be djm34 work, i recognize the code style ;)
Code was cleaned/indented and adapted to my fork...
Only usable on the test pool until 16 december 2014!
2014-12-06 11:28:26 +01:00
Tanguy Pruvot
6ae28162db
various extern cleanup + api history uids and gpu SM
...
uids could be useful to create graphes from history data
Note: please do a clean build after this commit (changes in miner.h)
2014-11-26 11:55:42 +01:00
Tanguy Pruvot
9b1ff1280e
Allow intermediate intensity (decimals)
...
Sample with -i 18.5
Adding 131072 threads to intensity 18, 393216 cuda threads
And with -i 19.5
Adding 262144 threads to intensity 19, 786432 cuda threads
2014-11-25 19:57:56 +01:00
Tanguy Pruvot
7e15f31706
api: pool query (uptime, ping, discon., url and user)
2014-11-25 17:39:02 +01:00
Tanguy Pruvot
3e8457d76c
api: add device uuid (nvml), and OS in hwinfo
...
move nvdriver to sys infos (unique on system)
prepare pool query
2014-11-24 21:20:26 +01:00
Tanguy Pruvot
dc5d1b112d
api: add scanlog command to monitor scan ranges
...
will be used for external debugging...
2014-11-24 20:26:41 +01:00
Tanguy Pruvot
e2ac7a2a75
api: add nvapi and nvml ids for C# tools
2014-11-23 11:12:58 +01:00
Tanguy Pruvot
73f22b237a
Prepare trap of hardware/mem failures
2014-11-20 18:44:25 +01:00
Tanguy Pruvot
1bc4e7e942
api: add mem size and freq to hwinfo query
2014-11-20 15:54:56 +01:00
Tanguy Pruvot
3ad4be7de0
api: export gpu freq on linux too + hwinfo command
2014-11-19 16:16:27 +01:00
Tanguy Pruvot
b24b65a9c9
api: add gpu pci bus id, unified id + bloc height
2014-11-18 16:25:44 +01:00
Tanguy Pruvot
582c971f2b
api: fix histo gpu/thr id mismatch
2014-11-17 19:11:26 +01:00
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