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

5649 Commits

Author SHA1 Message Date
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
Vitalii Demianets
6d4a03ad81 Better HW error count; disable permanently those cores which fail often 2013-10-26 23:58:52 +02:00
Vitalii Demianets
53570ae8a0 KnC driver: knc-spi-fpga ASIC driver
This driver talks to KnCMiner controller via SPI

Protocol specification is available at
https://github.com/KnCMiner/jupiter-hw-docs/blob/master/fpga_spi.md
2013-10-26 23:58:52 +02:00
Vitalii Demianets
dee0192b8a Improve performance of work generation by optimizing hex2bin and bin2hex
sprintf is a very expensive function, do direct translation instead.
2013-10-26 23:58:52 +02:00
Henrik Nordstrom
4bc955c004 Fixup jansson & libusb include paths when using separate build directory 2013-10-26 23:58:52 +02:00
Vitalii Demianets
14d20837b3 'llround' is more suitable here than 'roundl' 2013-10-26 23:58:52 +02:00
Henrik Nordstrom
1e51336f95 Silence warning if MAX/MIN is already defined 2013-10-26 23:58:52 +02:00
Henrik Nordstrom
1ceeb3b76c Remove prebuild ccan/opt dependencies
these must be rebuilt from source to match target headers
2013-10-26 23:57:58 +02: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
4940b7198e Merge branch 'master' into hashfast 2013-10-26 22:12:34 +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
2d67bb06dc Merge branch 'master' into hashfast 2013-10-26 16:22:13 +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
e1b4aa980c Merge branch 'master' into hashfast 2013-10-25 14:42:35 +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
f29f612182 Merge branch 'master' into hashfast 2013-10-25 14:35:56 +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
b639e68870 Merge branch 'master' into hashfast 2013-10-24 21:19:29 +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