1
0
mirror of https://github.com/GOSTSec/ccminer synced 2025-01-09 06:18:07 +00:00
Commit Graph

174 Commits

Author SHA1 Message Date
Tanguy Pruvot
cbede12c47 Add skunk algo, initial version 2017-07-21 22:41:05 +02:00
Tanguy Pruvot
5aa50a4215 equihash: use client.show_message to get block height
current stratum is imcomplete and doesnt provide the coinbase data
2017-07-13 19:41:47 +02:00
Tanguy Pruvot
c120ecae1d handle the new tribus algo
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2017-06-15 07:32:04 +02:00
Tanguy Pruvot
037bbe3ad3 sia: add missing cputest 2017-06-15 03:48:59 +02:00
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
Tanguy Pruvot
e584f28441 fix quark and jackpot algos 2017-05-14 11:35:27 +02:00
Tanguy Pruvot
5dfeee45ec rewrite jha algo to be more compatible
old "german" implementation based on the quark method is kept
in the source tree, but is currently broken. to be continued.

This is a quick fix which should be compatible with all cards.
2017-05-08 08:03:55 +02:00
Tanguy Pruvot
8e4d059a41 bitcore algo for linux users
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2017-05-03 11:12:50 +02:00
Tanguy Pruvot
80c755188d Add sha256d algo (bitcoin) btw...
even if it works on yiimp, the stratum diff is too high for gpus (for now)
2017-03-11 15:29:21 +01:00
Tanguy Pruvot
07ebcb544d timetravel algo
+ new kernels jh512-80 groestl-80 and cubehash-80

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2017-03-07 20:16:15 +01:00
Tanguy Pruvot
3ede61b0cc bastion algo
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2017-03-07 20:10:26 +01:00
Tanguy Pruvot
1b7c2fc296 lyra2z algo (temporary algo)
based on djm34 version, cleaned up and adapted to ccminer 2.0
2017-03-07 20:05:03 +01:00
Tanguy Pruvot
ebef3c8656 sha256t algo (3x sha256, not sha256d)
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2017-03-07 19:32:59 +01:00
Tanguy Pruvot
3d70026ae6 hmq1725 algo
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2017-03-07 16:26:27 +01:00
Tanguy Pruvot
1d5db48797 credits: show binary arch (32/64) in the header 2017-02-17 17:48:25 +01:00
Tanguy Pruvot
c66e8622b3 api: report per thread cpu hash checks (ACC/REJ)
+ update all algos for that...
2017-02-07 06:26:02 +01:00
Tanguy Pruvot
4da35e0bcf api: use MHz for all clocks and show plimit
plimit value is reported in mW like the power, or % on Windows x86 (via nvapi)

+ the monitor thread will no more report 0W if the device doesnt support it

also upgrade nvml and sample php api.

some more changes may come in this temporary API 1.9 (for the final 2.0)
2017-02-06 06:50:38 +01:00
Tanguy Pruvot
214f392778 xmr: default settings with card attributes 2017-01-15 01:42:25 +01:00
Tanguy Pruvot
94aa6b8e91 ccminer: allow 192 car. for the username 2017-01-14 18:55:36 +01:00
Tanguy Pruvot
0dd022779b power monitoring thread + some api changes
based on alexis monitoring thread idea, but which only use one thread

note: other api changes will come soon, related to that
2017-01-10 02:26:28 +00:00
Tanguy Pruvot
242aa4144b scanlog: remember sharediff for multiple nonces
rpc2: handle properly secondary nonce(s) + api ping time fix

be sure to fully recompile, structures are changed
2017-01-09 18:40:00 +01:00
Tanguy Pruvot
93adb56c8e handle cryptonight light variant
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2017-01-09 18:30:59 +01:00
Tanguy Pruvot
066a569357 import xmr, to finish
todo: fix jh cuda and wrong decimal diff (0xffff problem ?)
2017-01-07 01:40:59 +01:00
Tanguy Pruvot
2bbccc5ff4 wildkeccak, basic stratum port of rpc 2.0
scratchpad delete fix and redownload, reduce rejects

(work in progress)
2017-01-06 08:55:15 +01:00
Tanguy Pruvot
f84c83afe5 nvml: force 64bits types for mem sizes
size_t can be a bit... imprevisible on x86
2016-09-28 00:31:13 +02:00
Tanguy Pruvot
5a0b779434 api: use the new throughput2intensity func 2016-09-27 23:20:28 +02:00
Tanguy Pruvot
9eead77027 diff: show by default, rework shares diff storage
This will allow later more gpu candidates.

Note: This is an unfinished work, we keep the previous behavior for now
To finish this, all algos solutions should be migrated and submitted nonces attributes stored.
Its required to handle the different share diff per nonce and fix the possible solved count error (if 1/2 nonces is solved).
2016-09-27 09:03:24 +02:00
Tanguy Pruvot
65cd430d76 cuda: throughput2intensity function to show default 2016-09-27 00:20:48 +02:00
Tanguy Pruvot
683dc0e149 VeltorCoin Streebog based algo (veltor)
also known as "Thor's Riddle"... yes sure ;)

Credits to ocminer who found and "implemented" it.

Note: tested "ok" on x64 and CUDA 6.5 x86, not on 7.5 and 8.0 x86

PS: Don't have the time for a more proper CUDA implementation of Streebog
2016-08-18 18:47:37 +02:00
Tanguy Pruvot
d8e518ac3d sia: support for nanopool http protocol
-o http://xxxx:port -u <addr> -p <worker>

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2016-08-09 22:55:53 +02:00
Tanguy Pruvot
b31fb5316b sia: cuda impl. and suprnova getwork over stratum
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2016-08-06 12:56:35 +02:00
Tanguy Pruvot
5703a74e22 lbry algo (stratum only)
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2016-07-13 09:44:13 +02:00
Tanguy Pruvot
dbb9507d2b api: change unit of device mem to MB
without that, no way to read sizes > 4GB on x86 binaries
2016-07-10 13:12:16 +02:00
Tanguy Pruvot
bdc441ebd0 nvapi: link some more apis, pascal boost table
these informations are shown with ccminer -D -n
2016-06-24 10:06:54 +02:00
Tanguy Pruvot
85c212eaad implement x11evo algo
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2016-05-31 20:05:15 +02:00
Tanguy Pruvot
a7905e6802 some changes to prepare 1.8 and VS2015 support
also move vstudio specific cpuminer-config.h in compat/
2016-05-28 06:27:41 +02:00
Tanguy Pruvot
4a8e3d9aaa increase the max password len to 384
and handle the benchmark yiimp guest user for stats
2016-05-18 23:09:54 +02:00
Tanguy Pruvot
b6a2c5c2ec handle option --shares-limit like sgminer --shares
--shares alone was confusing imo, but it also works on command line

Allowed in multi pool settings too...
2016-05-17 22:07:21 +02:00
Tanguy Pruvot
dcbcf6ba7e stratum: improve and add new methods for pool benchmark/stats
will allow to submit some device benchmark data to compute algo
power usage and profitability.

Introduce two new methods mining.get_algo and mining_get_stats
These methods will be used with yiimp stratum with a special benchmark option
Note: only the first card is handled for the moment.

also add stratum mining.ping support (like cgminer 4.7.1+) and prevent disconnect
on unknown methods, reply it is unsupported.
2016-05-15 18:18:45 +02:00
Tanguy Pruvot
7ffe65c262 blake2s algo
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2016-03-13 16:50:32 +01:00
Tanguy Pruvot
e1fd687b9b count pool stales + suprnova workaround
there was a weird job id problem not seen on yiimp stratum
2016-02-24 01:33:55 +01:00
Tanguy Pruvot
4944e1a098 mrM4D vnl, with some changes 2016-02-19 11:31:00 +01:00
Tanguy Pruvot
6e95407dcf decred algo for longpoll/getwork
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2016-02-11 07:10:46 +01:00
Tanguy Pruvot
e75b26feb4 sib coin algo (X11 + Streebog)
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2015-12-31 19:11:48 +01:00
Tanguy Pruvot
e9b88b45e4 prepare the 1.7 release 2015-11-02 17:52:24 +01:00
Tanguy Pruvot
e12d666d36 pool switch: add thr_id param to handle a future barrier
Switching to a pool with a different algo will require a barrier
to free ressources, like what was made in the global benchmark.

add also the algo in pool structure...
2015-10-24 09:58:25 +02:00
Tanguy Pruvot
dec6dbed77 api: add best share diff and last share time
best share diff require --show-diff

shown in the "pool" command
2015-10-22 15:11:16 +02:00
Tanguy Pruvot
c3d10db873 algos: move cmdline algo/alias parser in a func 2015-10-15 08:49:40 +02:00
Tanguy Pruvot
5a08c21355 diff: store solved blocs count, update the api
Also show the real target diff on pools for the algos with a factor (lyra)

require the --show-diff parameter, may be used as default in the final 1.7
2015-10-14 20:21:14 +02:00
Tanguy Pruvot
9dfa757dc7 warn on cuda errors + various small changes
The full benchmark can now be launched with "ccminer --benchmark"

add a new helper function which log a warning with last cuda error
(not shown with the quiet option) : CUDA_LOG_ERROR();
it can be used where miner.h is included (.c/.cpp/.cu)

fix x14 (in ccminer.cpp), a break was missing in switch..case
2015-10-12 08:46:13 +02:00