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

4038 Commits

Author SHA1 Message Date
Kano
154e4f4b61 usbutils allow call of usb_all() from other code 2013-03-13 11:04:05 +11:00
Con Kolivas
b5b3ca4911 Convert gbt_lock to a cg_lock. 2013-03-12 22:44:41 +11:00
Con Kolivas
b8ed231f64 Add intermediate variants of cglocks that can be up or downgraded to read or write locks and use them for stratum work generation. 2013-03-12 22:40:23 +11:00
Con Kolivas
26ddd1fd20 Move the stratum and GBT data to be protected under a new cg_lock data_lock. 2013-03-12 22:31:45 +11:00
Con Kolivas
fd87825bf9 Convert the ch_lock to cg_lock. 2013-03-12 22:17:08 +11:00
Con Kolivas
0bbaaa9723 Convert the control_lock to a cg_lock. 2013-03-12 22:07:06 +11:00
Con Kolivas
74164a3ae6 Remove unused qd_lock. 2013-03-12 22:00:44 +11:00
ckolivas
801a38d182 Merge branch 'master' of github.com:ckolivas/cgminer 2013-03-12 21:58:20 +11:00
Con Kolivas
542aef48d0 Merge pull request #402 from hocuscapocus/patch-1
Update README
2013-03-11 04:28:11 -07:00
ckolivas
18fc2df483 Implement cg_lock write biased rwlocks. 2013-03-11 13:23:51 +11:00
Kano
6d629d6856 do usb_initialise() after the started message so we see it 2013-03-11 11:52:05 +11:00
Kano
6acda9373b --usb-dump display brief dump if value = 0 2013-03-11 11:27:35 +11:00
Kano
3f50e878a2 USB add --usb options to limit USB device selection v0.1 2013-03-11 10:58:28 +11:00
Abracadabra
3aa6fd726d Update README
Changes to differentiate filenames in 32-bit vs. 64-bit SDK installation
2013-03-09 22:59:48 -06:00
Con Kolivas
590a13dcac Bump version to 2.11.2 2013-03-09 16:47:18 +11:00
Con Kolivas
767d6df1a5 Whitelist AMD APP SDK 2.8 for diablo kernel. 2013-03-09 16:45:58 +11:00
Con Kolivas
e4b6635b41 Update NEWS. 2013-03-09 16:42:38 +11:00
Con Kolivas
87b62bde43 Cope with the highest opencl platform not having usable devices. 2013-03-09 16:19:00 +11:00
Con Kolivas
8c65897d1b Merge branch 'master' of github.com:ckolivas/cgminer 2013-03-09 15:14:14 +11:00
Con Kolivas
5412323e26 Fix memory leak with share submission on GPU work structures as discovered by twobitcoins. 2013-03-09 15:12:41 +11:00
Con Kolivas
15b4870bae Merge pull request #401 from kanoi/bflsc
usb_cleanup() without locking
2013-03-08 19:26:02 -08:00
Kano
30e7040f11 usb_cleanup() without locking 2013-03-09 13:56:52 +11:00
Con Kolivas
eb4030fc52 Update NEWS. 2013-03-09 12:55:16 +11:00
Con Kolivas
8ae743fb4e Merge pull request #400 from kanoi/bflsc
Show pool number in switch message
2013-03-08 17:15:34 -08:00
Con Kolivas
66c567ab2e Use curl_easy_cleanup to close any open stratum sockets. 2013-03-09 12:13:12 +11:00
Kano
f24fab3fd4 Show pool number in switch message 2013-03-09 11:47:36 +11:00
Con Kolivas
e0196a3307 Don't start testing any pools with the watchpool thread if any of the test threads are still active. 2013-03-09 11:33:50 +11:00
Con Kolivas
7e3ca57049 Set sockd to false should curl setup fail on stratum. 2013-03-09 10:41:36 +11:00
Con Kolivas
56068d6839 Close any open sockets when reusing a curl handle and reopen the socket whenever we're retrying stratum. 2013-03-09 10:30:58 +11:00
Con Kolivas
81c02123f8 Set pool died on failed testing to allow idle flag and time to be set. 2013-03-09 09:56:36 +11:00
Con Kolivas
c618d868cc Remove unused pthread_t typedefs from struct pool. 2013-03-09 09:43:40 +11:00
Con Kolivas
6c77e9a884 Perform pool_resus on all pools that are found alive with the test pool threads. 2013-03-09 09:39:19 +11:00
Con Kolivas
d932a36c46 Use pool_unworkable in select_balanced as well. 2013-03-09 09:34:01 +11:00
Con Kolivas
90a1114a46 Differentiate pool_unusable from pool_unworkable. 2013-03-09 09:31:40 +11:00
Con Kolivas
3b84131f10 Keep a connection open on higher priority stratum pools to fail back to them. 2013-03-09 09:07:20 +11:00
Con Kolivas
f3ce5777a2 Rename threads according to what pool they're associated with as well. 2013-03-09 08:51:51 +11:00
Con Kolivas
9b34d82154 Set the wrong bool in pool_active 2013-03-09 08:10:57 +11:00
Con Kolivas
de28944328 Revert "Rollback breakage to 81567e515707891837f52bc3aac7d5916dfff5a2"
This reverts commit a8863995de.

This should work now...
2013-03-08 20:52:54 +11:00
Con Kolivas
8630525c5d Merge pull request #399 from kanoi/bflsc
API Socket changes
2013-03-08 01:17:54 -08:00
ckolivas
8c87807519 Start the stratum thread only if we successfully init and authorise it, otherwise unset the init flag. 2013-03-08 15:32:10 +11:00
ckolivas
e746ed6412 Make the initialisation of the stratum thread more robust allowing the watchpool thread safe access to it after the stratum thread is started. 2013-03-08 15:18:10 +11:00
Kano
efb2403a38 API no longer ignore send() status 2013-03-08 15:07:41 +11:00
Kano
1eca0476f1 API make the main socket non-static 2013-03-08 11:54:41 +11:00
Con Kolivas
b45a07032a Bump version to 2.11.1 2013-03-07 22:55:50 +11:00
Con Kolivas
88853a2d29 Comment out driver-bflsc.c file from Makefile.am till one exists. 2013-03-07 22:55:50 +11:00
Con Kolivas
efe4898d66 Update NEWS. 2013-03-07 22:47:15 +11:00
Con Kolivas
09c02b1c7b Shorten the time before keepalive probes are sent out and how frequently they're sent with stratum curls. 2013-03-07 22:02:51 +11:00
Con Kolivas
d7c4be30ba Only set stratum auth once to prevent multiple threads being started. 2013-03-07 21:41:01 +11:00
Con Kolivas
3db4d6f0eb Display select return value on select fail in stratum thread. 2013-03-07 21:07:15 +11:00
Con Kolivas
501f4cd6ec Clear the socket of anything in the receive buffer if we're going to retry connecting. 2013-03-07 19:59:30 +11:00