Jan Berdajs
c0baf790f6
making new algorithms and other changes merged from sph-sgminer work with current version of sgminer
11 years ago
Jan Berdajs
c2131df6aa
add support for setting algorithm/nfactor for each pool separately, and fix bugged OpenCL thread cleanup (thread shutdown)
11 years ago
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++?..
11 years ago
Noel Maersk
c4c85ca71c
misc: add FIXME for scrypt_test() and scanhash_scrypt().
11 years ago
Noel Maersk
2135777cac
scrypt: remove commented-out magic numbers.
11 years ago
Zuikkis
2b9a588e25
Update sgminer.c & scrypt.c
...
Default opt_nfactor was 11 instead of 10, my typo.. :) Sorry.
scrypt_1024_1_1_256_sp renamed to scrypt_n_1_1_256_sp
11 years ago
Teemu Suikki
73bb1504e9
Scrypt-nfactor support!
...
Added new configuration parameter "nfactor", which defaults to 10 (normal scrypt).
Use 11 for vertcoin.
Kernels modified accordingly.
11 years ago
Sanjin Trošelj
e35d7b1105
VS2010 build: Prepare scrypt.c
...
Cherry-picked by veox.
11 years ago
Con Kolivas
03f98e2617
Minor typo.
12 years ago
Kano
2b2b34f500
scrypt correct applog typing
12 years ago
Con Kolivas
bc0e71448e
Make scrypt submission use the submit_nonce code, with nonces matching endianness.
12 years ago
Con Kolivas
c1ff90a7ab
Do testing for HW errors on submit nonce for both scrypt and sha.
12 years ago
Con Kolivas
a6250fbb96
Rename scrypt regenhash function for consistency.
12 years ago
Con Kolivas
f0c1782c03
Generate the output hash for scrypt as well and use the one function to set share_diff.
12 years ago
Con Kolivas
61e86bb842
Use one size for scratchbuf as a macro in scrypt.c
12 years ago
Con Kolivas
d8e18994d5
Support monitoring and reporting much higher diffs for scrypt mining, truncating irrelevant zeroes from displayed hash.
12 years ago
Con Kolivas
33c9faae11
Pass ostate values around in scrypt to be able to extract full hashes if needed later on.
12 years ago
Con Kolivas
7adb7a30e6
Display correct share hash and share difficulty with scrypt mining.
12 years ago
Con Kolivas
04c7a21ddd
Use explicit host to BE functions in scrypt code instead of hard coding byteswap everywhere.
12 years ago
Con Kolivas
e49bd98196
Use the scrypt CPU code to confirm results from OCL code, and mark failures as HW errors, making it easier to tune scrypt parameters.
12 years ago
Con Kolivas
b9e5f8e550
Revert "Use cpu scrypt code to check if an scrypt share is below target before submitting it."
...
This reverts commit 808f403a14
.
Conflicts:
findnonce.c
12 years ago
Con Kolivas
808f403a14
Use cpu scrypt code to check if an scrypt share is below target before submitting it.
12 years ago
Con Kolivas
54f1b80824
Free the scratchbuf memory allocated in scrypt and don't check if CPUs are sick since they can't be. Prepare for khash hash rates in display.
13 years ago
Con Kolivas
a5ebb71216
Add cpumining capability for scrypt.
13 years ago