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

4389 Commits

Author SHA1 Message Date
Con Kolivas
bd652a623e Only allow the mining thread to be cancelled when it is not within driver code, making for cleaner shutdown and allowing us to pthread_join the miner threads on kill_work(). 2013-05-18 16:57:13 +10:00
Con Kolivas
830f30ff2d Only allow the mining thread to be cancelled when it is not within driver code, making for cleaner shutdown and allowing us to pthread_join the miner threads on kill_work(). 2013-05-18 16:56:23 +10:00
Con Kolivas
ac7c073c77 Merge branch 'master' into icarus-dev 2013-05-18 13:16:25 +10:00
Con Kolivas
546be35cc7 Merge branch 'icarus-dev' of github.com:ckolivas/cgminer into icarus-dev 2013-05-18 13:16:17 +10:00
Con Kolivas
f227515e38 Set pool->probed to true after an attempt to resolve the url via stratum code. 2013-05-18 13:09:01 +10:00
Kano
5e588d87f4 icarus test nodev everywhere 2013-05-18 01:56:00 +10:00
Kano
250e435313 usbutils/icarus separate FTDI transfer values and more debug 2013-05-18 01:39:56 +10:00
Kano
fac3bf8722 add icarus to hotplug 2013-05-17 22:06:54 +10:00
Kano
8f4547da99 usbutils add rest of icarus 2013-05-17 22:05:53 +10:00
Con Kolivas
22e677f4d6 Merge branch 'icarus-dev' of github.com:ckolivas/cgminer into icarus-dev 2013-05-17 21:25:38 +10:00
Con Kolivas
e128f90ef1 Merge branch 'master' of github.com:ckolivas/cgminer 2013-05-17 21:13:36 +10:00
Kano
288f5e3b43 simple serial-USB python test script 2013-05-17 19:12:31 +10:00
Kano
9f46aa9012 icarus->USB v0.1 incomplete - missing initialise() 2013-05-17 15:14:48 +10:00
Kano
dad308701b README spelling 2013-05-17 15:08:48 +10:00
Kano
9f4a3a798d Update documentation for icarus switch to USB 2013-05-17 15:05:51 +10:00
Kano
079b488a5b Add USB rules for supported USB devices 2013-05-17 14:21:43 +10:00
Kano
6219f977f6 switch icarus configuration to usb 2013-05-17 14:10:58 +10:00
Kano
05a385ccfc usbutils new command for icarus 2013-05-17 13:49:41 +10:00
Kano
e89c921ab0 usb add a numeric sub-indentity for each name 2013-05-16 22:16:15 +10:00
Kano
2631b55ee2 usbutils - make FTDI handling automatic 2013-05-16 21:38:55 +10:00
Kano
92e5ee9d66 fix duplicate name 2013-05-16 19:41:53 +10:00
Kano
2a0b712ed5 usbutils set Black Arrow Lancelot's as BAL and match the lot->llt name 2013-05-16 19:39:40 +10:00
Kano
28f4fc64fd usbutils identify Icarus devices 2013-05-16 19:33:30 +10:00
kanoi
cea88268be Merge pull request #431 from kanoi/master
usb_applog separate amt display
2013-05-15 22:43:30 -07:00
Con Kolivas
0a15beb742 libusb_control_transfer 16 bit words are endian specific. 2013-05-16 12:39:18 +10:00
Kano
6493554acb usb_applog separate amt display 2013-05-15 17:39:25 +10:00
Con Kolivas
3336880e3b Show pool difficulty more verbosely if it changes via stratum. 2013-05-13 22:42:39 +10:00
Con Kolivas
4efe9ca82e Attribute whatever stats we can get on untracked stratum shares based on current pool diff. 2013-05-13 22:23:13 +10:00
Con Kolivas
3f24653f56 Provide a --lowmem option which does not cache shares on failed submission to prevent low memory hardware (eg Avalon) from crashing. 2013-05-13 22:10:01 +10:00
Con Kolivas
c4a8f47769 Merge pull request #429 from mhren/patch-1
Update util.c
2013-05-11 21:37:36 -07:00
mhren
c5bfc45233 Update util.c
Apple OS/X does not define MSG_NOSIGNAL.  Use SO_NOSIGPIPE instead
2013-05-11 23:32:57 -05:00
Con Kolivas
32c41bd03c Bump version to 3.1.1 2013-05-11 20:38:50 +10:00
Con Kolivas
3f0842f7bd Update NEWS. 2013-05-11 20:36:31 +10:00
Con Kolivas
1a7a87c2a6 Use a discrete device target for scrypt that dynamically changes to ensure we still report a work utility even if no shares are submitted such as in solo mining. 2013-05-11 20:29:48 +10:00
Con Kolivas
2fb6637b5a Make set_work_target a function to set a specified char as target for use elsewhere. 2013-05-11 19:51:43 +10:00
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