1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 15:27:53 +00:00
Commit Graph

4204 Commits

Author SHA1 Message Date
Con Kolivas
0b6ee62cc4 Further consolidate the hash regeneration between sha and scrypt doing it only once and always checking the share diff for both before submission. 2013-05-11 19:34:44 +10:00
Con Kolivas
9a76db8db9 Regenerate the hash before checking the share diff in hashtest(). 2013-05-11 17:04:49 +10:00
Con Kolivas
03f98e2617 Minor typo. 2013-05-11 16:56:19 +10:00
Con Kolivas
79dd9dfe13 Use a scantime of 30 seconds for scrypt if none is specified. 2013-05-11 16:50:53 +10:00
Con Kolivas
b196d4fa0c Support more shares to be returned for scrypt mining. 2013-05-11 16:19:02 +10:00
Con Kolivas
a923b7d3f0 Update the write config to properly record device entries and remove disabled option. 2013-05-11 15:25:42 +10:00
Con Kolivas
3972fe223b Show a different warning and loglevel for failure to resolve a URL on first or subsequent testing of stratum pool URLs. 2013-05-11 15:03:40 +10:00
Con Kolivas
ef3b0657dd Fix the problem of seting up termio of ttyUSB0 for icarus. the CSIZE
is the mask of CS2/4/8
From: navyxliu <navy.xliu@gmail.com>
2013-05-10 18:24:04 +10:00
Con Kolivas
2b8cbf61ca Revert wrong patch. 2013-05-09 22:07:11 +10:00
Con Kolivas
2645797fca Set all stratum sockets to nonblocking to avoid trying to use MSG_DONTWAIT on windows. 2013-05-09 22:04:33 +10:00
Con Kolivas
d89936a96c Fix warnings on win32 build. 2013-05-09 21:10:53 +10:00
ckolivas
832012f61d Only use MSG_NOSIGNAL for !win32 since it doesn't exist on windows. 2013-05-09 13:42:53 +10:00
ckolivas
6acfdbd661 Use MSG_NOSIGNAL on stratum send() 2013-05-09 13:36:34 +10:00
ckolivas
a7cbbc9fc3 Set TCP_NODELAY for !linux for raw sockets. 2013-05-09 12:08:42 +10:00
ckolivas
0676a1a885 Use TCP_NODELAY with raw sockets if !opt_delaynet 2013-05-09 12:00:28 +10:00
Kano
527fe05848 Merge branch 'usb' 2013-05-09 11:48:09 +10:00
Con Kolivas
68196588c9 Make raw sockets compile on windows 2013-05-09 11:39:09 +10:00
Con Kolivas
43bcccf868 Recheck select succeeds on EWOULDBLOCK for stratum. 2013-05-09 10:41:27 +10:00
Kano
05dd48ace1 usbutils/mmq fixed size usb_read default to wait for all data 2013-05-09 06:50:51 +10:00
Kano
f518f33674 usbutils optional (disabled by default) dev debug 2013-05-09 06:49:48 +10:00
Kano
e53040ca4d Add an ftdi usb read macro without newline 2013-05-09 06:47:41 +10:00
Con Kolivas
8e117050e3 Avalon usb interface should be 0. 2013-05-09 06:44:32 +10:00
Con Kolivas
4a39f03919 Add more debug for failure to USB init. 2013-05-09 06:43:56 +10:00
Con Kolivas
6e969e93e2 Recv() should all be non-blocking for raw sockets in stratum. 2013-05-08 22:52:18 +10:00
Con Kolivas
cf80fe4a63 Change verbosity and error for getaddrinfo warnings in setup stratum socket. 2013-05-08 22:41:28 +10:00
Con Kolivas
1a43cb0b17 Free servinfo after p is checked in setup stratum socket. 2013-05-08 22:11:01 +10:00
Con Kolivas
31aa4f6ceb Use raw sockets without curl for stratum communications. 2013-05-08 21:59:58 +10:00
Con Kolivas
657e64477b Sacrifice curl handle memory on stratum disconnects on all versions of libcurl to avoid curl corruption. 2013-05-08 06:28:07 +10:00
Con Kolivas
891f88b601 Don't use TCP_NODELAY if opt_delaynet is enabled with stratum. 2013-05-06 16:54:55 +10:00
Con Kolivas
69bdc6f988 Fix warnings in avalon driver. 2013-05-03 22:28:37 +10:00
Con Kolivas
fb249975ec Make FULLNONCE an ULL to fix a warning on 32 bit. 2013-05-03 22:24:11 +10:00
Kano
d3955b8951 ztx correct applog typing 2013-05-02 23:44:47 +10:00
Kano
54d5d26095 ocl correct applog typing 2013-05-02 23:41:51 +10:00
Kano
2ce2f8d8eb util correct applog typing 2013-05-02 23:36:04 +10:00
Kano
65af59b754 api correct applog typing 2013-05-02 23:34:14 +10:00
Kano
6cef9f423d cgminer correct applog typing 2013-05-02 23:32:42 +10:00
Kano
2b2b34f500 scrypt correct applog typing 2013-05-02 23:30:24 +10:00
Kano
c44817d5da bfl correct applog typing 2013-05-02 23:28:10 +10:00
Kano
95fe655fd7 ica correct applog typing 2013-05-02 23:26:02 +10:00
Kano
9a1925ddaa mmq correct applog typing 2013-05-02 23:15:29 +10:00
Kano
7e3242b05c adl fix trailing % 2013-05-02 23:07:06 +10:00
Kano
56a45778f8 usbutils correct applog typing 2013-05-02 23:02:35 +10:00
Kano
8f08a327ca applog - force type checking 2013-05-02 22:50:25 +10:00
Con Kolivas
ed65653ca6 Simplify the many lines passed as API data in the avalon driver now that the API does not need persistent storage for the name. 2013-05-02 17:32:04 +10:00
Con Kolivas
965129b5b7 Duplicate the name string always in api_add_data_full to not need persistent storage for names passed to it. 2013-05-02 17:26:59 +10:00
Con Kolivas
d08bdfd69f Add extra matching work count data in API for Avalon with 4 modules. 2013-05-02 17:03:31 +10:00
Con Kolivas
0803e468a2 Update NEWS. 2013-04-29 01:45:20 +10:00
Con Kolivas
8971c56b8d va_copy is meant to be matched by a va_end in log_generic. 2013-04-29 00:47:58 +10:00
Kano
d3d90e65fa usbutils remove_in_use break 2013-04-29 00:24:46 +10:00
Kano
bfdbec1d87 usbutils remove_in_use yet again 2013-04-29 00:11:12 +10:00