Luke Dashjr
|
d7d70cbe71
Generic refactoring for timer_set_now
|
12 years ago |
Luke Dashjr
|
df45e5cf9f
Always use struct timeval for timers, and don't mix timers with timestamps (functional only)
|
12 years ago |
Luke Dashjr
|
f08199b4a6
Stratum: Fix nonce2 sizes greater than 4 and (on big-endian) smaller than 4
|
12 years ago |
Luke Dashjr
|
251cfa231c
Refactor and simplify bin2hex to speed up and avoid unnecessary heap use
|
12 years ago |
Luke Dashjr
|
9484dc1a46
stratum: Refactor work generation to do hex2bin conversions once, rather than every single header generated
|
12 years ago |
Luke Dashjr
|
75b58b16a5
Implement bytes_t for generic binary data storage (including smart realloc-based resize)
|
12 years ago |
Luke Dashjr
|
c126f6b96e
Merge commit 'c9fd247' into bfgminer
|
12 years ago |
Luke Dashjr
|
c9fd247c19
Rewrite hex2bin to perform much faster (reduces minirig CPU usage by more than half!)
|
12 years ago |
Luke Dashjr
|
8dea41b6e1
Merge branch 'strerror' into bfgminer
|
12 years ago |
Luke Dashjr
|
7d0639c2f3
Bugfix: Initialization for bfgtls needs to be done in each thread
|
12 years ago |
Luke Dashjr
|
7daabff690
Merge commit '11375ff' into bfgminer
|
12 years ago |
Luke Dashjr
|
11375ff700
Bugfix: stratum: Be patient with stratum lines that come in slower than we can process them
|
12 years ago |
Luke Dashjr
|
831c0d2eee
Use bfg_strerror in locations previously just logging raw error numbers
|
12 years ago |
Luke Dashjr
|
68aa670b50
Bugfix: stratum: Log WSAGetLastError() for error number on recv failures on Windows
|
12 years ago |
Luke Dashjr
|
adc85d0b5c
Use bfg_strerror where it is already needed (for thread-safety)
|
12 years ago |
Luke Dashjr
|
ac0bae4e91
New thread-safe bfg_strerror function to portably stringify error codes
|
12 years ago |
Luke Dashjr
|
d488bc2770
Merge remote-tracking branch 'bfg-pull/242/head' into bfgminer
|
12 years ago |
Matthias Strubel
|
acd639ff08
fixinc to correct errno
|
12 years ago |
Matthias Strubel
|
e6f52f3359
Deliver exact socket-error within the debug error message
|
12 years ago |
Luke Dashjr
|
66b4e48e52
Merge commit '6560878' into cg_merges_20130619a
|
12 years ago |
Con Kolivas
|
6560878e03
Suspend stratum connections when we know they've failed and don't try to recv data from them once the socket no longer exists.
|
12 years ago |
Con Kolivas
|
13a4aaa61a
Failure to read and write on pseudo semaphores on apple happens routinely on shut down so should not be a quit error, just a warning.
|
12 years ago |
Con Kolivas
|
12a2cb0d3c
Demote failed hex2bin result to LOG_INFO and check return result in driver-bflsc to avoid doing find_work_by_midstate.
|
12 years ago |
ckolivas
|
9b2e517f30
Use cgsem structures instead of the flaky pings in the work queue to start mining threads and remove the unused thr_info_freeze function.
|
12 years ago |
Luke Dashjr
|
b001f6cc72
Merge commit 'd52ab24' into cg_merges_20130606a
|
12 years ago |
ckolivas
|
104b14ec7f
Failed reads and writes on cgsem_post and cgsem_wait should be extremely rare.
|
12 years ago |
ckolivas
|
b59c33800b
Implement cgminer specific cgsem semaphores to imitate unnamed semaphore behaviour on osx which does not support them.
|
12 years ago |
Luke Dashjr
|
060447e522
Merge commit '04e0ee2' into cg_merges_20130602
|
12 years ago |
Luke Dashjr
|
b55eb24f9d
Remove embedded uthash (and add dependency on system uthash)
|
12 years ago |
Luke Dashjr
|
3fe5b3ff17
Replace elist.h with uthash.h for thread queue
|
12 years ago |