Commit History

Author SHA1 Message Date
  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. 14 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. 14 years ago
  Kano 5033dcd355 fix test/set of thr->pth to also work in windows 14 years ago
  Con Kolivas 2257b5023a Simplify longpoll changeover to just check which pool it should grab its next longpoll from. This should prevent locking hangs and thread cancellation 14 years ago
  Con Kolivas a51514d9d1 White space cleanup. 14 years ago
  Con Kolivas b69aa23470 Use control_lock to protect thr->pth for thread creation/destruction. 14 years ago
  Con Kolivas 59293a37d6 Only pthread_join when pthread_cancel does not return an error. 14 years ago
  Con Kolivas 13c40f753b Zero all pthread_t identities upon cancelling threads. 14 years ago
  Con Kolivas 689f8abbaa Try to use SSL if the server supports it. 14 years ago
  Con Kolivas 4128b954a6 Add a --donation feature which reads a url/userpass from the author's site and contributes a percentage of getworks to the author, but default to off. 14 years ago
  Kano 8ecd15a616 Add BLOCK! notification and remove end of line blanks when not needed 14 years ago
  Con Kolivas b8ea0dd194 Update curses logging to allow LOG_WARNING and LOG_ERR messages to still go through while within the menu, and drop share message to LOG_NOTICE. 14 years ago
  Con Kolivas 8e2becc12d Change pth from being a pointer as we can dereference if we're unlucky on stopping longpoll. 14 years ago
  Con Kolivas 833e020dfd Standardise the way all non-mining threads are destroyed to make sure we can safely cancel them, freeing ram and NULLifying pointers. 14 years ago
  Luke Dashjr 1f15d7eafa Advertise rollntime extension support 14 years ago
  Con Kolivas a0a5858d15 Use the presence of X-Roll-Ntime in the header as a bool for exists unless N is found in the response. 14 years ago
  Con Kolivas 5d845f2fb1 If curl does not have sockopts, do not try to compile the json_rpc_call_sockopt_cb function, making it possible to build against older curl libraries. 14 years ago
  Con Kolivas a593afdbeb Use the curses_lock to protect the curses_active variable and test it under lock. 14 years ago
  Con Kolivas 437d6f05cc Disable curl debugging with opt protocol since it spews to stderr. 14 years ago
  Con Kolivas 91a2e7012b Actually check the value returned for the x-roll-ntime extension to make sure it isn't saying N. 14 years ago
  Con Kolivas 666fcc3f55 Move staged threads to hashes so we can sort them by time. 14 years ago
  Con Kolivas dfec430cb8 Make the tcp setsockopts unique to linux in the hope it allows freebsd et. al to compile. 14 years ago
  Con Kolivas d89a6c57b1 Since we check roll time per work item now, it need only be debug log level. 14 years ago
  Con Kolivas 3edc1dfe2a Test at appropriate target difficulty now. 14 years ago
  Con Kolivas 1e77f04481 Clean up the longpoll management to ensure the right paths go to the right pool and display whether we're connected to LP or not in the status line. 14 years ago
  Con Kolivas 426f72dec7 As we have keepalives now, blaming network flakiness on timeouts appears to have been wrong. 14 years ago
  Con Kolivas 657812ada4 Probe for slightly longer for when network conditions are lagging. 14 years ago
  Con Kolivas d6dd5d700b Test each work item to see if it can be rolled instead of per-pool and roll whenever possible, adhering to the 60 second timeout. 14 years ago
  Con Kolivas 5f667e7eab Get rid of extra line feeds. 14 years ago
  Con Kolivas 53e05c6413 Log to the output file at any time with warnings and errors, instead of just when verbose mode is on. 14 years ago