Paul Sheppard
86c8bbe57e
Need to run Hashmeter all the time.
...
and not just if logging/display is enabled
2012-06-29 17:19:28 -07:00
Paul Sheppard
3be662a270
Merge branch 'old_gcc'
2012-06-28 18:35:32 -07:00
Paul Sheppard
75a651c13f
Revert "Check for submit_stale before checking for work_restart"
...
Makes no sense to continue working on the old block whether submit_stale is enabled or not.
2012-06-28 16:08:10 -07:00
Paul Sheppard
123058b587
Add macro roundl for compilers without said function.
2012-06-28 11:02:03 -07:00
Paul Sheppard
f3a82a0d00
Merge branch 'master' of git@github.com:pshep/cgminer.git
2012-06-28 09:17:18 -07:00
Paul Sheppard
baa480c137
Merge branch 'master' of git://github.com/ckolivas/cgminer.git
...
Conflicts:
cgminer.c
2012-06-28 08:22:55 -07:00
Paul Sheppard
f225392990
Add low hash threshold in sick/dead processing
...
Add check for fd in comms procedures
2012-06-28 08:20:45 -07:00
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
Paul Sheppard
862a362bbf
Merge branch 'master' of git://github.com/ckolivas/cgminer.git
2012-06-27 14:55:44 -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
Paul Sheppard
01a7e912c8
Lock comms around entire bitforce_init, and move setting of fd to end.
...
Make sleep occur everytime in scanhash.
2012-06-27 08:25:25 -07:00
Paul Sheppard
62c3c66f17
Merge branch 'master' of git://github.com/ckolivas/cgminer.git
2012-06-27 08:18:12 -07: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
Paul Sheppard
d3e2b62c54
Change sick/dead processing to use device pointer, not gpu array.
...
Change BFL timing to adjust only when hashing complete (not error/idle etc.).
2012-06-26 14:45:48 -07:00
Paul Sheppard
78d5a81d70
Merge branch 'master' of https://github.com/ckolivas/cgminer.git
2012-06-26 12:32:09 -07: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