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

65 Commits

Author SHA1 Message Date
Tanguy Pruvot
c1cfb3a131 cmdline: fix multi-gpu intensity
the comma presence check was wrong...
2015-03-08 16:45:09 +01:00
Tanguy Pruvot
77c737ff72 various small changes and update readme 2015-03-08 16:33:53 +01:00
Tanguy Pruvot
7939dce0aa pluck: adaptation from djm repo
remains the cpu validation check to do...

throughput for this algo is divided by 128 to keep same kind of intensity values (default 18.0)
2015-03-08 15:16:11 +01:00
Tanguy Pruvot
10d4f4a96a whirlpoolx: try to fix linux hashrates
bug reported by PVMining with a lot of cards (not seen here)
2015-03-08 14:21:39 +01:00
Tanguy Pruvot
f8f46bfe5b whirlpoolx: fix for multi-gpu support
add also cputest entry and do some cleanup...
2015-03-07 16:33:04 +01:00
Tanguy Pruvot
0019936328 Import Whirlpoolx algo from alexis78 repo
remove trailing spaces and move to x15 folder
2015-03-07 14:06:33 +01:00
Tanguy Pruvot
e17d19cf26 increase default priority to above normal
This enhances the hashrate when mining together with a cpu miner,
and doesn't slow down the machine, ccminer doesn't use a lot of cpu.

Note: this value doesn't require Admin rights on windows, unlike highest ones.
2015-03-02 11:51:28 +01:00
Tanguy Pruvot
81fd04a208 hashrate: Remove some extra units and allow 4 digits
to keep current X11 output (sample: 2950.01 kH/s)
2015-02-22 11:46:21 +00:00
Erik Mossberg
c41d9e7bb6 hashrate: format units based on the value size 2015-02-22 11:46:21 +00:00
Tanguy Pruvot
a537fa304c Add basic API remote control
only allowed if --api-remote parameter or config key is set

and fix possible problem with urls containing user:password@

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2015-02-13 06:57:44 +01:00
Tanguy Pruvot
20e6ee1062 qubit: fix difficulty factor for yaamp 2015-02-11 18:42:04 +01:00
Tanguy Pruvot
5dd2534df9 Handle a default config file (ccminer.conf)
This allow to "debug" easily in visual studio (without project changes)

Prepare version 1.5.3, update README
2015-02-11 01:34:56 +01:00
KlausT
bb71232f18 don't call timeEndPeriod twice 2015-02-09 18:27:54 +01:00
Tanguy Pruvot
00803b0b8d Revert "I use CUDA7 on windows"
This reverts commit a74df25834.
2015-02-08 18:41:40 +01:00
Tanguy Pruvot
a74df25834 I use CUDA7 on windows 2015-02-08 18:41:28 +01:00
Tanguy Pruvot
e3fc059bd7 Hide cpu binding log messages 2015-02-08 18:39:20 +01:00
Tanguy Pruvot
872a55a180 Remove debug printf in cpu mask feature 2015-01-27 11:31:28 +01:00
Tanguy Pruvot
c7d3498bd8 myr-gr: clean up 2015-01-24 17:20:13 +01:00
Tanguy Pruvot
3938dce740 api: one decimal is enough for intensity
and fix windows build... missing __func define
2015-01-24 12:45:06 +01:00
Tanguy Pruvot
26b51a557b Allow different intensity per device
and clean the old variables, no more required
2015-01-24 11:17:29 +01:00
Tanguy Pruvot
bba2df56d5 cpu-affinity: linux thread affinity was not set correctly 2015-01-23 04:59:19 +01:00
Tanguy Pruvot
833238cae5 cpu-affinity: fix windows process cpu affinity mask 2015-01-23 02:49:30 +01:00
Tanguy Pruvot
bec89724d5 logs: prevent multiple warnings 2015-01-22 05:55:50 +01:00
Tanguy Pruvot
cafd4477d7 Handle a maximum of 16 gpus (vs 8 before)
Some cards have 2 gpus on board...
2015-01-22 04:55:27 +01:00
Tanguy Pruvot
65cefa4a7d cpu-priority: fix for windows process 2015-01-22 03:09:03 +01:00
Tanguy Pruvot
c3b6162899 Add cpu priority and affinity parameters
priority param value is from 0 (default idle like before) to 5 (highest)

affinity could be enhanced to set multiple cores... todo

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2015-01-22 02:08:05 +01:00
Tanguy Pruvot
f08bd79a6e Intelligent duplicate shares check
Only enabled on first duplicate share
2014-12-19 12:49:04 +01:00
Tanguy Pruvot
150d6eb290 qubit: fix wrong pool difficulty
hmm... this is weird, should be 256 but make bad shares on pool diff 2
2014-12-19 09:43:35 +01:00
Tanguy Pruvot
fa7d744a6c lyra2: make_uint2 and set pool difficulty 2014-12-15 09:48:27 +01:00
Tanguy Pruvot
7a0f7ab276 solo: stop submit of solved blocs (stale work)
rejects in solo mode often means "generated block is stale" (see Debug.log)

Most of current wallets only reports "rejected" reason without explanations.

So prevent this common error,
you can turn off this gbt feature (height check) with --no-gbt option.
2014-12-08 06:31:07 +01:00
Tanguy Pruvot
d09ec41251 api: allow -b <ip>, and set bind retry to 20sec
before, only -b <ip:port>, <port> or 0 (disable) was allowed

easier to set -b 0.0.0.0 with default port
2014-12-08 04:13:41 +01:00
Tanguy Pruvot
70743eb48d solo: get bloc height and trap more errors
and disable multiple nonce on wallets,
a bloc cant be resolved twice ;)

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2014-12-07 16:53:05 +01:00
Tanguy Pruvot
49a73971c4 Enhance stale work detection + throughput fixes
seems to resolve solo mining lock on share.
export also computed solo work diff in api (not perfect)

In high rate algos, throughput should be unsigned...
This fixes keccak, blake and doom problems

And change terminal color of debug lines, to be selectable in putty,
color code is not supported in windows but selection is ok there.
2014-12-07 12:58:41 +01:00
Tanguy Pruvot
f9bba0ff1a lyra2: small changes and code cleanup 2014-12-07 09:04:03 +01:00
Tanguy Pruvot
ef8a73d6aa keccak: not compatible with second nonces (was broken)
Use djm34 new uint2 method to get a +40% boost (115 to 153MH/s)
2014-12-06 13:55:13 +01:00
Tanguy Pruvot
c5b349e079 Add Lyra2 algo, based on Vertcoin published code
Seems to be djm34 work, i recognize the code style ;)

Code was cleaned/indented and adapted to my fork...

Only usable on the test pool until 16 december 2014!
2014-12-06 11:28:26 +01:00
Tanguy Pruvot
c3bdb623e8 Check and submit multiple nonces in one loop
Added to most algos, checkhash function scans a big range
and can find multiple nonces at once if the difficulty is low.

Stop ignoring them, submit second one if found...

Clean the draft code for rc=2 implemented for blake and pentablake

btw... fix the reduced displayed hashrate when a nonce is found...

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2014-12-05 15:53:40 +00:00
Tanguy Pruvot
2dcf983290 solo: remove remains of stale debug logs 2014-12-01 06:05:03 +01:00
Tanguy Pruvot
56ed0fed05 blake: remove hashharder workaround 2014-12-01 05:58:01 +01:00
Tanguy Pruvot
56170bb32e nvml: cleanup and check api restrictions
there was too much wrap_ prefixes, internal cleanup

SetAPIRestriction reports success but we can not query/set app clocks
2014-11-29 09:13:00 +01:00
Tanguy Pruvot
8ad180cc70 various small changes
heavy: reduce by 256 threads default intensity to all -i 20
cuda: put static thread init bools outside the code (made once)
api: fix nvml header to build without
2014-11-28 20:57:35 +01:00
Tanguy Pruvot
6ae28162db various extern cleanup + api history uids and gpu SM
uids could be useful to create graphes from history data

Note: please do a clean build after this commit (changes in miner.h)
2014-11-26 11:55:42 +01:00
Tanguy Pruvot
cb3f893a85 nvml: fully disable it on windows
The DLL exists for x64 targets but seems not loadable

The nvml.cpp code was wrote to support both NVAPI and NVML on windows
because both apis have unique "features". like Fan RPM vs Fan Percent
2014-11-26 09:57:58 +01:00
Tanguy Pruvot
d3258d8bcd syslog: allow to set a custom prefix
will allow kopiemtu livecd internal monitor to set it to cpuminer
2014-11-25 22:37:38 +01:00
Tanguy Pruvot
9b1ff1280e Allow intermediate intensity (decimals)
Sample with -i 18.5
  Adding 131072 threads to intensity 18, 393216 cuda threads

And with -i 19.5
  Adding 262144 threads to intensity 19, 786432 cuda threads
2014-11-25 19:57:56 +01:00
Tanguy Pruvot
9a97f0cf6e api: fix size_t printf exception in vstudio 2014-11-25 18:24:01 +01:00
Tanguy Pruvot
7e15f31706 api: pool query (uptime, ping, discon., url and user) 2014-11-25 17:39:02 +01:00
Tanguy Pruvot
1dfbe6dfb5 stratum: yaamp answer to extranonce subscribe lately
Fix for the extranonce feature, can also make the miner more stable
2014-11-24 20:14:15 +01:00
Tanguy Pruvot
b824a63cde affinity: do not mix cpu count with gpu one
and update the old var with active gpus if -d is set
2014-11-22 22:14:20 +01:00
Tanguy Pruvot
3be08ad944 update readme (api, current changes, credits) 2014-11-22 16:43:49 +01:00