1
0
mirror of https://github.com/GOSTSec/ccminer synced 2025-01-13 16:27:57 +00:00
Commit Graph

270 Commits

Author SHA1 Message Date
Tanguy Pruvot
9a7d74eac4 skunk: merged kernel to use when possible
for now, only used for maxwell/pascal with cuda 7.5 or 8.0
2017-08-13 19:01:18 +02:00
Tanguy Pruvot
9c4b8caf1a nvapi: apply memory offsets like nvsettings 2017-07-24 14:16:14 +02:00
Tanguy Pruvot
cbede12c47 Add skunk algo, initial version 2017-07-21 22:41:05 +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
0f3fac9536 nvs: remove test with -n 2017-06-12 06:19:38 +00:00
Tanguy Pruvot
bcadca2c45 linux: prepare nvidia-settings queries
Note: this method is slower than real apis and requires X opened
and configured correctly.

sample usage: -d 0,1 --mem-clock=+200,-200
2017-06-08 22:07:29 +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
c44be3f81d api: various fixes
- prefer calloc to zero memory
- bind: keep the normal network read access with -b 0.0.0.0 like previous versions
- help: keep the write mode commands hidden in read-only mode
- close the socket on refused api calls to prevent client hangs
- small other changes
2017-05-23 23:53:58 +02:00
bitbandi
47472ed3f1 API restriction policy and multicast announces ()
same as sgminer, fixed to build (tpruvot), untested yet
2017-05-18 19:50:08 +02:00
Tanguy Pruvot
b372729ce6 api: change api bind variable name 2017-05-16 12:09:32 +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
762c7f8656 nvapi: fix plimit argument on x64
now use the same percents as the x86

nvml watts (like linux) could work but requires admin rights
2017-05-07 12:09: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
063992b25b decred: handle new stake version field 2017-04-23 17:02:27 +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
916ec5047e logs: show solved count on solved shares 2017-02-05 14:06:51 +01:00
Tanguy Pruvot
ef44e88ef9 ccminer: link --max-log-rate to the command line 2017-01-30 12:36:50 +00:00
Tanguy Pruvot
c8ff854456 sia was migrated too... 2017-01-29 06:10:08 +01:00
Tanguy Pruvot
0ff75791e5 migrate 2nd nonce storage of most algos
This allow to keep pdata[19] as cursor between scans, and later, to sort them..

remains... heavy, scrypt, sia...
2017-01-29 05:46:45 +01:00
Tanguy Pruvot
013cda1cd2 ccminer: show first block diff even with -q 2017-01-29 00:00:28 +01:00
Tanguy Pruvot
dc816b4673 xmr: nicehash nonce prefix/hack support (v2) 2017-01-22 23:19:22 +01:00
Tanguy Pruvot
214f392778 xmr: default settings with card attributes 2017-01-15 01:42:25 +01:00
Tanguy Pruvot
23be7f308d xmr: link the --bfactor setting (0-11) 2017-01-12 23:02:00 +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
099389f64f ccminer: be more quiet with -q, skip header noise 2016-12-30 15:18:35 +01:00
Tanguy Pruvot
c11901260a limit per gpu hashrate logs to 3 sec intervals
may be required for very fast algos, like blake2s
2016-12-21 20:16:47 +01:00
Tanguy Pruvot
36aedbb48e veltor update, 10x faster :p
From Alexis work, sib hash rate 200% also..
2016-11-03 18:54:29 +01:00
Tanguy Pruvot
c27f3139aa update startup credits 2016-10-06 13:08:41 +02:00
Tanguy Pruvot
1a31d4d2d6 sia: move specific code in a new rpc unit
part 1: longpoll stuff (nanopool)
2016-09-28 01:27:57 +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
c933ad901e sia: add missing algo in --help 2016-09-27 00:33:11 +02:00
Tanguy Pruvot
34e97bf3e6 Show intensity on init for all algos 2016-09-27 00:33:06 +02:00
Tanguy Pruvot
9f2ed5135b lbry maxwell and pascal update (up to 10% on pascal)
Based on alexis78 work and sponsored by LBRY.IO team (thanks)

Release 1.8.2, use cuda 8 for x86
2016-09-22 19:37:17 +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
8f965c2cb2 windows: prevent system sleep while mining 2016-08-16 18:00:16 +02:00
Tanguy Pruvot
1a51a84a94 sia: small mutex fix on errors 2016-08-10 14:48:19 +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