Con Kolivas
|
9a71654761
Merge pull request #338 from denis2342/threadname
|
13 years ago |
Denis Ahrens
|
4fbdc1eaa8
enumerate the mining threadnames
|
13 years ago |
Kano
|
152e7e36a2
mmq usb v0.4 + api usb stats
|
13 years ago |
Denis Ahrens
|
271b05ab04
setting the name of the threads for linux,freebsd,openbsd and osx
|
13 years ago |
Con Kolivas
|
4584068c67
Don't show broken WU value with scrypt mining.
|
13 years ago |
Con Kolivas
|
b8843546e3
Remove unused getwork times in getswork.
|
13 years ago |
Con Kolivas
|
cc14f16670
Make gen_stratum_work more robust by using a dynamically allocated array for the header in case bogus data is sent by the pool to avoid overflowing a static array.
|
13 years ago |
Con Kolivas
|
f94cff77e6
Microoptimise and remove redundant copy of strdup function in calloc_strcat.
|
13 years ago |
Con Kolivas
|
53c9cdaf56
scrypt_diff now returns a uint64_t
|
13 years ago |
Con Kolivas
|
d8e18994d5
Support monitoring and reporting much higher diffs for scrypt mining, truncating irrelevant zeroes from displayed hash.
|
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
|
01eb807ca0
Revert "Handle crash exceptions by trying to restart cgminer unless the --no-restart option is used."
|
13 years ago |
Con Kolivas
|
bc4f6d928a
Count longpoll and GBT decodes as queued work since the count otherwise remains static.
|
13 years ago |
Con Kolivas
|
1746e4714e
Use the string helper functions to create gbt blocks of any length.
|
13 years ago |
Con Kolivas
|
217be6ed98
Do away with the flaky free_work api in the driver code which would often lose the work data in opencl and simply flush it before exiting the opencl scanhash.
|
13 years ago |
Con Kolivas
|
c34ff36763
Use base_work for comparison just for cleanness in __copy_work
|
13 years ago |
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 |