Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 669bcac3 | 2013-10-23 12:06:20 | Merge branch 'master' into hashfast | ||
| 8dcbc86b | 2013-10-23 09:55:10 | Use windows' own higher resolution time and handlers allowing us to have higher precision absolute timeouts. | ||
| 31e8ebaf | 2013-10-19 16:08:17 | Merge branch 'master' into hashfast | ||
| 39563824 | 2013-10-18 22:04:21 | Send pthread_cancel to failed completion_timeout that has timed out. | ||
| f5baf9f5 | 2013-10-18 19:12:13 | Merge branch 'master' into hashfast Conflicts: usbutils.h | ||
| 7838af1d | 2013-10-18 10:51:44 | Remove unused variables. | ||
| f826e357 | 2013-10-18 10:14:51 | Provide a cg_completion_timeout helper function for unreliable functions that takes arbitrary functions and parameters and reliably returns. | ||
| e06e495a | 2013-10-14 15:07:32 | Merge branch 'master' into hashfast | ||
| 166200c0 | 2013-10-14 12:01:40 | Windows uses errno for WSAETIMEDOUT | ||
| 6e948d87 | 2013-10-14 11:34:08 | Check for correct timeout error in cgsem_mswait | ||
| 51f8107b | 2013-10-14 11:27:04 | Fix util.h exports for cgsem_mswait | ||
| c75ce853 | 2013-10-14 11:22:57 | Implement a generic cgsem_mswait similar to sem_timedwait | ||
| 9b5c5349 | 2013-10-13 16:41:53 | Merge branch 'master' into hashfast Conflicts: api.c configure.ac miner.h usbutils.c usbutils.h | ||
| 7318ecee | 2013-10-07 23:34:01 | Make the devlock a cglock in usbutils and only grab the write lock for fundamental changes allowing us to send and receive transfers concurrently without lock contention. | ||
| 59ff31d8 | 2013-10-07 17:11:33 | Make the devlock a cglock in usbutils and only grab the write lock for fundamental changes allowing us to send and receive transfers concurrently without lock contention. | ||
| f49a3c76 | 2013-09-30 08:43:29 | Merge branch 'master' into hashfast Conflicts: Makefile.am api.c cgminer.c configure.ac miner.h usbutils.c usbutils.h | ||
| 44b9cf50 | 2013-09-26 12:11:25 | Limit the duration we wait for reads in BF1 based on time already elapsed to account for other delays such as work restart messages or out of work. | ||
| cccee5d5 | 2013-09-22 20:24:59 | Fix util.h build from hashfast include. | ||
| 466d3bec | 2013-09-21 22:49:28 | Provide a --disable-libcurl config option to build support for stratum mining only. | ||
| 8ede407d | 2013-09-05 23:10:19 | Make extract_sockaddr set variables passed to it rather than pool struct members. | ||
| e1433f8e | 2013-08-22 13:49:22 | Use timespecs on windows as cgtimer_t to capitalise on the higher resolution clock changes. | ||
| 903d007c | 2013-08-20 22:47:13 | Provide cgtimer_sub helper functions. | ||
| 9dc63cee | 2013-08-20 22:35:38 | Provide cgtimer_to_ms helper functions. | ||
| 7d0c9b50 | 2013-08-20 22:27:14 | Rename cgsleep_prepare_r as cgtimer_time to get time in cgtimer_t format and call cgsleep_prepare_r as a macro for cgtimer_time | ||
| eeac9d81 | 2013-08-20 19:23:49 | Replace all references to the old n*sleep functions with the equivalent cgsleep_*s replacements. | ||
| 7d448cd7 | 2013-08-19 23:39:49 | timeGetTime uses huge resources on windows so revert to using timevals for its implementation of cgtimer_t | ||
| b238139c | 2013-08-19 17:44:45 | Provide cgtimer_to_timeval helper functions. | ||
| 09679e9f | 2013-08-19 17:38:20 | Provide a timeval_to_cgtime helper function to reuse values. | ||
| 09e9091d | 2013-08-19 13:54:56 | Simplify cgsleep code for windows by using a typedef for cgtimer_t that resolves to clock resolution, using that internally. | ||
| ad87db07 | 2013-08-18 14:30:54 | Make cgsleep_us_r take an int64_t for us. | ||
| 621eb003 | 2013-08-18 10:49:52 | Provide reentrant versions of cgsleep functions to allow start time to be set separately from the beginning of the actual sleep, allowing scheduling delays to be counted in the sleep. | ||
| 0b5edb24 | 2013-08-18 10:36:25 | Make the nmsleep and nusleep functions use the new cgsleep functions internally till functions are migrated to the new cgsleep API. | ||
| 188210a3 | 2013-08-18 10:28:28 | Add a ms_to_timespec helper function, and create a cgsleep_ms function that uses absolute timers with clock_nanosleep to avoid overruns. | ||
| 99cbf09d | 2013-08-18 00:38:29 | Add a timeraddspec helper function. | ||
| 1bcd9a43 | 2013-08-18 00:34:01 | Provide a us_to_timespec helper function. | ||
| 2278204d | 2013-08-18 00:27:33 | Provide a us_to_timeval helper function. | ||
| a6b1c317 | 2013-08-18 00:19:47 | Add helper functions to convert timespec to timeval and vice versa. | ||
| e95ad047 | 2013-08-13 22:44:22 | Nonce2 stratum submission is not working with nonce2 lengths >4, revert the buggy __bin2hex function and use bin2hex. | ||
| 46b6b07a | 2013-08-12 16:02:20 | Avoid a potential overflow should a pool specify a large nonce2 length with stratum. | ||
| 48d91c7f | 2013-08-10 10:36:38 | cgsem - increase information on failure | ||
| 9b2e517f | 2013-06-09 12:20:04 | Use cgsem structures instead of the flaky pings in the work queue to start mining threads and remove the unused thr_info_freeze function. | ||
| b59c3380 | 2013-06-06 13:08:00 | Implement cgminer specific cgsem semaphores to imitate unnamed semaphore behaviour on osx which does not support them. | ||
| d52ab244 | 2013-05-28 23:00:14 | Provide an nusleep equivalent function to nmsleep. | ||
| 863c9e27 | 2013-04-26 14:49:10 | util.c str_text make a fully text readable version of str | ||
| a2a7a036 | 2013-04-24 23:05:44 | Create an OS specific sock_blocks function. | ||
| d2abaa83 | 2013-04-22 10:49:10 | Provide wrappers for commonly used timer routines with API stats. | ||
| 62a1403b | 2013-04-21 19:41:54 | Move util.c exports to util.h | ||
| 3d7f8243 | 2013-04-21 19:02:44 | Create a cgminer specific gettimeofday wrapper that is always called with tz set to NULL and increases the resolution on windows. | ||
| 4cde791e | 2013-02-15 21:31:44 | Provide basic framework for restarting stratum depending on whether resume support exists or not. | ||
| 51d11a28 | 2013-02-04 10:19:12 | Provide a wrapper for aligning lengths of size_t to 4 byte boundaries. | ||
| 6e2e7d36 | 2012-12-29 10:46:55 | Differentiate socket full from sock full. | ||
| 944af31b | 2012-12-26 09:31:41 | Parse anything in the stratum socket if it's full without waiting. Empty the socket even if a connection is not needed in case there are share returns. | ||
| fc5d3a0e | 2012-12-03 09:52:46 | Suspend stratum connections to backup pools when there is no requirement to potentially grab work from them. | ||
| 16637ac9 | 2012-12-03 08:14:24 | Fix missing export for RenameThread. | ||
| f94cff77 | 2012-12-02 18:06:55 | Microoptimise and remove redundant copy of strdup function in calloc_strcat. | ||
| 0ae02c6e | 2012-12-01 08:26:31 | Since we will be using calloc_str to put a string into it, convert the function to calloc_strcat which does it automatically. | ||
| ee8609d9 | 2012-11-29 12:48:17 | Provide helper functions calloc_str and realloc_strcat to create and extend arbitrary length arrays based on string length. | ||
| 9f74e650 | 2012-11-04 20:13:49 | Tidy up device error counts | ||
| 1afb794c | 2012-10-07 13:56:28 | Cast socketfail to integer since SOCKET is an unsigned int on windows. | ||
| a8d69302 | 2012-10-05 12:37:29 | Move stratum sockets to curl infrastructure with locking around send+recv to begin support for proxies and ssl. | ||
| deb0a9b6 | 2012-10-04 23:18:33 | Windows doesn't work with MSG_PEEK on recv so move to a continuously updating buffer for incoming messages. | ||
| c113534f | 2012-10-04 15:35:28 | Begin support for mingw stratum build. Conflicts: configure.ac | ||
| b5617734 | 2012-09-30 23:10:43 | Provide locking around stratum send operations to avoid races. | ||
| 2de95151 | 2012-09-30 20:24:24 | Abstract out share submit as a function to be useable by stratum. | ||
| 739cba28 | 2012-09-30 19:19:46 | Rename parse_stratum to parse_method as it is only for stratum messages that contain methods. | ||
| 7415d7aa | 2012-09-29 16:10:13 | Begin implementing a hash database of submissions and attempt sending results. | ||
| 56255a0c | 2012-09-28 18:01:33 | Create a stratum thread per pool that has stratum that monitors the socket and serves received data. | ||
| a6f1a622 | 2012-09-28 04:35:16 | Create helper functions for checking when a socket is ready to read on and receive a single line at a time. Begin stratum authorisation process. | ||
| a1b17229 | 2012-09-26 15:23:01 | Initiate stratum and grab first json result. | ||
| 58873c1d | 2012-09-25 20:23:59 | Get detailed addressinfo from the parsed URL for future raw socket usage when possible. IPV4 only for now. | ||
| ee3b7865 | 2012-09-25 05:46:07 | Prepare for getaddrinfo call. | ||
| 144a0160 | 2012-09-24 16:50:04 | Add data structures to pool struct for socket communications. | ||
| b3cdd802 | 2012-09-24 16:27:47 | Put all socket definitions in util.h to allow reusing by added socket functions to be used in util.c. |