Con Kolivas
|
64b08f383b
|
All stratum calls to recv_line are serialised from the one place so there is no need to use locking around recv().
|
12 years ago |
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().
|
12 years ago |
Con Kolivas
|
f227515e38
|
Set pool->probed to true after an attempt to resolve the url via stratum code.
|
12 years ago |
Con Kolivas
|
e128f90ef1
|
Merge branch 'master' of github.com:ckolivas/cgminer
|
12 years ago |
kanoi
|
cea88268be
|
Merge pull request #431 from kanoi/master
usb_applog separate amt display
|
12 years ago |
Con Kolivas
|
0a15beb742
|
libusb_control_transfer 16 bit words are endian specific.
|
12 years ago |
Kano
|
6493554acb
|
usb_applog separate amt display
|
12 years ago |
Con Kolivas
|
3336880e3b
|
Show pool difficulty more verbosely if it changes via stratum.
|
12 years ago |
Con Kolivas
|
4efe9ca82e
|
Attribute whatever stats we can get on untracked stratum shares based on current pool diff.
|
12 years ago |
Con Kolivas
|
3f24653f56
|
Provide a --lowmem option which does not cache shares on failed submission to prevent low memory hardware (eg Avalon) from crashing.
|
12 years ago |
Con Kolivas
|
c4a8f47769
|
Merge pull request #429 from mhren/patch-1
Update util.c
|
12 years ago |
mhren
|
c5bfc45233
|
Update util.c
Apple OS/X does not define MSG_NOSIGNAL. Use SO_NOSIGPIPE instead
|
12 years ago |
Con Kolivas
|
32c41bd03c
|
Bump version to 3.1.1
|
12 years ago |
Con Kolivas
|
3f0842f7bd
|
Update NEWS.
|
12 years ago |
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.
|
12 years ago |
Con Kolivas
|
2fb6637b5a
|
Make set_work_target a function to set a specified char as target for use elsewhere.
|
12 years ago |
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.
|
12 years ago |
Con Kolivas
|
9a76db8db9
|
Regenerate the hash before checking the share diff in hashtest().
|
12 years ago |
Con Kolivas
|
03f98e2617
|
Minor typo.
|
12 years ago |
Con Kolivas
|
79dd9dfe13
|
Use a scantime of 30 seconds for scrypt if none is specified.
|
12 years ago |
Con Kolivas
|
b196d4fa0c
|
Support more shares to be returned for scrypt mining.
|
12 years ago |
Con Kolivas
|
a923b7d3f0
|
Update the write config to properly record device entries and remove disabled option.
|
12 years ago |
Con Kolivas
|
3972fe223b
|
Show a different warning and loglevel for failure to resolve a URL on first or subsequent testing of stratum pool URLs.
|
12 years ago |
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>
|
12 years ago |
Con Kolivas
|
2b8cbf61ca
|
Revert wrong patch.
|
12 years ago |
Con Kolivas
|
2645797fca
|
Set all stratum sockets to nonblocking to avoid trying to use MSG_DONTWAIT on windows.
|
12 years ago |
Con Kolivas
|
d89936a96c
|
Fix warnings on win32 build.
|
12 years ago |
ckolivas
|
832012f61d
|
Only use MSG_NOSIGNAL for !win32 since it doesn't exist on windows.
|
12 years ago |
ckolivas
|
6acfdbd661
|
Use MSG_NOSIGNAL on stratum send()
|
12 years ago |
ckolivas
|
a7cbbc9fc3
|
Set TCP_NODELAY for !linux for raw sockets.
|
12 years ago |
ckolivas
|
0676a1a885
|
Use TCP_NODELAY with raw sockets if !opt_delaynet
|
12 years ago |
Kano
|
527fe05848
|
Merge branch 'usb'
|
12 years ago |
Con Kolivas
|
68196588c9
|
Make raw sockets compile on windows
|
12 years ago |
Con Kolivas
|
43bcccf868
|
Recheck select succeeds on EWOULDBLOCK for stratum.
|
12 years ago |
Kano
|
05dd48ace1
|
usbutils/mmq fixed size usb_read default to wait for all data
|
12 years ago |
Kano
|
f518f33674
|
usbutils optional (disabled by default) dev debug
|
12 years ago |
Kano
|
e53040ca4d
|
Add an ftdi usb read macro without newline
|
12 years ago |
Con Kolivas
|
8e117050e3
|
Avalon usb interface should be 0.
|
12 years ago |
Con Kolivas
|
4a39f03919
|
Add more debug for failure to USB init.
|
12 years ago |
Con Kolivas
|
6e969e93e2
|
Recv() should all be non-blocking for raw sockets in stratum.
|
12 years ago |
Con Kolivas
|
cf80fe4a63
|
Change verbosity and error for getaddrinfo warnings in setup stratum socket.
|
12 years ago |
Con Kolivas
|
1a43cb0b17
|
Free servinfo after p is checked in setup stratum socket.
|
12 years ago |
Con Kolivas
|
31aa4f6ceb
|
Use raw sockets without curl for stratum communications.
|
12 years ago |
Con Kolivas
|
657e64477b
|
Sacrifice curl handle memory on stratum disconnects on all versions of libcurl to avoid curl corruption.
|
12 years ago |
Con Kolivas
|
891f88b601
|
Don't use TCP_NODELAY if opt_delaynet is enabled with stratum.
|
12 years ago |
Con Kolivas
|
69bdc6f988
|
Fix warnings in avalon driver.
|
12 years ago |
Con Kolivas
|
fb249975ec
|
Make FULLNONCE an ULL to fix a warning on 32 bit.
|
12 years ago |
Kano
|
d3955b8951
|
ztx correct applog typing
|
12 years ago |
Kano
|
54d5d26095
|
ocl correct applog typing
|
12 years ago |
Kano
|
2ce2f8d8eb
|
util correct applog typing
|
12 years ago |