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

567 Commits

Author SHA1 Message Date
Tanguy Pruvot
41707760f5 stratum: force exit on pool auth failure
the miner was stuck instead of exiting after the retries...
2015-09-24 11:31:20 +02:00
Tanguy Pruvot
fade2b74b5 diff: cleanup after windows test 2015-09-24 03:57:12 +02:00
Tanguy Pruvot
5308898d1c start v1.7, apply new prototypes to all algos 2015-09-23 15:42:17 +02:00
Tanguy Pruvot
4babf37256 Add --show-diff parameter and fix pool net diff
which display submitted block and net difficulty and is able
to detect shares above net diff (solved blocs)

Note: only made on lyra2v2 and zr5 algos

TODO: compute the found diff on all algos...
require changes in all scan hash "kernel" function parameters

to be continued...
2015-09-23 14:44:59 +02:00
Tanguy Pruvot
cd64f9b0e7 Add a new cuda-schedule parameter
0: cudaDeviceScheduleAuto
1: cudaDeviceScheduleSpin
2: cudaDeviceScheduleYield
4: cudaDeviceScheduleBlockingSync

Also set the best one (4) for luffa algo by default...
2015-09-17 23:45:03 +02:00
Tanguy Pruvot
8f98bde4fb lyra2v2: improve cubehash with uint2 2015-09-06 13:49:52 +02:00
Tanguy Pruvot
6e64383b32 klaus small fixes 2015-09-05 20:16:24 +02:00
Tanguy Pruvot
ac1f6ad1bb try vstudio MinimalRebuild flag... 2015-09-04 21:14:58 +02:00
Tanguy Pruvot
4b40c16359 v1.6.6 release 2015-08-28 11:30:04 +02:00
Tanguy Pruvot
bcbb959a34 applog: remove useless mutex 2015-08-24 13:41:12 +02:00
Tanguy Pruvot
9a13624c2e check abort_flag in threads loops
This flag was added recently (scrypt) from cudaminer code,
and i missed some...

and prevent multiple calls to proper_exit(), one is enough...
2015-08-24 13:33:03 +02:00
Tanguy Pruvot
629d987177 Allow to load remote config files with curl
different samples of use:

  ccminer -c http://127.0.0.1/ccminer.json

or dynamically from a web application :
  ccminer -c http://127.0.0.1/ccminer/config.php?h=linux

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2015-08-24 08:44:34 +02:00
Tanguy Pruvot
21f5435420 lyra2: improve skein256 component 2015-08-23 09:46:48 +02:00
Tanguy Pruvot
877f25aee5 lyra2v2: SM3.0 compat too
and strip most of the unused vectors defines...
2015-08-23 09:46:23 +02:00
Tanguy Pruvot
5be0a5c586 update autoconf scripts
made on ubuntu 14.04.2 with 'autoreconf -fvi'
2015-08-23 06:36:14 +02:00
Tanguy Pruvot
64e997e9d6 prepare release 1.6.6 2015-08-22 17:33:26 +02:00
Tanguy Pruvot
01f3183c31 bmw algo for MDT, with midstate
which could be extracted from json too

replace a satcoin by another one ;)

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2015-08-22 15:01:51 +02:00
Tanguy Pruvot
e4414752c4 vstudio: lyra warning fixes + project dups 2015-08-22 14:57:15 +02:00
Tanguy Pruvot
e3548f46f3 drop animecoin support
no more really minable... just minable in french
2015-08-22 12:35:22 +02:00
Tanguy Pruvot
736f916da3 Restore default timeout (300s) for normal use
Was only useful to reduce pool switching problems but
some pools require a longer value.
2015-08-22 12:30:30 +02:00
Tanguy Pruvot
c9ef0b6b39 affinity: allow more than 8 cores values (and hexa) 2015-08-22 12:30:30 +02:00
Tanguy Pruvot
b256ca47a0 bmw256: reduce target array size 2015-08-22 12:30:07 +02:00
Tanguy Pruvot
6500e7401a lyra2v2: properly exclude SM 3.0 devices 2015-08-18 13:43:21 +02:00
Tanguy Pruvot
da8a31c4e5 vstudio: restore missing x15 whirlpool 2015-08-18 12:26:52 +02:00
Tanguy Pruvot
53cd591956 lyra2v2, bmw256 and cubehash256 cleanup + diff fix 2015-08-18 11:10:58 +02:00
Tanguy Pruvot
4b04ca8027 lyra2v2: aliases and readme 2015-08-18 09:27:30 +02:00
Tanguy Pruvot
c9a66b696f return to original lyra2 code
until i find the problem...
2015-08-18 09:27:30 +02:00
Tanguy Pruvot
d4e191610e Import and adapt lyra2v2
not tested on windows and with SM <= 5
2015-08-18 09:27:11 +02:00
Tanguy Pruvot
3788fef9fd Restore whirlpoolx algo 2015-08-15 06:53:40 +02:00
Tanguy Pruvot
21630d5fbc affinity: do not default to win32 2015-07-25 06:47:22 +02:00
Tanguy Pruvot
e2f73614c0 link the no-extranonce option to the cmdline 2015-07-22 01:19:49 +02:00
Tanguy Pruvot
40fc2bdcbc nvml: store prev. clocks/limit for a proper reset on exit 2015-07-21 13:21:49 +02:00
Tanguy Pruvot
d923f0c1b2 solo: improve getmininginfo 2015-07-21 13:17:24 +02:00
Tanguy Pruvot
6b69246c33 intermediate 1.6.5-C11 release for chaincoin 2015-07-06 22:40:48 +02:00
Tanguy Pruvot
c5df142124 Add c11 algo (x11 variant)
Used by Chaincoin and Flaxscript
2015-06-29 11:46:16 +02:00
Tanguy Pruvot
15293d063f remove pluck algo
Supcoin seems.... dead and the algo was not supported on all devices
2015-06-28 20:48:23 +02:00
Tanguy Pruvot
aa271104c1 nvml: add missing ifdef for vendors 2015-06-27 06:42:54 +00:00
Tanguy Pruvot
25a78c96b5 nvml: allow to keep modified clocks + vendors
--keep-clocks option prevent reset clocks on exit...
2015-06-25 14:21:25 +02:00
Tanguy Pruvot
5abfac72d6 plimit: restore default limit on exit if changed
and show log on start if set/changed without --debug
2015-06-24 16:01:12 +02:00
Tanguy Pruvot
7c5087d01c nvml: add --plimit and --pstate parameters
--pstate 0 is an alternative to clocks values to set the device in P0
mode, 1 will set appl. clocks to default P1 clocks, 2 to default P2..

--plimit 150W really works on the 9xx and allow to limit/reduce the gpu usage

Note: nvml interface is only available on linux and windows x64

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2015-06-24 10:35:34 +02:00
Tanguy Pruvot
b5b9b1f2db api: show power in threads and hwinfo 2015-06-24 07:31:37 +02:00
Tanguy Pruvot
b9cfee0bb3 nvml: api enhancements, add power usage
fallbacks on v2 nvml exports and check api implementation on call
2015-06-24 07:30:26 +02:00
Tanguy Pruvot
f73f5f6a2e nvml: use the right nvmlDeviceGetPciInfo_v2 api
so... pciutils branch is no more required on windows :p
2015-06-23 14:38:12 +02:00
Tanguy Pruvot
cad3772122 linux: disable arch 5.2 for the noobs 2015-06-23 10:06:48 +02:00
Tanguy Pruvot
7981e83db7 nvml: separated vendor id to string function
for the day nvidia will fix their nvmlDeviceGetPciInfo api..
2015-06-23 10:01:31 +02:00
Tanguy Pruvot
e21c75793a Revert "x11: improve aes (shavite/echo)"
make a lot of cpu validation errors on windows,
to be double checked in the next version...

This reverts commit 1187a6e7e3.
2015-06-23 09:27:40 +02:00
Tanguy Pruvot
7661f73317 prepare the 1.6.5 release 2015-06-23 05:42:06 +02:00
Tanguy Pruvot
cb9d51c026 x64: link nvml api to allow app. clocks and P0
_WIN32 is also defined on x64 builds...

+ fix compat/getopt dos2unix (there was mixed CRLF)
2015-06-23 05:24:18 +02:00
Tanguy Pruvot
a12dfa5370 vendors: add EVGA and fix configure for Slackware
Fedora libpci devel package is named pciutils-devel
Debian/Ubuntu is libpci-dev

Slackware lib requires libz... i added the dependency in configure.ac
2015-06-22 04:36:23 +02:00
Tanguy Pruvot
6b41234ff1 nvml: get devices vendor names with libpci
made for linux and require libpci-dev (optional)

if libpci is not installed, card's vendor names are not handled...

Note: only a few vendor names were added, common GeForce vendors.

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2015-06-22 04:03:22 +02:00