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

3775 Commits

Author SHA1 Message Date
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
Kano
9447610091 ICA use drv->name 2013-02-02 20:14:33 +11:00
Kano
baf3aca88c usbutils.c release_cgpu() sets nodev 2013-02-02 20:14:33 +11:00
Kano
c1eae36f7b API stats - include pool network bytes + in miner.php 2013-02-02 20:14:33 +11:00
Kano
92abe36f12 MMQ include USB devpath in detection error messages 2013-02-02 20:14:32 +11:00
Kano
a52522af37 MMQ it's a bitstream 2013-02-02 20:14:31 +11:00
Kano
ea807cf0c7 USB BFL transfer is only 64 bytes in a USB1.1 socket 2013-02-02 20:14:31 +11:00
Kano
24525edbef api.c update copyright year 2013-02-02 20:14:30 +11:00
Kano
34bcc1c66d USB automatically handle losing the device and report nodev in the API 2013-02-02 20:14:29 +11:00
Kano
4f460ca72d Best Share readme 2013-02-02 20:14:28 +11:00
Kano
f53549a861 BFL minimise first initialisation failure delay since it is common 2013-02-02 20:14:28 +11:00
Kano
0b3d8c89c2 API zero - zero statistics - all or bestshare - with optional on screen summary 2013-02-02 20:14:27 +11:00
Kano
bd5f20ebf5 api.c pgaenable not re-enabling the device - plus related debug 2013-02-02 20:14:25 +11:00
Kano
bad942e59a increase device status string length 2013-02-02 20:14:24 +11:00
Kano
f9e04a3c5b device_drv - allow .name to be changed before add_cgpu() 2013-02-02 20:14:23 +11:00
Kano
a4e95cfa42 device_drv missing drv for cpu and incorrect test 2013-02-02 20:14:20 +11:00
Kano
a344deb6ac rename device_api -> device_drv and all related api -> drv and add a device_drv->drv enum for identifying which driver each is 2013-02-02 20:14:19 +11:00
Kano
7724989d9b diffexactone pool diff1 used for share value calculation is ffffffff... not 100000000... :P 2013-02-02 20:14:17 +11:00
Kano
f6bde14c31 miner.php user/pass fix 'usr' is readonly 2013-02-02 20:14:16 +11:00
Kano
1b2654e1ff miner.php optional user/pass login restrictions 2013-02-02 20:14:15 +11:00
Con Kolivas
7e2b1e80aa Fix memory leak on stratum share submission. 2013-02-02 11:47:25 +11:00
Kano
1ce817d4df Merge branch 'api' 2013-01-03 21:48:22 +11:00
Kano
e3db37a64e Merge branch 'bfl' 2013-01-03 21:47:41 +11:00
Kano
44ec755282 BFL USB correct usb stats id 2013-01-02 22:43:48 +11:00
Kano
4c2f26e280 zero (most) API stats 2013-01-02 22:34:05 +11:00
Kano
abaaf93c8d Correct API version to match docs 2013-01-02 21:52:38 +11:00