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

50 Commits

Author SHA1 Message Date
elbandi
85290b21d8 Case-insensitive string algorithm comparison 2016-02-12 22:28:56 +01:00
elbandi
7cee9c6660 Move precalc_hash to algorithm settings 2016-02-12 22:28:56 +01:00
elbandi
031e4b78cb Add blake256 algos support 2016-02-12 22:28:56 +01:00
elbandi
17f2478edd Some other minor fixes from theLosers106 2016-02-11 21:53:24 +01:00
elbandi
6fd618d284 Tweak lyra2re algo files 2016-02-11 21:53:23 +01:00
elbandi
580676affb Get some algos from 'master' of https://github.com/djm34/sgminer 2015-11-10 21:17:40 +01:00
troky
f157dd9710 Fixed uninitialized key array. 2015-03-26 12:11:17 +01:00
troky
fe62dc75fc wolf's improvements #2 2015-03-25 18:54:32 +01:00
troky
ae87ca622e wolf's whirlpoolx mod 2015-03-25 15:40:20 +01:00
troky
8cb4fc9d6e Added Pluck algo 2015-03-10 10:26:58 +01:00
troky
8d68e96934 Added Lyra2RE algo 2015-03-10 09:47:46 +01:00
troky
89c380a4ac Added WhirlpoolX algorithm 2015-03-09 11:01:20 +01:00
ystarnaud
4ba8a68043 Merged develop branch with master +updates
Moved the develop code to master. Moving forward all updates will be
done on master unless it's work on a major feature.

This update contains all previous develop code as well as a few new ones
that weren't pushed yet:

* Added neoscrypt compatibility for xintensity/rawintensity
* Neoscrypt now uses correct TC if not specified or set to 0
* Reworked the application of pool settings on algorithm switch which
should resolve TC/Intensity changes between algos such as X11 and
neoscrypt
2014-12-03 10:09:55 -05:00
ystarnaud
42737acf66 Added Neoscrypt with Wolf9466 improvements. 2014-11-19 12:06:16 +01:00
ystarnaud
c0515e8fa3 Added alt kernel file option 2014-11-19 11:18:25 +01:00
badman74
247d70e594 more algo optimization
added x11 compiler otions to more algo's
2014-09-19 18:44:17 +02:00
ystarnaud
9603479e88 Cleanup X11/X13 options
Call X11 compiler options from X13 compiler options to avoid changing
stuff in multiple locations later on.
2014-09-19 18:43:47 +02:00
ystarnaud
b3c07acd08 Xn Algorithms Fine Tuning
Added options to fine tune X11-15 algorithms
2014-09-19 18:38:57 +02:00
ystarnaud
a90bbf7dd2 Added "Fresh" Algorithm and optimized it for a slight speed increase using extra kernels. 2014-09-19 18:26:39 +02:00
ystarnaud
72590bdcf2 Fix potential division by 0 if nfactor is not set 2014-07-08 14:34:01 -04:00
ystarnaud
8001dc027b Algorithm alias fix
Added "old" algorithms and also corrected `nfactor` in case it's parsed before `algorithm`.
2014-07-04 09:49:15 -04:00
Jan Berdajs
2902429772 Add algorithm aliases x11, x13, x15, x15mod, nist5, keccak
Also refactor aliasing
2014-07-03 20:57:27 +02:00
Elbandi
65a1509964 Remove unused diff_nonce 2014-07-01 16:00:24 +02:00
ystarnaud
22c34fbf45 Old Kernel Fix
Old kernels would produce HW. Also, corrected an hamsi problem for
people who didn't use hamsi-expand-big 1.
2014-07-01 01:33:20 -04:00
ystarnaud
5c9126fd61 X14 Implementation
Added X14 and cleaned up the X13/X15 kernels so all 3 offshoots are in
sync. New option "--hamsi-short" or "hamsi-short":true to add a small
boost. May not work on all GPUs.
2014-07-01 01:33:20 -04:00
aznboy84
18e0ed0042 Add BitBlock kernel 2014-07-01 01:29:18 -04:00
ystarnaud
3ae5f97b94 Algorithm Switcher Update
Updated Algorithm switcher to change on pool rather than on algorithm.
This way if, for example, 2 pools use the same algorithm but different
GPU settings, the settings will be applied when changing pool.

Additionally:
* Included a "common" algorithm type in API pool/profile listing. For
example using "marucoin-mod" will return "X13", "darkcoin-mod" will
return "X11", scrypt + nfactor != 10 will return "NScrypt", etc...

* Added "kernel" config option to be backwards compatible with other
miners' configs.

* Added a few algorithm aliases: x11mod -> darkcoin-mod, x13mod ->
marucoin-mod...

* New config keyword: "includes", which holds an array of include files.
This is to counter the JSON limitation not allowing multiple values with
the same name, thus preventing inclusion of multiple files.
2014-06-28 00:54:17 -04:00
ystarnaud
044bf70901 Nfactor fix
Sometimes the json parser, will read/apply nfactor before algorithm is set. When that is the case, set_algorithm() will reset nfactor to 10 preventing nscrypt from loading properly. Corrected the function to use previously set nfactor or default to 10.
2014-06-25 01:01:03 -04:00
Elbandi
2925ea0f65 Use macros in queue_talkcoin_mod_kernel 2014-06-21 23:35:48 +02:00
ystarnaud
056a9f754a Merge pull request #272 from lasybear/v5_0
Add talkcoin-mod (NIST5 algo) by Issue #268 + AMD drivers v14.6 for Windows compatibility fix
2014-06-21 12:19:23 -04:00
Elbandi
1f76f9bfcc Use macros in queue_kernel functions 2014-06-17 20:15:38 +02:00
lasybear
e7228b20f4 talkcoin-mod 2014-06-15 19:21:10 +04:00
troky
5ba1772d5a algorithm spaces/indentation fix 2014-06-13 17:50:55 +02:00
troky
d83d7bd386 Removed original sha2 and made code use sph_sha2 2014-06-12 13:19:30 +02:00
Jan Berdajs
e134ab75ad move algorithm-specific OpenCL compile options into algorithm_t 2014-06-08 20:36:45 +02:00
Jan Berdajs
e5779e1e26 move algorithms into separate folder 2014-06-08 03:26:42 +02:00
Jan Berdajs
dfaee21023 extract marucoin-modold (for old GPUs like Radeon HD 5xxx, e.g. 5850) as separate kernel and add support for it 2014-06-04 19:24:04 +02:00
Jan Berdajs
ce3624fba6 add marucoin-mod (X13-mod) 2014-06-03 01:36:56 +02:00
Jan Berdajs
9ec87cfc1a fixes for MSVC2010 to build 2014-05-29 22:48:25 +02:00
Jan Berdajs
dca83c1112 Add improved Darkcoin (X11-mod) algorithm 2014-05-27 03:39:19 +02:00
Jan Berdajs
9d9f5b7586 Add MaxCoin support 2014-05-27 01:12:30 +02:00
Jan Berdajs
c0baf790f6 making new algorithms and other changes merged from sph-sgminer work with current version of sgminer 2014-05-27 01:11:54 +02:00
Jan Berdajs
c2131df6aa add support for setting algorithm/nfactor for each pool separately, and fix bugged OpenCL thread cleanup (thread shutdown) 2014-03-31 21:05:20 +02:00
Noel Maersk
0db99d66c0 algorithm: add nfactor aliases "adaptive-n-factor" and "nscrypt".
Also change whitespace back to "4 spaces".
2014-03-14 17:05:23 +02:00
unknown
0e37fc24b0 Added algorrithm name to "coin" API command. Changed default algo name to "scrypt". 2014-03-13 23:02:51 +01:00
Noel Maersk
c6a27709f8 core: use global algorithm structure instead of opt_nfactor.
Also squashed:

config: add log messages to set_algo() and set_nfactor().

algorithm: use set_algorithm_nfactor() when setting default nfactor in set_algorithm().

Otherwise algorithm->n defaults to 0.

P.S. Did I already mention how this could have been C++?..
2014-03-07 02:27:06 +02:00
Noel Maersk
a0c52bf67c config: introduce set_nfactor() and use it to call set_algorithm_nfactor().
Had two bugs:

1. Will not compile due to unknown algorithm_t size.
2. nfactor is set to 0 (bad calling, fix later).

So squashed two commits:

1. algorithm: move algorithm_t definition to header.
2. config: if --nfactor is specified, properly set algorithm->nfactor.
2014-03-07 02:27:06 +02:00
Noel Maersk
92b7770212 config: add --algorithm option and documentation.
Doc in `doc/configuration.md` (has to be started sometime, no?).

Configuration function has to be lamely-named set_algo(), because
set_algorithm() is already declared in algorithm.h (prevent namespace
conflict).

algorithm has to be added as global variable due to the way the
callback is done (by CCAN/opt, which in itself is nice).

This can be cleaned up significantly by (at least) introducing a
global configuration struct, but there is no reason to do it now
just for this - better a wholesale manana.
2014-03-07 02:27:00 +02:00
Noel Maersk
50a792f2cd algorithm: initial set_algorithm() and set_algorithm_nfactor(). 2014-03-06 21:23:13 +02:00
Noel Maersk
776eec2e11 algorithm: initial structure definition. 2014-03-06 21:23:10 +02:00