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

2276 Commits

Author SHA1 Message Date
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
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
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
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
Paul Sheppard
1ef52e0bac Check for submit_stale before checking for work_restart
(to keep Kano happy)
2012-06-25 19:23:10 -07: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
Paul Sheppard
df9e76bd73 Merge branch 'master' of https://github.com/ckolivas/cgminer.git 2012-06-25 10:56:04 -07:00
Paul Sheppard
f149aea91e Redo recover removal.
FML.
2012-06-25 10:33:18 -07:00
Paul Sheppard
90d82aa61d Revert to pre pool merge 2012-06-25 10:27:08 -07:00
Paul Sheppard
50e996c753 Get rid of recover mode. Not useful at all.
Change zero hash to no start error. Neither is accurate, but zero hash makes less sense than no start.
2012-06-25 10:01:34 -07: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
Kano
f2e6ac50a4 miner.php add auto refresh options 2012-06-25 19:53:13 +10:00
Kano
597f5fa389 miner.php add 'restart' next to 'quit' 2012-06-25 18:12:00 +10:00
Kano
cffd5aee30 miner.php make fontname/size configurable with myminer.php 2012-06-25 18:01:49 +10:00
Con Kolivas
c027492fa4 Make the pools array a dynamically allocated array to allow unlimited pools to be added. 2012-06-25 17:06:26 +10:00