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

895 Commits

Author SHA1 Message Date
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
049e577301 tmp blake log 2014-09-03 09:49:14 +02:00
Tanguy Pruvot
43d3e93e1a blake: set a max throughput 2014-09-03 09:29:51 +02:00
Tanguy Pruvot
7e595a36ea blake: cleanup, remove d_hash buf, not in a chain
host: only bencode if gpu hash was found
2014-09-03 08:33:55 +02:00
Tanguy Pruvot
de80c7e9d1 blake: remove unused parameter and fix index in d_hash
that reduce the speed to 92MH/s but the next commit
give us 30 more

so, todo: merge the whole checkhash proc in gpu_hash
          and remove this d_hash buffer...
2014-09-02 20:20:53 +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
530732458a blake: use a constant for threads, reduce mallocated d_hash size
and clean a bit more...
2014-09-01 20:00:25 +02:00
Tanguy Pruvot
0aeac878ef blake: tune up and cleanup, ~100 MH/s on a normal 750Ti
tested on linux and windows (x86 binary)...

but there is a high number of duplicated shares... weird
2014-09-01 12:24:26 +02:00
Tanguy Pruvot
4a52d0553b debug: show json methods, hide hash/target if ok 2014-09-01 12:24:22 +02:00
Tanguy Pruvot
1fb9becc1f cpu-miner: sort algos by name, show reject reason 2014-09-01 09:50:19 +02:00
Tanguy Pruvot
bfe96c49b0 release 1.4, update README... 2014-09-01 06:07:42 +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
c56af0d976 output: show the current stratum/algo on new blocks 2014-08-31 02:51:24 +02:00
Tanguy Pruvot
ce9b8002cd fix automake and remove useless files, update build.sh
- use foreign AM_INIT_AUTOMAKE to skip COPYING file (which is LICENCE.txt)
  http://www.gnu.org/software/automake/manual/html_node/Public-Macros.html

- use subdir-objects option to fix automake on ubuntu 14.04
2014-08-31 00:05:24 +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
e878df8eb5 vstudio: disable incremental linking 2014-08-28 01:45:51 +02:00
Tanguy Pruvot
675aa4aea4 vstudio: remove dependency to msvcp dll
using the /MT code flag, binary is only 7K bigger and remove
the requirement of a 500KB dll...
2014-08-26 07:12:44 +02:00
Tanguy Pruvot
bcc19981c3 windows: use a static lib of pthreads 2.9.1
built with nmake clean VC-static
2014-08-26 05:10:23 +02:00
Tanguy Pruvot
bcb15f85a1 vstudio unix2dos project files 2014-08-26 03:40:07 +02:00
Tanguy Pruvot
aefb64c369 windows: implements the color option
based on old git implementation (2009)

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2014-08-26 03:39:23 +02:00
Tanguy Pruvot
10314d844f whirlpool: remove dead code, win 2ms in final hash 2014-08-24 04:44:18 +02:00
Tanguy Pruvot
52dade56b5 heavy: warnings and tabs (no changes) 2014-08-23 23:54:10 +02:00
Tanguy Pruvot
ee2f6dece5 x17: update vstudio project 2014-08-23 22:44:17 +02:00
Tanguy Pruvot
64e8cd3f98 add x17 algo, cleaned djm34 commit
todo: visual studio...
2014-08-23 22:44:17 +02:00
Tanguy Pruvot
5d6a489b98 scrypt: fix implicit function declaration 2014-08-23 22:43:57 +02:00
Tanguy Pruvot
2c24bc93d4 Makefile: luffa was using more than 80 regs (10 vs 14ms)
add easy switch for nvcc target arch

and move duplicated sha2 to sph folder
2014-08-23 22:04:38 +02:00
Tanguy Pruvot
5cf024cc5d whirl: add missing merkle for some pools 2014-08-23 01:44:47 +02:00
Tanguy Pruvot
b3becb67dd groestl: small optimisation (nist5 + 100kH on a 750Ti)
But, almost nothing on X15, no big changes...
2014-08-22 20:18:29 +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
d928317981 vs2013: hamsi need 72 registers, simd 64 2014-08-22 08:29:09 +02:00
Tanguy Pruvot
09ecb490c6 vs2013: simplify project options 2014-08-22 04:09:22 +02:00
Tanguy Pruvot
3f6ebc10cc whirlpool: x64 asm is very slow (30ms win32 vs 90) 2014-08-22 04:09:16 +02:00
Tanguy Pruvot
91da15aa75 windows: intercept Ctrl+C to use nvprof 2014-08-21 18:44:45 +02:00
Tanguy Pruvot
b4e690b486 sources: swith to UTF-8 2014-08-21 08:27:48 +02:00
Tanguy Pruvot
a586cee493 quark: dos2unix files to reduce problems later 2014-08-21 08:15:02 +02:00
Tanguy Pruvot
82981f9736 update README 2014-08-21 05:52:40 +02:00
Tanguy Pruvot
912ef1215d small reg tunes, rename whirlcoin to whirl 2014-08-21 02:57:10 +02:00
Tanguy Pruvot
7d430edc25 x15: optimize by 2ms (39ms to 37)
and clean whirlpool ifdefs, cost too much to keep both methods
2014-08-20 22:00:26 +02:00
Tanguy Pruvot
0c27bd42a4 whirlcoin: update vstudio project 2014-08-20 08:10:51 +02:00
Tanguy Pruvot
1fbcbbacc4 Add whirlcoin and optimize x11 luffa (maxrregcount) 2014-08-20 07:49:22 +02:00
Tanguy Pruvot
4bc23048b5 x15: use djm34 code with asm xor64 + my rot64
some optimizations could be done later, after whirlcoin integration
2014-08-20 05:54:47 +02:00
Tanguy Pruvot
194fda87c1 x11: restore simd host2dev memcpytosymbol to reduce used cmem
Remove define attempts for SM 2.1 devices, fermi is not compatible
2014-08-19 18:32:14 +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
a3ea36a5f9 cudaDeviceReset on Ctrl+C for nvprof 2014-08-19 03:28:31 +02:00
Tanguy Pruvot
e1aa028b9f x15: optimize, adds some kH/s 2014-08-18 00:58:44 +02:00
Tanguy Pruvot
a9a3ad8afc cuda: check for errors on cuda mem alloc 2014-08-17 22:41:05 +02:00