1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-09 22:38:01 +00:00
Commit Graph

5418 Commits

Author SHA1 Message Date
Vitalii Demianets
f75fdbbbbe Improve performance of work generation by optimizing hex2bin and bin2hex
sprintf is a very expensive function, do direct translation instead.
2013-10-29 21:56:08 +11:00
Kano
3e93b268fa klondike - change options to clock and temptarget only 2013-10-29 20:53:41 +11:00
Kano
5ce372e5df klondike - fix another uninit dev warning 2013-10-29 20:48:21 +11:00
Kano
b4eb870af0 klondike - downgrade 'late update' but add an idle detect - and correct error levels 2013-10-29 19:37:26 +11:00
Kano
4153d907d4 klondike - fix isc uninit warning 2013-10-29 19:17:44 +11:00
kanoi
2bfd8e2a10 Merge pull request #513 from kanoi/master
klondike - drop unresponsive devices
2013-10-27 14:41:50 -07:00
Kano
037f430bb0 klondike - drop the device for hotplug if it's unresponsive 2013-10-28 08:36:29 +11:00
Kano
5bd1b560ac usbutils - usb_nodev() allow a driver to drop a device 2013-10-28 07:41:15 +11:00
Kano
50c8377305 klondike - single 'shutdown' and ensure it happens 2013-10-28 00:30:17 +11:00
kanoi
a39a38ea16 Merge pull request #512 from kanoi/master
klondike remove SCNu8 - unsupported on windows
2013-10-27 06:14:09 -07:00
Kano
0e4997a7ae klondike remove SCNu8 - unsupported on windows 2013-10-28 00:12:43 +11:00
Con Kolivas
a821df6a27 Correctly calculate sleep_estimate in usbutils that may have been preventing usecps from working. 2013-10-27 13:41:50 +11:00
Con Kolivas
b424612cce Use a sanity check on timeout on windows. 2013-10-27 13:35:47 +11:00
Con Kolivas
36c6da8ad4 Reinstate block solve testing. 2013-10-27 00:46:47 +11:00
Con Kolivas
3f6b9d6796 Dramatically simplify the calculation of blockdiff. 2013-10-27 00:27:39 +11:00
Con Kolivas
ca91994709 Simplify the set_target function, allowing it to work properly for fractional diffs. 2013-10-26 23:16:10 +11:00
Con Kolivas
1e35965710 Bump version to 3.6.6 2013-10-26 20:28:27 +11:00
Con Kolivas
e8abedb9c5 Update NEWS. 2013-10-26 20:28:04 +11:00
Con Kolivas
691a681f7e Remove inappropriate extra locking in _usb_transfer_read 2013-10-26 20:24:51 +11:00
Con Kolivas
47554f86aa Bump version to 3.6.5 2013-10-26 14:51:01 +11:00
Con Kolivas
5b1d46ea1b Update README for build options. 2013-10-26 14:23:20 +11:00
Con Kolivas
1da5592f25 Update NEWS 2013-10-26 14:19:26 +11:00
Con Kolivas
f9d3d008da Merge pull request #509 from roybadami/master
Improvements to support for BitBurner boards
2013-10-25 20:11:24 -07:00
Kano
a95dfb1497 klondike - fix uninitialised dev bug 2013-10-25 23:18:15 +11:00
Con Kolivas
3ffc3f1d78 Adjust the binary ntime data in submit_noffset_nonce even when there is no hex ntime string for eg. gbt. 2013-10-25 14:41:23 +11:00
Con Kolivas
316e6d61c9 Put an entry into the work struct telling drivers how much they can roll the ntime themselves. 2013-10-25 14:34:05 +11:00
Con Kolivas
0657b64e38 Only set libusb cancellable status if the transfer succeeds. 2013-10-25 13:36:52 +11:00
Con Kolivas
4728dd82d1 Remove the applog on miner threads dying to prevent deadlocks on exit. 2013-10-25 12:54:10 +11:00
Con Kolivas
4c979d756f Do one extra guaranteed libusb event handling before testing if there are any pending async usb transfers. 2013-10-25 12:46:47 +11:00
Con Kolivas
0da551fac1 Use a linked list for all usb transfers instead of just cancellable ones. 2013-10-25 12:30:39 +11:00
Con Kolivas
d342bcbe81 Provide a mechanism for informing drivers of updated work templates for stratum and gbt mining. 2013-10-25 11:57:27 +11:00
Roy Badami
8795fbc2c6 Remove modified Bitburner avalon defaults - I was mistaken about maximum
stack size
2013-10-24 22:45:51 +01:00
Con Kolivas
7b5884caa5 Add cancellable transfers correctly to the ct_list 2013-10-25 08:43:55 +11:00
Con Kolivas
e22035f024 Check for presence of thr in icarus get nonce for startup nonce testing to work. 2013-10-25 05:10:08 +11:00
Con Kolivas
f8fdff4ad2 Use cancellable usb transfers in the icarus driver to avoid having to loop and poll when waiting for a response and to speed up work restart response time. 2013-10-25 04:25:32 +11:00
Con Kolivas
2b998936fe Add a usb_read_ii_timeout_cancellable wrapper 2013-10-25 04:13:32 +11:00
Con Kolivas
9d8e3df0a8 Add usb transfer cancellation on shutdown and documentation regarding where cancellable transfers are suitable. 2013-10-25 04:07:09 +11:00
Con Kolivas
eb5b611483 Use cancellable transfers on bitfury device. 2013-10-24 22:26:48 +11:00
Con Kolivas
d2feacdfb2 Cancel cancellable usb transfers on work restart messages. 2013-10-24 22:26:13 +11:00
Con Kolivas
51660838da Don't bother having a separate cancellable transfer struct for usb transfers, simply include the list in the usb_transfer struct. 2013-10-24 21:58:25 +11:00
Con Kolivas
c96f096577 Add wrappers for usb_read_cancellable and usb_read_timeout_cancellable 2013-10-24 21:54:35 +11:00
Con Kolivas
c2c6987784 Specifically set the cancellable state for it to not be uninitialised in the usb transfer struct. 2013-10-24 21:52:50 +11:00
Con Kolivas
b52bb5c9e2 Alter the usb cancellable list only under cgusb_fd_lock write lock. 2013-10-24 21:50:52 +11:00
Con Kolivas
19ec360f7c Pass the cancellable option to _usb_read options to decide on whether to add usb transfers to the list of cancellable transfers. 2013-10-24 21:45:41 +11:00
Con Kolivas
2b075cccbf Create a linked list of potentially cancellable usb transfers. 2013-10-24 21:42:04 +11:00
Con Kolivas
448f8dde80 Don't attempt to disable curses or print a summary during an app restart to prevent deadlocks. 2013-10-24 21:15:36 +11:00
Con Kolivas
251b71ba3f Merge branch 'master' of github.com:ckolivas/cgminer 2013-10-24 20:42:39 +11:00
Con Kolivas
81dfe60d36 Keep the libusb event handle polling thread active until there are no async usb transfers in progress. 2013-10-24 20:41:55 +11:00
Con Kolivas
824aa5cb51 Keep a global counter of how many async usb transfers are in place. 2013-10-24 20:36:53 +11:00
Con Kolivas
856471e392 Perform libusb_submit_transfer under the write variant of cgusb_fd_lock 2013-10-24 20:32:17 +11:00