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
c4c85ca71c
misc: add FIXME for scrypt_test() and scanhash_scrypt().
2014-02-25 07:39:45 +02:00
Noel Maersk
2135777cac
scrypt: remove commented-out magic numbers.
2014-02-25 07:39:26 +02:00
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
2014-02-23 14:39:40 -05:00
Teemu Suikki
73bb1504e9
Scrypt-nfactor support!
...
Added new configuration parameter "nfactor", which defaults to 10 (normal scrypt).
Use 11 for vertcoin.
Kernels modified accordingly.
2014-02-23 04:44:17 +02:00
Sanjin Trošelj
e35d7b1105
VS2010 build: Prepare scrypt.c
...
Cherry-picked by veox.
2014-01-28 01:03:56 +02:00
Con Kolivas
03f98e2617
Minor typo.
2013-05-11 16:56:19 +10:00
Kano
2b2b34f500
scrypt correct applog typing
2013-05-02 23:30:24 +10:00
Con Kolivas
bc0e71448e
Make scrypt submission use the submit_nonce code, with nonces matching endianness.
2013-04-18 17:14:59 +10:00
Con Kolivas
c1ff90a7ab
Do testing for HW errors on submit nonce for both scrypt and sha.
2013-04-18 15:07:32 +10:00
Con Kolivas
a6250fbb96
Rename scrypt regenhash function for consistency.
2013-04-18 12:26:32 +10:00
Con Kolivas
f0c1782c03
Generate the output hash for scrypt as well and use the one function to set share_diff.
2012-12-25 14:08:27 +11:00
Con Kolivas
61e86bb842
Use one size for scratchbuf as a macro in scrypt.c
2012-12-24 14:07:05 +11:00
Con Kolivas
d8e18994d5
Support monitoring and reporting much higher diffs for scrypt mining, truncating irrelevant zeroes from displayed hash.
2012-12-01 23:36:17 +11:00
Con Kolivas
33c9faae11
Pass ostate values around in scrypt to be able to extract full hashes if needed later on.
2012-12-01 21:47:27 +11:00
Con Kolivas
7adb7a30e6
Display correct share hash and share difficulty with scrypt mining.
2012-10-15 23:10:24 +11:00
Con Kolivas
04c7a21ddd
Use explicit host to BE functions in scrypt code instead of hard coding byteswap everywhere.
2012-10-15 17:36:44 +11:00
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.
2012-08-07 19:56:43 +10:00
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
2012-07-21 10:28:41 +10:00
Con Kolivas
808f403a14
Use cpu scrypt code to check if an scrypt share is below target before submitting it.
2012-07-20 23:44:43 +10:00
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.
2012-07-14 22:19:55 +10:00
Con Kolivas
a5ebb71216
Add cpumining capability for scrypt.
2012-07-14 22:01:20 +10:00