1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 14:58:01 +00:00
Commit Graph

2243 Commits

Author SHA1 Message Date
Con Kolivas
3977f6c6c7 Merge pull request #245 from kanoi/master
api.c ensure old mode is always available when not using --api-groups + quit() on param errors
2012-06-28 01:16:57 -07:00
Kano
b63a374de2 api.c ensure old mode is always available when not using --api-groups + quit() on param errors 2012-06-28 11:59:11 +10:00
Con Kolivas
3267b534a8 Implement rudimentary X-Mining-Hashrate support. 2012-06-28 10:43:52 +10:00
Con Kolivas
29c0f7bd37 Detect large swings in temperature when below the target temperature range and change fan by amounts dependant on the value of tdiff. 2012-06-28 09:42:24 +10:00
Con Kolivas
e16452f09f Adjust the fanspeed by the magnitude of the temperature difference when in the optimal range. 2012-06-28 09:26:33 +10:00
Con Kolivas
55aaa7c1cc Slightly different message since restart may not be successful. 2012-06-28 09:11:29 +10:00
Con Kolivas
07045055e9 Revert "Restarting cgminer from within after ADL has been corrupted only leads to a crash. Display a warning only and disable fanspeed monitoring."
This reverts commit 07212db106.

Reverting this did not fix the crashes people were having with ADL failing after a week and removed the functionality this patch originally intended.
2012-06-28 09:07:22 +10:00
Con Kolivas
4c5d41a8dd Merge pull request #243 from kanoi/master
define, implement and document API option --api-groups
2012-06-27 16:03:46 -07:00
Kano
f0c2f8dd93 API-README spelling 2012-06-28 07:43:25 +10:00
Con Kolivas
24316fc7fc Revert "Work is checked if it's stale elsewhere outside of can_roll so there is no need to check it again."
This reverts commit 5ad58f9a5c.
2012-06-28 07:27:57 +10:00
Kano
05b8f5b099 api.c fix json already closed 2012-06-28 05:59:31 +10:00
Kano
39ff15753c API-README --api-groups corrections 2012-06-28 03:34:16 +10:00
Kano
659e50434e implement and document API option --api-groups 2012-06-28 02:29:58 +10:00
Con Kolivas
5ad58f9a5c Work is checked if it's stale elsewhere outside of can_roll so there is no need to check it again. 2012-06-27 23:36:48 +10:00
Con Kolivas
eddd02fea1 Put upper bounds to under 2 hours that work can be rolled into the future for bitcoind will deem it invalid beyond that. 2012-06-27 23:32:50 +10:00
Con Kolivas
bcec5f5102 Revert "Check we don't exhaust the entire unsigned 32 bit ntime range when rolling time to cope with extremely high hashrates."
This reverts commit 522f620c89.

Unrealistic. Limits are bitcoind related to 2 hours in the future.
2012-06-27 23:30:50 +10:00
Con Kolivas
383d35b221 Merge branch 'master' of github.com:ckolivas/cgminer 2012-06-27 22:35:38 +10:00
Con Kolivas
522f620c89 Check we don't exhaust the entire unsigned 32 bit ntime range when rolling time to cope with extremely high hashrates. 2012-06-27 22:34:46 +10:00
Con Kolivas
a9eb833afb Merge pull request #242 from kanoi/master
api.c allow unwell devices to be enabled so they can be cured
2012-06-27 04:39:59 -07:00
Kano
c21fc06560 define API option --api-groups 2012-06-27 21:28:18 +10:00
Kano
e4f9cc4e3e api.c allow unwell devices to be enabled so they can be cured 2012-06-27 21:21:54 +10:00
Con Kolivas
baaa870d2c Merge pull request #240 from kanoi/master
miner.php - fix/enable autorefresh for custom pages
2012-06-26 22:41:57 -07:00
Kano
f43ee5d652 miner.php - fix/enable autorefresh for custom pages 2012-06-27 15:26:27 +10:00
Con Kolivas
eae545f27a Merge pull request #239 from kanoi/master
miner.php allow custom summary pages - new 'Mobile' summary
2012-06-26 22:14:13 -07:00
Kano
edd1f83a77 miner.php allow custom summary pages - new 'Mobile' summary 2012-06-27 15:08:59 +10:00
ckolivas
794b6558a3 Merge branch 'master' of https://github.com/ckolivas/cgminer 2012-06-27 10:55:50 +10:00
ckolivas
21a23a45d7 Work around pools that advertise very low expire= time inappropriately as this leads to many false positives for stale shares detected. 2012-06-27 10:15:57 +10:00
Con Kolivas
fab619ad38 Merge pull request #238 from kanoi/master
fpgautils.c include a debug message for all unknown open errors
2012-06-26 05:40:22 -07:00
Con Kolivas
ae400b4f09 Only show ztex board count if any exist. 2012-06-26 22:38:18 +10:00
Con Kolivas
68a3a9ad10 There is no need for work to be a union in struct workio_cmd 2012-06-26 22:37:24 +10:00
Kano
c8fcf5ac65 fpgautils.c include a debug message for all unknown open errors 2012-06-26 20:45:59 +10:00
Con Kolivas
028597d37d Merge pull request #237 from luke-jr/serial_open_failerr
Log a specific error when serial opens fail due to lack of user permissions
2012-06-25 23:07:23 -07:00
Con Kolivas
405eeb6337 Merge pull request #236 from kanoi/master
fpgautils.c - set BAUD rate according to termio spec
2012-06-25 23:06:57 -07:00
ckolivas
b198423d17 Don't keep rolling work right up to the expire= cut off. Use 2/3 of the time between the scantime and the expiry as cutoff for reusing work. 2012-06-26 16:01:06 +10:00
ckolivas
6e80b63bb8 Revert "Increase the getwork delay factored in to determine if work vs share is stale to avoid too tight timing."
This reverts commit d8de1bbc5b.

Wrong fix.
2012-06-26 15:43:03 +10:00
Luke Dashjr
f8774ff611 Log a specific error when serial opens fail due to lack of user permissions 2012-06-26 04:14:57 +00:00
ckolivas
c7eb9f3761 Microsecond multiplier error. 2012-06-26 14:05:54 +10:00
ckolivas
d8de1bbc5b Increase the getwork delay factored in to determine if work vs share is stale to avoid too tight timing. 2012-06-26 13:07:08 +10:00
ckolivas
dffda2382f Increase GPU timing resolution to microsecond and add sanity check to ensure times are positive. 2012-06-26 12:50:52 +10:00
ckolivas
999dba479a Revert "Use much more damping when determining average opencl duration to change dynamic intensity."
This reverts commit 04e528d38f.

Didn't help.
2012-06-26 12:26:25 +10:00
ckolivas
04e528d38f Use much more damping when determining average opencl duration to change dynamic intensity. 2012-06-26 11:29:29 +10:00
ckolivas
79a4e25742 Opencl code may start executing before the clfinish order is given to it so get the start timing used for dynamic intensity from before the kernel is queued. 2012-06-26 11:12:13 +10:00
Kano
c540cd9126 fpgautils.c - set BAUD rate according to termio spec 2012-06-26 02:34:44 +10:00
Con Kolivas
b2cef11480 Merge pull request #235 from kanoi/master
icarus - must allows allocate memory for icarus_info
2012-06-25 06:18:27 -07:00
Kano
3763cb0bad icarus - must allows allocate memory for icarus_info 2012-06-25 23:16:07 +10:00
Con Kolivas
cc557b3f8d Merge pull request #234 from kanoi/master
fpgautils.c - must initialise c_cflag before using it
2012-06-25 06:05:48 -07:00
Kano
cb1634debf fpgautils.c - linux ordering back to the correct way 2012-06-25 22:35:16 +10:00
Con Kolivas
e53c033aa8 Icarus needs not +2 for realloc, just +1. 2012-06-25 20:12:55 +10:00
Con Kolivas
e30e2f783a Merge pull request #233 from kanoi/master
miner.php enhancements: refresh, restart, font configurable
2012-06-25 03:11:17 -07:00
Kano
5ef8528470 miner.php remove unneeded '.'s 2012-06-25 20:02:40 +10:00