Con Kolivas
|
98151b2ee4
Generalise the code for solving a block to enable block solve detection with scrypt mining.
|
13 years ago |
Con Kolivas
|
f0c1782c03
Generate the output hash for scrypt as well and use the one function to set share_diff.
|
13 years ago |
Con Kolivas
|
f86e893118
Use the flip80 function in regeneratehash and the correct sized hash array.
|
13 years ago |
Con Kolivas
|
93e3c16aa8
Stage work outside of the stgd lock to prevent attempted recursive locking in clone_available.
|
13 years ago |
Con Kolivas
|
34879487fc
share_diff needs to be performed on a BE version of the output hash to work, leading to false best_share values as spotted by luke-Jr.
|
13 years ago |
Con Kolivas
|
deb9aec0ed
Remove the unused sha224 functions.
|
13 years ago |
Con Kolivas
|
432bfd0e5c
Use the flip functions in hashtest.
|
13 years ago |
Con Kolivas
|
54e218b6d4
Simplify the setting of the nonce data field in work on submitting nonces.
|
13 years ago |
Con Kolivas
|
69dd5affe3
Scrypt code does not enter the hashtest function.
|
13 years ago |
ckolivas
|
9fd60bb53a
Merge branch 'master' of github.com:ckolivas/cgminer
|
13 years ago |
Con Kolivas
|
df7370d066
Go back to cloning available work under staged lock.
|
13 years ago |
ckolivas
|
d91dc188d2
scrypt_diff uses a uint64_t as well.
|
13 years ago |
Con Kolivas
|
bb64799c84
Correct target for stratum support with scrypt mining.
|
13 years ago |
Con Kolivas
|
b9c7f3d169
Remove debugging message :P
|
13 years ago |
Con Kolivas
|
a07e0155bc
Stop all work from the current pool if it's a stratum pool once it is disconnected since it will be invalid upon reconnecting.
|
13 years ago |
Con Kolivas
|
8dbb3fa2f9
Discard all staged work from stratum pools as well as the shares upon disconnection since all the work becomes invalid.
|
13 years ago |
Con Kolivas
|
a7128e008f
Use correct cbreak after 15 second delay when no pool is found alive.
|
13 years ago |
Con Kolivas
|
4f1f5c8ec9
Revert "Reset lagging flag after it has been used in the getwork scheduler."
|
13 years ago |
ckolivas
|
19267907c0
Reset lagging flag after it has been used in the getwork scheduler.
|
13 years ago |
ckolivas
|
14457a0b9b
Allow stratum to work with scrypt.
|
13 years ago |
Con Kolivas
|
3b910336ce
Protect the best_share/best_diff values under control lock.
|
13 years ago |
Con Kolivas
|
9ef73d9300
Check a stratum pool hasn't gone dead while being a backup pool and missed having its idle flag cleared.
|
13 years ago |
Kano
|
43e8b88a73
Benchmark incorrect work size
|
13 years ago |
Con Kolivas
|
e51ee93182
Set tv_idle time if a pool is not active when input from the menu.
|
13 years ago |
Con Kolivas
|
70b6287627
Merge pull request #354 from kanoi/api
|
13 years ago |
Kano
|
58a7226d96
minor unlikely zero pointer test
|
13 years ago |
Con Kolivas
|
c3fb1bcef5
Revert "Selectively discard all work items if a longpoll or stratum restart is received without a new block to work on."
|
13 years ago |
Con Kolivas
|
1922e498e3
Only stratum pools that are idle need to be kicked via cnx_needed.
|
13 years ago |
Con Kolivas
|
c5d9f3ac60
Only set the lagging flag for select_pool() on failed getwork if we're not in opt_fail_only mode.
|
13 years ago |
Con Kolivas
|
383b42f23e
Set the pool lagging flag on startup to avoid it being shown initially, and only unset it once the maximum number of staged work items has been reached.
|
13 years ago |