Log

Author Commit Date CI Message
Kano e55fe73f 2012-12-03T23:08:11 API add Best Share to summary
Kano a67e96c3 2012-12-03T11:36:15 API lock access to some summary statistics (and copy them)
Con Kolivas 16637ac9 2012-12-03T08:14:24 Fix missing export for RenameThread.
Con Kolivas 9a716547 2012-12-02T12:46:01 Merge pull request #338 from denis2342/threadname small patch to add names to threads, should work for linux, freebsd and osx
Con Kolivas 28f251e4 2012-12-02T12:45:23 Merge pull request #336 from kanoi/usb2 mmq usb v0.4 + api usb stats
Denis Ahrens 4fbdc1ea 2012-12-02T18:36:15 enumerate the mining threadnames
Kano 7993d258 2012-12-02T23:03:21 MMQ avoid possible number overrun crashes
Kano 152e7e36 2012-12-02T21:48:37 mmq usb v0.4 + api usb stats
Denis Ahrens 271b05ab 2012-12-02T11:39:20 setting the name of the threads for linux,freebsd,openbsd and osx code is borrowed from bitcoins util.c, so it is already tested
Con Kolivas 4584068c 2012-12-02T20:51:21 Don't show broken WU value with scrypt mining.
Con Kolivas fc66a41e 2012-12-02T20:49:40 Style police.
Con Kolivas b8843546 2012-12-02T20:45:57 Remove unused getwork times in getswork.
Con Kolivas 6cc490ad 2012-12-02T20:43:33 Fix readme wordwrap.
Con Kolivas e885c28f 2012-12-02T01:41:42 Merge pull request #337 from EskimoBob/patch-1 Update ADL_SDK/readme.txt
Con Kolivas a6dce875 2012-12-02T01:41:21 Merge pull request #335 from denis2342/ztex ztex locking fix and cosmetic changes
Con Kolivas 3ab03e8f 2012-12-02T01:41:03 Merge pull request #334 from denis2342/pkgconfig third of version of pkg-config changes
Con Kolivas 28b52dc7 2012-12-02T20:17:15 Bump version to 2.9.6
Con Kolivas 029ce3bb 2012-12-02T20:16:25 Update NEWS.
Con Kolivas cc14f166 2012-12-02T19:29:54 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.
Con Kolivas f94cff77 2012-12-02T18:06:55 Microoptimise and remove redundant copy of strdup function in calloc_strcat.
Con Kolivas 53c9cdaf 2012-12-02T16:56:36 scrypt_diff now returns a uint64_t
Con Kolivas d8e18994 2012-12-01T23:36:17 Support monitoring and reporting much higher diffs for scrypt mining, truncating irrelevant zeroes from displayed hash.
Con Kolivas 33c9faae 2012-12-01T21:47:27 Pass ostate values around in scrypt to be able to extract full hashes if needed later on.
Con Kolivas 0ae02c6e 2012-12-01T08:26:31 Since we will be using calloc_str to put a string into it, convert the function to calloc_strcat which does it automatically.
Con Kolivas 01eb807c 2012-11-29T13:00:02 Revert "Handle crash exceptions by trying to restart cgminer unless the --no-restart option is used." This reverts commit 68c881fde72f7aa92224cf4e4ba67a5af868dafc. Does not reliably restart on crashes often enough and makes debugging more difficult.
Con Kolivas bc4f6d92 2012-11-29T12:58:42 Count longpoll and GBT decodes as queued work since the count otherwise remains static.
Con Kolivas 1746e471 2012-11-29T12:49:28 Use the string helper functions to create gbt blocks of any length.
Con Kolivas ee8609d9 2012-11-29T12:48:17 Provide helper functions calloc_str and realloc_strcat to create and extend arbitrary length arrays based on string length.
EskimoBob beab2ba0 2012-11-26T15:27:57 Update ADL_SDK/readme.txt fixed the link
Denis Ahrens d58d09e5 2012-11-26T07:59:30 Merge branch 'pkgconfig' into ztex
Denis Ahrens b28dbc2e 2012-11-26T02:38:20 ztex: Harmonize low-speed FPGA configuration code with high-speed code
Denis Ahrens 4629553a 2012-11-26T02:34:27 ztex: Display FPGA clock frequency with only one decimal
Denis Ahrens 0e5c716c 2012-11-26T02:41:07 ztex: Correctly release mutex and reset FPGA if configuration fails
Peter Stuge 1c204dc9 2012-11-25T03:51:46 libztex: Silence warning: comparison between signed and unsigned
Peter Stuge 30c5a166 2012-11-16T00:59:21 configure.ac: Support FreeBSD libusb which doesn't have libusb-1.0.pc
Peter Stuge 318ef85a 2012-11-16T00:13:56 Require pkg-config to find libusb-1.0, and fix libusb.h #includes
Con Kolivas cffc21db 2012-11-25T09:47:45 Bump version to 2.9.5
Con Kolivas 8bc60506 2012-11-25T09:47:26 Revert "Find libusb-1.0 with pkg-config except on mingw, and fix #include path" This reverts commit ce72dbea7d7405ed37456c89c8b0516188f57fc7.
Con Kolivas 30ade169 2012-11-25T09:47:13 Revert "configure.ac: FreeBSD can't use pkg-config to find libusb-1.0" This reverts commit 4e706162c76a824f92d354918adf8fa64d436510.
Con Kolivas 590bce85 2012-11-25T09:46:48 Update NEWS.
Con Kolivas a8ccd24e 2012-11-24T13:23:53 Merge pull request #332 from nelisky/openwrt Openwrt tweaks
nelisky 6db7e2e5 2012-11-24T13:11:07 fixes target calc for mips openwrt
nelisky c93e5e95 2012-11-04T13:26:39 openwrt needs roundl
Con Kolivas 30ed3fb6 2012-11-25T00:50:34 Get rid of unused last_work in opencl thread data.
Con Kolivas 217be6ed 2012-11-25T00:37:46 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.
Con Kolivas c34ff367 2012-11-24T23:08:14 Use base_work for comparison just for cleanness in __copy_work
Con Kolivas 73671ab3 2012-11-24T18:45:02 Remove all static work structs, using the make and free functions.
Con Kolivas 3ab92ef6 2012-11-24T13:35:00 Add pool no. to stale share detected message.
Con Kolivas 850d07df 2012-11-24T12:58:58 Add info about which pool share became stale while resubmitting.
Con Kolivas ce7801be 2012-11-24T12:49:20 Copy the work on opencl_free_work
Con Kolivas 14e169b2 2012-11-24T12:41:35 Add an extra slot in the max backlog for ztex to minimise dupes.
Con Kolivas 31e43944 2012-11-24T10:58:46 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.
Con Kolivas 2d35ac25 2012-11-24T10:47:20 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. Clear all work structs from the same place to ensure memory does not leak from arrays within the struct. Convert the gbt coinbase and stratum strings within the work struct to heap ram. This will allow arbitrary lengths without an upper limit for the strings, preventing the overflows that happen with GBT.
Con Kolivas 641dbce8 2012-11-23T13:47:40 Merge pull request #330 from luke-jr/err_func_nostart opencl: Use new dev_error function for REASON_DEV_NOSTART
Con Kolivas 833ecf9b 2012-11-23T13:46:53 Merge pull request #331 from denis2342/master updated the pkg-config patches, now with mingw support and tested
Peter Stuge 972ddf74 2012-11-23T03:42:47 libztex: Work around ZTEX USB firmware bug exposed by the FreeBSD libusb The ZTEX USB firmware doesn't correctly support GET_DESCRIPTOR requests for string descriptors, specifically the device always returns the full string descriptor, even if the request wLength is shorter. The FreeBSD implementation of libusb_get_string_descriptor_ascii() first requests 4 (four) bytes to validate the start of the string descriptor, and since the device sends back too many bytes the USB host controller signals an error to FreeBSD which returns the error to us. In order to avoid this mess the libusb_get_string_descriptor_ascii() call is replaced with the way libusb-1.0 works; which makes only a single request to read the entire string descriptor.
Peter Stuge 4e706162 2012-11-16T00:59:21 configure.ac: FreeBSD can't use pkg-config to find libusb-1.0
Peter Stuge ce72dbea 2012-11-16T00:13:56 Find libusb-1.0 with pkg-config except on mingw, and fix #include path
Luke Dashjr cce75083 2012-11-18T22:24:40 opencl: Use new dev_error function for REASON_DEV_NOSTART
Con Kolivas 759e9554 2012-11-18T23:13:32 Bump version to 2.9.4
Con Kolivas 0175c49a 2012-11-18T23:13:07 Update NEWS.
Con Kolivas e55ef04d 2012-11-18T23:41:21 Revert "Find libusb-1.0 using pkg-config and correct the libusb.h #include path" This reverts commit 171c3d0c72e749bc9d82a6742955119decf7b09c. Rollback breakage.
Con Kolivas 26967386 2012-11-18T23:40:50 Revert "configure.ac: Don't use pkg-config to search for libusb-1.0 on FreeBSD" This reverts commit d0c10b78beadc677d3079a8393db1f9af3d37195. Rollback breakage.
Con Kolivas aa72db36 2012-11-18T23:04:01 Provide rudimentary support for the balancing failover strategies with stratum and GBT by switching pools silently on getwork requests.
Con Kolivas 40a3331e 2012-11-18T22:27:03 Remove unintentional block of code in reuse_work.
Con Kolivas 86fd23a3 2012-11-18T22:25:28 Convert remaining modminer and bfl uses of usleep to nmsleep.
Con Kolivas dc7fc13e 2012-11-18T22:23:03 Convert libztex to nmsleep where possible.
Con Kolivas 90d1d7b6 2012-11-18T22:21:20 Convert unreliable usleep calls to nmsleep calls in ztex driver.
Con Kolivas 9ad02fe3 2012-11-18T21:48:44 Support workid for block submission on GBT pools that use it.
Con Kolivas 0b088d8d 2012-11-18T18:08:14 Provide rudimentary support for literal ipv6 addresses when parsing stratum URLs.
Con Kolivas 61f4e9d6 2012-11-18T17:22:48 Revert "Discard all work on longpoll, not just work cgminer recognises as stale." This reverts commit 1470eea903266fc5cef8e722859dca55ae460183. Work block update makes this unnecessary.
Con Kolivas efaa1b03 2012-11-18T17:19:53 Work around libcurl cflags not working on hacked up mingw installations on windows.
Con Kolivas 09a52695 2012-11-17T22:07:34 Merge pull request #329 from denis2342/master Find libusb-1.0 using pkg-config and correct the libusb.h #include path
Con Kolivas f14bf5b1 2012-11-17T22:06:49 Merge pull request #326 from pshep/error_counters Error counters
Con Kolivas b6066217 2012-11-18T17:03:50 Only increase gpu engine speed by a larger step if the temperature is below hysteresis instead of increasing it to max speed.
Con Kolivas 4039ee7a 2012-11-18T16:53:39 Convert pool not responding and pool alive message on backup pools to verbose level only since they mean a single failed getwork.
Con Kolivas 52b86b51 2012-11-18T16:38:24 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.
Con Kolivas 1470eea9 2012-11-18T15:54:14 Discard all work on longpoll, not just work cgminer recognises as stale.
Con Kolivas 88983306 2012-11-18T15:50:04 Do not attempt to remove the stratum share hash after unsuccessful submission since it may already be removed by clear_stratum_shares.
Peter Stuge d0c10b78 2012-11-16T00:59:21 configure.ac: Don't use pkg-config to search for libusb-1.0 on FreeBSD
Peter Stuge 171c3d0c 2012-11-16T00:13:56 Find libusb-1.0 using pkg-config and correct the libusb.h #include path
Con Kolivas d15515be 2012-11-15T13:09:00 Check against a double for current pool diff.
Con Kolivas b3864d1a 2012-11-15T09:18:58 Support for fractional diffs and the classic just-below-1 share all FFs diff target.
Con Kolivas 97059e4c 2012-11-11T22:58:58 Bump version to 2.9.3
Con Kolivas 1832dbd7 2012-11-11T22:57:48 Make header larger on gen stratum work to accomodate \0 at the end.
Con Kolivas 96b372c1 2012-11-11T21:17:06 Bump version to 2.9.2
Con Kolivas 54bd1cfa 2012-11-11T21:16:23 Update NEWS.
Con Kolivas 66a95771 2012-11-11T21:47:31 Fix mistaken disabling of opt_restart in other code.
Con Kolivas 89cb1419 2012-11-11T20:53:27 Use stratum block change from backup pools as an alternative to longpoll for pools that don't support LP.
Con Kolivas 38eb4ee4 2012-11-11T18:09:46 Check share target diff for best_share to be calculated when solo mining.
Con Kolivas 7993095e 2012-11-11T17:53:20 Round some more static string arrays to 4 byte boundaries.
Con Kolivas 17aa87be 2012-11-11T17:37:58 There is no need for the static arrays to be larger than required, so long as they're 4 byte aligned to appease ARM.
Con Kolivas 149781cf 2012-11-11T17:14:55 Revert "Change default log interval to 3 seconds for faster screen refreshes since vardiff will prevent massive on screen hash updates in the future." This reverts commit f1f6b31faff2cca9a111407c28d4bf9af28284aa. Screen update frequency is what I wanted to change, not the log interval.
Con Kolivas 298ffcbc 2012-11-11T17:14:24 Store the full stratum url information in rpc_url for correct configuration file saving.
Con Kolivas 2cf0767c 2012-11-11T16:33:20 Put in a hack to prevent dud work from sneaking into test_work_current being seen as a new block.
Con Kolivas ad2ed57f 2012-11-11T16:30:09 Reset the work->longpoll flag where it will affect stratum work items as well.
Con Kolivas 1d7e19f2 2012-11-11T16:10:45 Check for both coinbase/append and submit/coinbase support before using GBT protocol.
Con Kolivas 878f4d53 2012-11-11T16:05:39 First pass through testing for GBT should not set probed to true since we are about to probe again.
Con Kolivas 598ee76d 2012-11-11T09:51:37 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.
Con Kolivas f1f6b31f 2012-11-07T23:32:01 Change default log interval to 3 seconds for faster screen refreshes since vardiff will prevent massive on screen hash updates in the future.