1
0
mirror of https://github.com/GOSTSec/ccminer synced 2025-01-09 14:28:15 +00:00
Commit Graph

351 Commits

Author SHA1 Message Date
Tanguy Pruvot
cdc29336f7 stats: compute work difficulty from target 2014-09-30 10:03:12 +02:00
Tanguy Pruvot
9f3c6b0520 Include windows curl and openssl prebuilt libs
Curl 7.35 without SSH2
OpenSSL 1.0.1e
ZLib 1.2.8

built with https://github.com/peters/curl-for-windows
2014-09-30 06:25:38 +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
c0b5513316 Try some obscure cuda flags (kbomba)
http://devblogs.nvidia.com/parallelforall/separate-compilation-linking-cuda-device-code/
2014-09-27 13:58:29 +02:00
Tanguy Pruvot
a6fcc8fdb6 use cudart_static.lib, keep SM 5.0 by default
SM 5.2 works also on the 750 Ti but if we specify both at compile time,
hash speed will be reduced (the 750Ti will use 5.2 which is not optimal)
2014-09-27 12:53:19 +02:00
Tanguy Pruvot
5579b91cfb build for both GM104 and GM204
For the GTX 750 and new 970/980

also fix -a luffa parameter for 1.4.4 release
2014-09-27 09:46:52 +02:00
Tanguy Pruvot
ba33492592 blake: return to ptarget 6:7 compare
clz can be erroneous, ex 0xE0 vs 0xF0
2014-09-19 05:01:16 +02:00
Tanguy Pruvot
91eea0d76b blake: remove int cudaMemcpyToSymbol for MSVC
use clz (leading zeros) asm func for a fast gpu compare of ptarget[6]:[7]

add also missing windows ctz/clz host functions

New NEOS speed: 227MH to 270MH (Gigabyte 750Ti Black Edition)
2014-09-13 17:31:01 +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
cc296a0618 stratum: check if job was read 2014-09-13 00:15:25 +02:00
Tanguy Pruvot
8925a7551f blake: final cleanup (225MH/s) 2014-09-11 20:16:16 +02:00
Tanguy Pruvot
347d4e4928 blake: +8MH/s on linux, weird optimisation
Like doom/luffa, using a int pos make the proc faster
2014-09-11 02:33:34 +02:00
Tanguy Pruvot
23f0cee61f Add cuda error checks on qubit algos
And rename doom to luffa, like djm34
2014-09-11 02:20:52 +02:00
Tanguy Pruvot
1aec4555cc Tune reg. count for qubit (luffa) algos 2014-09-11 00:50:27 +02:00
Tanguy Pruvot
31f77b6524 Put bloc height extraction in a function 2014-09-10 16:50:17 +02:00
Tanguy Pruvot
edf756deb5 update readme 2014-09-10 10:49:41 +02:00
Tanguy Pruvot
80d6e09ca6 Merge branch 'qubit' 2014-09-10 00:31:07 +02:00
Tanguy Pruvot
402e70f636 Update VS Project 2014-09-10 00:27:01 +02:00
Tanguy Pruvot
7cc5222394 Move common check_cpu functions to root 2014-09-10 00:27:01 +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
474ee97d6e Merge branch 'blake-dev' into blake 2014-09-09 22:02:19 +02:00
Tanguy Pruvot
429266346c Prepare version 1.4.2 2014-09-09 21:59:03 +02:00
Tanguy Pruvot
13bb9d267e Remove debug rpc, already exists with -P 2014-09-09 21:59:03 +02:00
Tanguy Pruvot
9e5ec398b2 Purge anti-dup data on target change 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
3ed36f285b try to prevent gpu pauses 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
95ac1d0f19 x11: adapt some blake 256 opts to 512 one
blake512: for the moment 6.2ms vs 7.12 before (+10%)
2014-09-09 17:55:07 +02:00
Tanguy Pruvot
42eafcbe85 Put CRC-32 function in a new unit
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2014-09-06 19:41:48 +02:00
Tanguy Pruvot
11b04d82ff update readme, tag v1.4.1 2014-09-06 17:16:52 +02:00
Tanguy Pruvot
0914c7095c update readme, tag v1.4.1 2014-09-06 17:16:07 +02:00
Tanguy Pruvot
9140e7f8ad Release 1.4.1, with blake cache (220MH/s) 2014-09-06 16:28:48 +02:00
Tanguy Pruvot
5ccd166916 blake: introduce pdata head cache (speed x2) 2014-09-06 16:26:53 +02:00
Tanguy Pruvot
65909ec3b7 blake: handle case when 2 hashes are found in a call 2014-09-06 11:43:32 +02:00
Tanguy Pruvot
383b184549 Add support for blakecoin (-a blakecoin)
Blakecoin use an old variant of Blake 256.

Speed : 190 MHash/s (vs 25 in cudaMiner)

Restore support of this algo (was in cudaminer before)
2014-09-06 01:22:54 +02:00
Tanguy Pruvot
52ec8830b1 blake: blakecoin variant now works 2014-09-06 01:21:30 +02:00
Tanguy Pruvot
ecc86af102 blake: sometimes faster, or not 2014-09-05 21:12:38 +02:00
Tanguy Pruvot
b98239ec2a hashlog: enhance scan range store and debug dump 2014-09-05 20:01:50 +02:00
Tanguy Pruvot
3356e6f8bf blake: some more KH/s on linux 2014-09-05 20:00:07 +02:00
Tanguy Pruvot
12fefe5de0 blake: add a few more MH/s, prepare blakecoin 2014-09-05 19:12:29 +02:00
Tanguy Pruvot
5682b7d241 blake: add also blakecoin (8-rounds) variant 2014-09-05 19:12:29 +02:00
Tanguy Pruvot
416f7f3708 hashlog: keep compat with VS2012 2014-09-05 19:12:29 +02:00
Tanguy Pruvot
e1159629b4 blake: typo for windows on last commit 2014-09-05 09:47:24 +02:00
Tanguy Pruvot
e0487aac46 blake: typo for windows on last commit 2014-09-05 09:47:04 +02:00
Tanguy Pruvot
3e44e52300 Release v1.4 with blake (NEOS)
Blake256: squashed commit...

Squashed commit of the following:

commit c370208bc92ef16557f66e5391faf2b1ad47726f
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Wed Sep 3 13:53:01 2014 +0200

    hashlog: prepare store of scanned range

commit e2cf49a5e956f03deafd266d1a0dd087a2041c99
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Wed Sep 3 12:54:13 2014 +0200

    stratum: store server time offset in context

commit 1a4391d7ff
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Tue Sep 2 12:40:52 2014 +0200

    hashlog: prevent double computing on jobs already done

commit 049e577301
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Wed Sep 3 09:49:14 2014 +0200

    tmp blake log

commit 43d3e93e1a
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Wed Sep 3 09:29:51 2014 +0200

    blake: set a max throughput

commit 7e595a36ea
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Tue Sep 2 21:13:37 2014 +0200

    blake: cleanup, remove d_hash buf, not in a chain

    host: only bencode if gpu hash was found

commit de80c7e9d1
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Tue Sep 2 12:40:44 2014 +0200

    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...

commit 2d42ae6de5
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Tue Sep 2 05:09:31 2014 +0200

    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>

commit 1b8c3c12fa
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Tue Sep 2 03:38:57 2014 +0200

    debug: a new boolean to log or not json rpc data

commit 1f99aae0ff
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Mon Sep 1 18:49:23 2014 +0200

    exit on repeated duplicate shares (to enhance)

    create a new function proper_exit() to do common stuff on exit...

commit 530732458a
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Mon Sep 1 12:22:51 2014 +0200

    blake: use a constant for threads, reduce mallocated d_hash size

    and clean a bit more...

commit 0aeac878ef
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Mon Sep 1 06:12:55 2014 +0200

    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

commit 4a52d0553b
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Mon Sep 1 10:22:32 2014 +0200

    debug: show json methods, hide hash/target if ok

commit 1fb9becc1f
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Mon Sep 1 08:44:19 2014 +0200

    cpu-miner: sort algos by name, show reject reason

commit bfe96c49b0
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Mon Aug 25 11:21:06 2014 +0200

    release 1.4, update README...

commit c17d11e377
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Sun Aug 31 08:57:48 2014 +0200

    add "blake" 256, 14 rounds (for NEOS blake, not BlakeCoin)

    also remove "missing" file, its old and not compatible with ubuntu 14.04

to test on windows

blake: clean and optimize

Release v1.4 with blake (NEOS)
2014-09-05 08:22:55 +02:00
Tanguy Pruvot
033fb5745c Release v1.4 with blake 2014-09-05 08:20:19 +02:00
Tanguy Pruvot
9bf927a496 hashlog: fix erase while iterating exception 2014-09-04 18:18:53 +02:00
Tanguy Pruvot
746398f435 blake: fix reduced speed on windows, wtf 2014-09-04 17:34:30 +02:00
Tanguy Pruvot
3341e0324f blake: speed +10%, no more size conversions 2014-09-04 16:17:11 +02:00