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

5728 Commits

Author SHA1 Message Date
Con Kolivas
b431ea4e1f Merge branch 'master' into kncminer 2013-10-31 12:09:23 +11:00
Adrian Port
178c9a0cc8 Revert two different hash_sequence(_head)'s to one variable, use HF_SEQUENCE_DISTANCE in both places 2013-10-31 12:07:59 +11:00
Adrian Port
fdcac44218 Remove duplicate HF_SEQUENCE_DISTANCE() macro, and duplicate hash_sequence from info structure 2013-10-31 12:07:59 +11:00
Adrian Port
d6e9a5ac18 Change SEQUENCE_DISTANCE() macro to HF_SEQUENCE_DISTANCE() 2013-10-31 12:07:59 +11:00
Adrian Port
065054f658 Structure changes for OP_NONCE, add big endian header 2013-10-31 12:07:59 +11:00
Kano
f562174a39 klondike - initialise stat_lock 2013-10-30 11:44:52 +11:00
Kano
75230ed808 klondike - better to unlock locks than to lock them twice :) 2013-10-29 22:30:34 +11:00
Con Kolivas
5c9f30369a Merge branch 'master' into hashfast 2013-10-29 22:25:05 +11:00
Con Kolivas
b542f5235b Add copyright notice to knc driver. 2013-10-29 22:08:00 +11:00
Con Kolivas
6e3bee0d5b Trivial style changes to knc driver. 2013-10-29 21:58:55 +11:00
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
Con Kolivas
d3f33888fd Merge branch 'master' into kncminer 2013-10-28 15:26:58 +11:00
Con Kolivas
e684358828 Use a mutex to protect data in the knc structure, to prevent loading more work during a flush, and unlock and return to main between calls to get_queued_work. 2013-10-28 14:40:23 +11:00
Con Kolivas
ac7dc468e2 Use the existing device_data for knc state data. 2013-10-28 14:27:57 +11:00
Con Kolivas
1388b84178 Revert "Process multiple responses in the knc driver."
This reverts commit 76af3bf9a3.
2013-10-28 12:06:48 +11:00
Con Kolivas
32ec362821 Only count successful nonces as hashrate in the knc driver. 2013-10-28 12:04:15 +11:00
Con Kolivas
76af3bf9a3 Process multiple responses in the knc driver. 2013-10-28 12:01:54 +11:00
Con Kolivas
5467dfe7a9 Fix trivial warnings in knc driver. 2013-10-28 11:55:12 +11:00
Con Kolivas
6bcd60a931 Add KNC to api 2013-10-28 11:50:42 +11:00
Con Kolivas
3b04a306b7 Merge branch 'master' into kncminer 2013-10-28 11:37:13 +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
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