493 Commits (02e0fc4db5cdd2c80ea08d45b1be6ae4b81e0512)

Author SHA1 Message Date
ckolivas 1a43f79547 Mingw doesn't support asprintf, use sprintf. 13 years ago
ckolivas 1e9421475c Timersub is supported on all build platforms so do away with custom timerval_subtract function. 13 years ago
ckolivas 75ea616422 Minor style police on util.c 13 years ago
ckolivas 8f954d40ec Get rid of unused result warning with asprintf. 13 years ago
Con Kolivas 3267b534a8 Implement rudimentary X-Mining-Hashrate support. 13 years ago
ckolivas c5a21fabf0 Extend nrolltime to support the expiry= parameter. Do this by turning the rolltime bool into an integer set to the expiry time. If the pool supports rolltime but not expiry= then set the expiry time to the standard scantime. 13 years ago
Con Kolivas 268039cc7e Indentation clean up. 13 years ago
Con Kolivas eda382990a Create one longpoll thread per pool, using backup pools for those pools that don't have longpoll. 13 years ago
Con Kolivas 9609dbc42d Set lp_path to NULL after free for consistency. 13 years ago
nelisky 17b9baa9da Removing dmalloc import left behind by mistake 13 years ago
nelisky 44bcb69ccd Fixing leak in resp_hdr_cb 13 years ago
Luke Dashjr ed8382c88d Make curses TUI support optional at compile-time. 13 years ago
Con Kolivas d1cddf8bad Update licensing to GPL V3. 13 years ago
Con Kolivas f4284a21a8 Set the lp_sent variable under lock since there will almost always be a race on setting this variable, potentially leading to multiple LPs being sent 13 years ago
Con Kolivas fe4b5e1fc6 Set the lp_sent bool earlier to minimise the number of extra longpolls sent out. 13 years ago
Con Kolivas 39906718d2 Keep track of when a longpoll has been sent for a pool and if the current pool is requesting work but has not sent a longpoll request, convert one of 13 years ago
Con Kolivas 810ad04578 More copyright updates. 13 years ago
Con Kolivas be9db9ce63 Copyright updates. 13 years ago
Con Kolivas 06721957a0 Freeze the queues on all threads that are sent the pause message to prevent them trying to start up again with saved pings in their queues. 13 years ago
Con Kolivas 3d3a3a2f3a Fix unused warnings on win32. 13 years ago
Luke Dashjr 9631c0b02a Fix initialization warning with jansson 1.3 13 years ago
Con Kolivas 56907db2d6 Fix harmless warnings with -Wsign-compare to allow cgminer to build with -W. 13 years ago
Con Kolivas 111238489f Fix missing field initialisers warnings. 13 years ago
Con Kolivas 07c2ee5317 Put win32 equivalents of nanosleep and sleep into compat.h fixing sleep() for adl.c. 13 years ago
zefir e0fec35751 modularized logging, support for priority based logging 13 years ago
Con Kolivas 405a2120f8 Remove unnecessary check for opt_debug on every invocation of applog at LOG_DEBUG and place the check in applog(). 13 years ago
Con Kolivas 5b4761003c Move from the thread safe localtime_r to regular localtime which is the only one supported on newer pthread libraries on mingw32 to make it compile with 13 years ago
Luke Dashjr f7a9897e13 Display X-Reject-Reason, when provided 13 years ago
Con Kolivas de4c6c29d7 Provide support for the submitold extension on a per-pool basis based on the value being detected in a longpoll. 13 years ago
Con Kolivas e57ac0177f Remove unused get_dondata function. 13 years ago
Con Kolivas 36d2fa485c Silence unused parameter warnings. 13 years ago
ckolivas 13fa5772ad Probe but don't set the timeout to 15 seconds as some networks take a long time to timeout. 13 years ago
ckolivas 1832b20c40 Revert "Some networks can take a long time to resolve so go back to 60 second timeouts instead of 15." 13 years ago
ckolivas c86a670ce6 Some networks can take a long time to resolve so go back to 60 second timeouts instead of 15. 13 years ago
Con Kolivas bdec295fee Set the latest network access time on share submission for --net-delay even if we're not delaying that submission for further network access. 13 years ago
Kano b188157c2f Resume advertising midstate support 13 years ago
Con Kolivas 3de7c7f9c2 Stop advertising midstate support until it's fixed. 13 years ago
Con Kolivas 09184720c2 As share submission is usually staggered, and delays can be costly, submit shares without delay even when --net-delay is enabled. 13 years ago
Con Kolivas 82af288e69 Revert "Fix various harmless warnings." 13 years ago
Con Kolivas a4b67f030f Fix various harmless warnings. 13 years ago
Luke Dashjr fe88648e5d Advertise longpoll support in X-Mining-Extensions 13 years ago
Con Kolivas 6442c1aba0 Style police. 13 years ago
Midnight Magic 21633b9bee Bringing back TCP_NODELAY, but also ensuring it doesn't conflict with 13 years ago
Con Kolivas e15d57d729 Implement socks4 proxy support. 13 years ago
Con Kolivas 5179d22463 Introduce a --net-delay option which guarantees at least 250ms between any networking requests to not overload slow routers. 13 years ago
Luke Dashjr ebe21db3dc Advertise that we can make our own midstate, so the pool can skip generating it for us 13 years ago
Con Kolivas 4cf433c917 Remove TCP_NODELAY from curl options as many small packets may be contributing to network overload. 13 years ago
Con Kolivas 638c8c526f Make curl use a fresh connection if the json rpc call fails for any reason in case curl is relying on dead persistent connections. 13 years ago
Con Kolivas 19e373b803 All threads are detached so there is no need to join them and it may dereference causing crash on exit. 13 years ago
Kano 5033dcd355 fix test/set of thr->pth to also work in windows 13 years ago