467 Commits (e134ab75ad510f79b0b6e3719996bcac2fe7c715)

Author SHA1 Message Date
Jan Berdajs 5e3142cf68 remove unused code (mostly intended for ASICs which are not supported in sgminer), fix some compiler warnings 11 years ago
Noel Maersk 910c360899 stratum: parse_notify(): Don't die on malformed bbversion/prev_hash/nbit/ntime. 11 years ago
Noel Maersk 78cc408369 stratum: parse_reconnect(): treat pool-sent URL as untrusted. 11 years ago
Luke Dashjr b65574bef2 Stratum: extract_sockaddr: Truncate overlong addresses rather than stack overflow 11 years ago
Luke Dashjr bac5831b35 Bugfix: initiate_stratum: Ensure extranonce2 size is not negative (which could lead to exploits later as too little memory gets allocated) 11 years ago
Jan Berdajs e4a4efdb42 fix some potential memory leaks, remove a few old unused functions 11 years ago
Jan Berdajs 6c5ce535d9 fix compiler warnings 11 years ago
elbandi 91a26c46b7 Protect pool name with lock 11 years ago
Jan Berdajs c0baf790f6 making new algorithms and other changes merged from sph-sgminer work with current version of sgminer 11 years ago
elbandi 98676763b9 Set the pool idle and switch pool, if need 11 years ago
elbandi c469ff923a Disconnect from pool, if auth is failed 11 years ago
Elbandi 973dcefa8c Use get_pool_name everywhere 11 years ago
Noel Maersk 7051629232 log: change log level in setup_stratum_socket(). 11 years ago
phm 7678db6801 Fixed problem with stratum support when mining FC, GRS and TWE. Added --difficulty-multiplier parameter for controlling stratum difficulty multiplier. 11 years ago
Noel Maersk cabb02f5d4 log: do not show pool difficulty changes on non-current pool. 11 years ago
Noel Maersk 1f7b7ef26e stratum: move log warning under opt_disable_client_reconnect clause. 11 years ago
Martin Danielsen 01b3f70b63 A new --no-client-reconnect command that disables the 'client.reconnect' function. 11 years ago
phm 21d928b543 Fixed problem with invalid stratum difficulty for Quark, AnimeCoin and QubitCoin. 11 years ago
troky 49aef7100f Reverting "poolname" to "name". 11 years ago
Noel Maersk 8f014effeb util: add missing include. 11 years ago
unknown 747efda902 MSVS2010: Added pool.c and pool.h to project. 11 years ago
Noel Maersk d58de45c0e pool: use get_pool_name() where appropriate. 11 years ago
phm 9585d2a8e6 Added support for DarkCoin kernel. Modified stats display to handle low difficulty values. 11 years ago
Con Kolivas aca8a58f2e Only show one decimal place if pool diff is not an integer. 11 years ago
Con Kolivas f7394ff165 Check for more interrupted conditions in util.c and handle them gracefully. 11 years ago
Con Kolivas 6b246a59f3 Handle interruptions to various select calls in util.c 11 years ago
Con Kolivas cc2aa215a8 Clear pool work on a stratum reconnect message. 11 years ago
Kano faf63ec036 Modify thread naming to make them easier to identify 11 years ago
Con Kolivas 003b65b7b1 Change stratum strings under stratum_lock in reconnect and free old strings. 11 years ago
Noel Maersk 91d36d097a log: add LOG_DEBUG message on restarting stratum. 11 years ago
Noel Maersk ed586c4aa5 misc: indentation. 11 years ago
Noel Maersk abeeff3d45 log: print getaddrinfo() error description. 11 years ago
Noel Maersk a8dfb3ebef pool: add getaddrinfo() LOG_DEBUG messages. 11 years ago
Noel Maersk 115eb1ad2f pool: be verbose on which pool failed. 11 years ago
Noel Maersk 87102ecd07 pool: additional debug logging for stratum pools. 11 years ago
Markus Peloquin bf8e37ce19 Support building in cygwin. 11 years ago
Sanjin Trošelj 87e5f35745 VS2010 build: commit elist.h and relevant changes in sgminer.c and util.c 11 years ago
Sanjin Trošelj 5078db8b01 VS2010 build: Prepare util.c 11 years ago
Martin Danielsen d7e469bd76 Stratum servers can now be named. 11 years ago
Noel Maersk 50066cf3c7 misc: Replace all remaining instances of 'cgminer' with 'sgminer'. 11 years ago
Con Kolivas 9628207066 Provide a helper function that can reset cgsems to zero. 11 years ago
Con Kolivas 7d2cee3066 Drop json stratum auth failed message log level to verbose. 11 years ago
Maksym Borodin 8fa5ddfd2c util.c: Decreasing reference count on allocated JSON obects to prevent memory leak 11 years ago
Noel Maersk e4680ab627 core: allow changing TCP keepalive packet idle time using `tcp-keepalive` command-line option or config-file option. 11 years ago
Con Kolivas 5d7c99f389 Revert "Return ETIMEDOUT regardless if we fail in cgsem_mswait since we may be waiting on it on shutdown and the return response is harmless." 11 years ago
Con Kolivas 3dcae53e38 Return ETIMEDOUT regardless if we fail in cgsem_mswait since we may be waiting on it on shutdown and the return response is harmless. 11 years ago
Con Kolivas 759bd39f17 Avoid the extra generation of a byte flipped hash2 in struct work and directly use the LE work hash. 11 years ago
Con Kolivas eaaf34a19d Use a non blocking connect with a 1 second select timeout when initiating stratum to allow us to iterate over all IPs returned by getaddrinfo in round robin DNS pools. 11 years ago
Vitalii Demianets f75fdbbbbe Improve performance of work generation by optimizing hex2bin and bin2hex 11 years ago
Con Kolivas b424612cce Use a sanity check on timeout on windows. 11 years ago