Commit History

Author SHA1 Message Date
  Con Kolivas 73671ab360 Remove all static work structs, using the make and free functions. 13 years ago
  Con Kolivas 3ab92ef6ad Add pool no. to stale share detected message. 13 years ago
  Con Kolivas 850d07dffb Add info about which pool share became stale while resubmitting. 13 years ago
  Con Kolivas 31e43944bc Do not use or count or use the getworks submitted which are simply testing that pools are still up. This was increasing share leakage and making stats not reflect real work. 13 years ago
  Con Kolivas 2d35ac2567 Track all dynamically allocated memory within the work struct by copying work structs in a common place, creating freshly allocated heap ram for all arrays within the copied struct. 13 years ago
  Con Kolivas aa72db369e Provide rudimentary support for the balancing failover strategies with stratum and GBT by switching pools silently on getwork requests. 13 years ago
  Con Kolivas 40a3331e72 Remove unintentional block of code in reuse_work. 13 years ago
  Con Kolivas 9ad02fe303 Support workid for block submission on GBT pools that use it. 13 years ago
  Con Kolivas 61f4e9d604 Revert "Discard all work on longpoll, not just work cgminer recognises as stale." 13 years ago
  Con Kolivas f14bf5b16c Merge pull request #326 from pshep/error_counters 13 years ago
  Con Kolivas 4039ee7a93 Convert pool not responding and pool alive message on backup pools to verbose level only since they mean a single failed getwork. 13 years ago
  Con Kolivas 52b86b5137 Update work block on the longpoll work item before calling restart threads to ensure all work but the longpoll work item gets discarded when we call discard_stale from restart_threads. 13 years ago
  Con Kolivas 1470eea903 Discard all work on longpoll, not just work cgminer recognises as stale. 13 years ago
  Con Kolivas 88983306fd Do not attempt to remove the stratum share hash after unsuccessful submission since it may already be removed by clear_stratum_shares. 13 years ago
  Con Kolivas d15515bea4 Check against a double for current pool diff. 13 years ago
  Con Kolivas b3864d1a94 Support for fractional diffs and the classic just-below-1 share all FFs diff target. 13 years ago
  Con Kolivas 1832dbd7f6 Make header larger on gen stratum work to accomodate \0 at the end. 13 years ago
  Con Kolivas 66a9577197 Fix mistaken disabling of opt_restart in other code. 13 years ago
  Con Kolivas 89cb14199a Use stratum block change from backup pools as an alternative to longpoll for pools that don't support LP. 13 years ago
  Con Kolivas 38eb4ee43b Check share target diff for best_share to be calculated when solo mining. 13 years ago
  Con Kolivas 7993095ec3 Round some more static string arrays to 4 byte boundaries. 13 years ago
  Con Kolivas 17aa87be3a There is no need for the static arrays to be larger than required, so long as they're 4 byte aligned to appease ARM. 13 years ago
  Con Kolivas 149781cf47 Revert "Change default log interval to 3 seconds for faster screen refreshes since vardiff will prevent massive on screen hash updates in the future." 13 years ago
  Con Kolivas 298ffcbc9e Store the full stratum url information in rpc_url for correct configuration file saving. 13 years ago
  Con Kolivas 2cf0767cff Put in a hack to prevent dud work from sneaking into test_work_current being seen as a new block. 13 years ago
  Con Kolivas ad2ed57f12 Reset the work->longpoll flag where it will affect stratum work items as well. 13 years ago
  Con Kolivas 1d7e19f2f2 Check for both coinbase/append and submit/coinbase support before using GBT protocol. 13 years ago
  Con Kolivas 878f4d53ab First pass through testing for GBT should not set probed to true since we are about to probe again. 13 years ago
  Con Kolivas 598ee76d37 Hash1 is only used by the deprecated cpu mining code and never changes so remove it from the work struct and bypass needing to process the value for all other mining. 13 years ago
  Con Kolivas f1f6b31faf Change default log interval to 3 seconds for faster screen refreshes since vardiff will prevent massive on screen hash updates in the future. 13 years ago