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

5573 Commits

Author SHA1 Message Date
Xiangfu
824fd8fcad Fix the api-example.c compile under Linux 2013-09-21 17:53:50 +08:00
Con Kolivas
c2ef8ca6f5 Enable usb buffering on hashfast during init. 2013-09-21 18:00:06 +10:00
Con Kolivas
489722a62e Provide basic infrastructure for sending an arbitrary frame on hashfast. 2013-09-21 17:44:48 +10:00
Con Kolivas
62f6fefb12 Create a struct array of hashfast commands and their associated usb command names. 2013-09-21 08:33:11 +10:00
Kano
1910e37121 usbutils - only release the device once - for the first intinfo 2013-09-19 21:54:15 +10:00
Kano
0f0b0f818f usbutils set_interface is no longer valid 2013-09-19 21:41:27 +10:00
Kano
166147a803 ubsutils interfaces much each have their own handle 2013-09-19 21:11:40 +10:00
Con Kolivas
45c8d60790 Add crc initialisation tables and helper functions for hashfast driver. 2013-09-19 17:34:26 +10:00
Con Kolivas
456431de29 Add hashfast to api calls. 2013-09-19 17:21:52 +10:00
Con Kolivas
d866973d52 Add templates for USB commands likely to be used by hashfast driver. 2013-09-19 17:19:51 +10:00
Con Kolivas
b224ad37eb Provide initial set up code and structure initialisation for hashfast device detection. 2013-09-19 12:34:00 +10:00
Con Kolivas
3777ed288d Add hashfast detection driver calls to cgminer startup. 2013-09-19 10:46:23 +10:00
Con Kolivas
78932aa1ed Provide basic structure for a hashfast driver. 2013-09-19 10:38:08 +10:00
Con Kolivas
ece6295874 Add basic structures to hashfast header. 2013-09-19 09:51:03 +10:00
Con Kolivas
f317e829ab Create basic skeleton and copyright notices for hashfast driver. 2013-09-19 09:41:25 +10:00
Con Kolivas
cdaaff191e Provide stubs for compiling hashfast code into makefiles. 2013-09-19 09:35:35 +10:00
Con Kolivas
2f72efb0a0 Add configuration option for hashfast devices, tidying up configure.ac slightly. 2013-09-19 09:20:56 +10:00
Kano
00c2c3369a usbutils kernel_detach should use the interface number 2013-09-17 21:42:11 +10:00
Kano
24858de6de usbutils - allow the driver to change which_intinfo 2013-09-17 19:19:43 +10:00
Con Kolivas
48681dd4bb Reset quotas on load balance for all pools at the same time to avoid running out during selection and unintentionally dropping to fallback. 2013-09-16 12:40:11 +10:00
Con Kolivas
972d04d2a8 Break out of select pool from a common point for appropriate debug messages and to avoid further tests. 2013-09-16 12:26:01 +10:00
Kano
cc5c998164 usbutils correct/reverse CMR product numbers 2013-09-16 12:23:49 +10:00
Kano
67b9ee4448 usbutils specifically track handles and interfaces 2013-09-14 18:15:21 +10:00
Kano
a9faec4a4b change drivers to use usb_interface() - required for multi interface change 2013-09-14 18:15:08 +10:00
Kano
08483717aa usbutils - allow a device to use multiple interfaces (and better var names) 2013-09-14 18:14:48 +10:00
Con Kolivas
566a80f05b Cast -1 to (char) to cope with different default char types on ARM. 2013-09-14 10:13:06 +10:00
Con Kolivas
891c279e3b Bump version number to 3.4.3, updating news. 2013-09-13 21:26:07 +10:00
Con Kolivas
203028b068 Put corefoundation and iokit separate in ldflags for darwin. 2013-09-13 17:12:01 +10:00
Con Kolivas
1672238bee Add rules for libusb Makefile.am building on osx 2013-09-13 17:00:04 +10:00
Con Kolivas
fb2cf630f1 Add flags for building libusb statically on osx. 2013-09-13 16:58:52 +10:00
Con Kolivas
27cd9a0a7e Minor typo. 2013-09-13 14:27:28 +10:00
Con Kolivas
a76b09e4fc Find the greatest common denominator in quotas and use the smallest number of consecutive work items per pool in quota load balance mode to smooth hashrate across pools with large quotas. Give excess quota to priority pool 0 instead of pool 0. 2013-09-13 13:51:15 +10:00
Con Kolivas
8ac4fa202d Merge branch 'master' into quota 2013-09-13 13:05:47 +10:00
Con Kolivas
d4ac1915fa Avoid dynamically adding stack memory for nonce2 in the stratum send thread and check the pool's nonce2_len will not cause an overflow. 2013-09-13 09:34:45 +10:00
Con Kolivas
f9fe6ac3cf Merge branch 'master' into quota 2013-09-13 08:50:23 +10:00
ckolivas
f0328f8cd0 Add subdir-objects to automake options. 2013-09-11 17:12:32 +10:00
Con Kolivas
3b302cbab9 Merge branch 'master' into quota 2013-09-10 07:06:32 +10:00
Con Kolivas
f319d3b910 Use inet_addr instead of inet_network to fix windows build. 2013-09-10 07:02:16 +10:00
Con Kolivas
d66eb9e3d0 Update NEWS. 2013-09-08 21:02:27 +10:00
Con Kolivas
9cde575969 Merge branch 'master' into quota 2013-09-08 19:54:35 +10:00
Con Kolivas
7570d885da Remove unused pbase variable. 2013-09-08 19:54:18 +10:00
Con Kolivas
89c07fa5c7 Add support for socks4/4a proxies with stratum, and drop back to socks4 support via the global --socks-proxy command to not break previous configurations. 2013-09-08 16:32:44 +10:00
Con Kolivas
f652b1e291 Fix warning on mingw build. 2013-09-08 10:30:32 +10:00
Con Kolivas
9f87d2abaf Remove now redundant FAQ regarding proxies. 2013-09-08 10:30:25 +10:00
Con Kolivas
a41660f2f0 Only show long-poll message in pool summary if it's not using stratum. 2013-09-08 10:30:18 +10:00
Con Kolivas
5b378f443a Increase the time for the waiting for work message to be given to be greater than that required for a pool swap in the scheduler which is set to 5s. 2013-09-08 10:30:08 +10:00
Con Kolivas
812f7541fd Change message in status when using a balanced pool strategy to notify if there's a stratum pool as well. 2013-09-08 10:29:58 +10:00
Con Kolivas
e65df9932b Fix warning on mingw build. 2013-09-08 10:14:19 +10:00
Con Kolivas
26a8a8e2c6 Use the --failover-only flag to have special meaning in combination with load-balance mode to distribute any unused quota back to pool 0 to maintain ratios amongst other pools. 2013-09-08 10:09:26 +10:00
Con Kolivas
ea1a1b1bf7 Remove now redundant FAQ regarding proxies. 2013-09-08 00:34:53 +10:00