Commit History

Author SHA1 Message Date
  Con Kolivas fc5d3a0eaf Suspend stratum connections to backup pools when there is no requirement to potentially grab work from them. 13 years ago
  Denis Ahrens 271b05ab04 setting the name of the threads for linux,freebsd,openbsd and osx 13 years ago
  Con Kolivas fc66a41e85 Style police. 13 years ago
  Con Kolivas f94cff77e6 Microoptimise and remove redundant copy of strdup function in calloc_strcat. 13 years ago
  Con Kolivas 0ae02c6ec4 Since we will be using calloc_str to put a string into it, convert the function to calloc_strcat which does it automatically. 13 years ago
  Con Kolivas ee8609d9a9 Provide helper functions calloc_str and realloc_strcat to create and extend arbitrary length arrays based on string length. 13 years ago
  nelisky 6db7e2e5cf fixes target calc for mips openwrt 13 years ago
  Con Kolivas 0b088d8d81 Provide rudimentary support for literal ipv6 addresses when parsing stratum URLs. 13 years ago
  Con Kolivas f14bf5b16c Merge pull request #326 from pshep/error_counters 13 years ago
  Con Kolivas b3864d1a94 Support for fractional diffs and the classic just-below-1 share all FFs diff target. 13 years ago
  Paul Sheppard dad6c70420 Merge branch 'master' into error_counters 13 years ago
  Con Kolivas cc7c274543 Manage appropriate response codes for share submission with GBT. 13 years ago
  Paul Sheppard 84173c6cc7 missing a break. 13 years ago
  Paul Sheppard 9f74e650b3 Tidy up device error counts 13 years ago
  Luke Dashjr c2b5c5ee4c Bugfix: Free old stratum_work data before replacing it 13 years ago
  Con Kolivas c2861d683a There is no need for addrinfo any more. 13 years ago
  ckolivas a2d5783509 server and client sockaddr_in are no longer used in struct pool. 13 years ago
  Con Kolivas 48f24223b8 Shorten the initiate stratum connect timeout to 30 seconds. 13 years ago
  Con Kolivas 6f4c47ebd2 Make stratum socket fail more robust on windows by disabling the send buffer. 13 years ago
  Con Kolivas aa97e87a13 Use keepalive with stratum sockets to improve its ability to detect broken connections. 13 years ago
  Con Kolivas d9276557f1 Show only the URL in the status bar to avoid long prefixes making for extra long lines. 13 years ago
  Con Kolivas 6d3c880a25 Make sure to check pool stratum curl exists under lock before attempting any recv to not risk dereferencing upon attempting to reinitiate stratum. 13 years ago
  Con Kolivas e575763a80 Avoid redefining macros and align to 4 byte boundaries. 13 years ago
  ckolivas bb4bec98d5 Use select on stratum send to make sure the socket is writeable. 13 years ago
  Con Kolivas 99adf397bd Failure to calloc in bin2hex is a fatal failure always so just check for that failure within the function and abort, simplifying the rest of the code. 13 years ago
  Con Kolivas b3d4258940 Provide locking around the change of the stratum curl structures to avoid possible races. 13 years ago
  Con Kolivas e5babfa25b Watch for buffer overflows on receiving data into the socket buffer. 13 years ago
  Con Kolivas 2a9b3e33d3 String alignment to 4 byte boundaries and optimisations for bin<->hex conversions. 13 years ago
  Con Kolivas fc72ad5563 Off by one error. 13 years ago
  Con Kolivas 9ccfcee6dc Prevent overflows of the port char array in extract_sockaddr. 13 years ago