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

3800 Commits

Author SHA1 Message Date
Con Kolivas
2c3c9e5b55 Provide a noop get_stats function for drivers that don't support it. 2013-02-09 19:25:24 +11:00
Con Kolivas
de48ccca0e Provide a blank get_statline for drivers that don't support it. 2013-02-09 19:22:13 +11:00
Con Kolivas
b3d9477eb7 Provide a blank get_statline_before function for drivers that don't have one. 2013-02-09 18:18:52 +11:00
Con Kolivas
f2380eab4c Fill drivers missing reinit_device with a noop version. 2013-02-09 15:10:10 +11:00
Kano
5d986852b2 add 'count' to cumstomsummarypage 'calc' 2013-02-08 10:01:22 +11:00
Kano
530e3b0172 hotplug use get_thread() where appropriate 2013-02-08 02:38:37 +11:00
Kano
6fb32f7b5d convert sleep(const) to nmsleep() 2013-02-08 02:32:27 +11:00
Kano
b9c19a9353 remove empty #ifdef 2013-02-08 02:20:04 +11:00
Kano
bc5755233c call a separate get_devices() with locking, as required 2013-02-08 02:12:09 +11:00
Kano
1c69417def usbutils - avoid free cgusb twice 2013-02-08 01:44:43 +11:00
Kano
983fe2b0c0 usbutils hotplug v0.1 2013-02-08 01:42:36 +11:00
Kano
296eab26b4 Report USB nodev as ZOMBIE on the screen 2013-02-08 01:34:48 +11:00
Con Kolivas
3c91b292a2 Merge branch 'master' into usb-dev 2013-02-07 18:02:38 +11:00
Con Kolivas
5f8d53b84a Change file modes. 2013-02-07 17:55:02 +11:00
Con Kolivas
47db8e99be Bump version to 2.10.5 2013-02-07 16:41:39 +11:00
Con Kolivas
b8e20d078e News update. 2013-02-07 16:40:31 +11:00
Con Kolivas
903c666326 Fix logic fail on partial writes with stratum send that was leading to corrupt message submissions. 2013-02-07 16:38:11 +11:00
Con Kolivas
3804850141 Do not consider every call to stratum_resumed a pool recovery unless it was actually idle. 2013-02-07 13:51:54 +11:00
Con Kolivas
03dff61e54 Merge branch 'master' into usb-dev 2013-02-05 22:00:23 +11:00
Con Kolivas
73b7d7b0c9 Do not enable the pool disable on reject feature unless explicitly enabled with --disable-rejecting. 2013-02-05 21:47:26 +11:00
Con Kolivas
5c1f3b36d6 Merge branch 'master' into usb-dev 2013-02-05 21:34:58 +11:00
Kano
f52f02e9b7 Stratum disconnect shares - count total against stale 2013-02-05 21:34:39 +11:00
Con Kolivas
ffdcaed49d Use sanity checking to prevent a possible overflow with invalid data being given by the pool for difficulty as reported by luke-Jr. 2013-02-05 21:10:18 +11:00
Con Kolivas
0244998ef8 Merge branch 'master' into usb-dev 2013-02-04 11:23:20 +11:00
Con Kolivas
81025611ac Check for calloc failure for completeness in gen_stratum_work. 2013-02-04 11:22:08 +11:00
Con Kolivas
d644fdf1f4 Cache the coinbase length to speed up stratum work generation. 2013-02-04 11:19:12 +11:00
Con Kolivas
0870ab7532 Cache the header length when generating stratum work to avoid calculating it on every work generation, and to only need one alloc+sprintf, speeding up work generation. 2013-02-04 11:06:05 +11:00
Con Kolivas
5402941691 Use heap ram for coinbase in gen_stratum_work, zeroing it before use. 2013-02-04 10:22:10 +11:00
Con Kolivas
51d11a28f9 Provide a wrapper for aligning lengths of size_t to 4 byte boundaries. 2013-02-04 10:19:12 +11:00
Con Kolivas
5d122cad93 Provide wrappers for grabbing of thr value under the mining_thr_lock. 2013-02-03 23:41:41 +11:00
Con Kolivas
08ece33f7e Merge branch 'master' of https://github.com/kanoi/cgminer into kanoi-usb 2013-02-03 22:51:51 +11:00
Kano
7abf30b2c0 distinguish between drv and it's id enum now called drv_id 2013-02-03 22:51:05 +11:00
Con Kolivas
70b5b84052 Merge branch 'master' of https://github.com/kanoi/cgminer into kanoi-usb 2013-02-03 21:33:12 +11:00
Kano
61ec1fe91f mutex all access to mining_thr 2013-02-02 20:14:55 +11:00
Kano
212f32e5e0 Split thr_info array into control_thr and mining_thr pointers so more mining threads can be added later 2013-02-02 20:14:53 +11:00
Kano
8fbc4dade6 MMQ must copy USB bus:device due to usbinfo change 2013-02-02 20:14:45 +11:00
Kano
7388942bbd Stratum disconnect shares - count total against stale 2013-02-02 20:14:45 +11:00
Kano
05157e0802 USB in linux use the expected kernel config to check and detach - and set the configuration in linux also 2013-02-02 20:14:44 +11:00
Kano
128e3270fb USB system wide device locking on windows 2013-02-02 20:14:43 +11:00
Kano
16fa090013 usbutils stats_initialised not set 2013-02-02 20:14:41 +11:00
Kano
028da16bf8 usbutils free found if not used 2013-02-02 20:14:41 +11:00
Kano
8297304089 USB device locking NOOP for windows (for now) 2013-02-02 20:14:41 +11:00
Kano
cb3e3ebfac USB system wide device locking on linux 2013-02-02 20:14:40 +11:00
Kano
59c73ae59a USB usb_init() consistent err/warning/debug messages 2013-02-02 20:14:38 +11:00
Kano
a59b0c0355 usbutils.c use correct config from found (not 0) 2013-02-02 20:14:38 +11:00
Kano
d057791915 Capitalise driver long names used in applog messages 2013-02-02 20:14:37 +11:00
Kano
7fbc3770b4 USB move usbdev info that needs to stay around into usbinfo 2013-02-02 20:14:36 +11:00
Kano
8f4340bfeb BFL allow a 2nd init attempt if the 1st reply is unknown 2013-02-02 20:14:35 +11:00
Kano
3f4d9fc5d6 BFL use #defined strings for work replies 2013-02-02 20:14:34 +11:00
Kano
383a21bebf miner.php trim trailing zeros on some of the STATS numbers 2013-02-02 20:14:34 +11:00