Log

Author Commit Date CI Message
ckolivas 8416a4db 2013-11-06T10:22:38 Fix build for no libcurl
Con Kolivas 652044d9 2013-11-06T10:01:15 Check length before submitting sync transfers
Con Kolivas 829f0687 2013-11-06T00:26:12 Bump version to 3.7.2
Con Kolivas 5d7c99f3 2013-11-06T00:24:16 Revert "Return ETIMEDOUT regardless if we fail in cgsem_mswait since we may be waiting on it on shutdown and the return response is harmless." This reverts commit 3dcae53e38021a61c10de1414195926c339d1c89.
Con Kolivas 04852083 2013-11-05T22:07:26 Bump version to 3.7.1
Con Kolivas 528eadb7 2013-11-05T21:59:49 Update NEWS
Con Kolivas 3dcae53e 2013-11-05T21:56:01 Return ETIMEDOUT regardless if we fail in cgsem_mswait since we may be waiting on it on shutdown and the return response is harmless.
Con Kolivas 82a97a04 2013-11-05T21:27:11 Avalon doesn't like losing its device data even after it's been unplugged.
Con Kolivas 31bbaa14 2013-11-05T21:21:57 Don't free the cgpu data on shutting down avalon driver.
Con Kolivas ce196049 2013-11-05T21:19:48 Clean up completely on avalon shutdown.
Con Kolivas a4c96d75 2013-11-05T21:09:08 Use cgsem timed waits in avalon driver to not miss any queued wake ups to account for async messages coming during a flush work.
Con Kolivas 7011a7a0 2013-11-05T19:20:38 Statline before is too long on icarus that doesn't have monitoring.
Con Kolivas b1be5c6d 2013-11-05T19:18:20 Different windows+usb combinations respond with varying levels of reliability wrt timeouts so use a nominal extra 40ms before cancelling transfers that fail to time out on their own.
Con Kolivas 21f18956 2013-11-05T19:11:20 Revert "Use no cancel transfer functions on windows in callback_wait" This reverts commit 8f6acad8ec11fa68e31447e4de9e2ce49c2bf16a.
Con Kolivas 757fcb3d 2013-11-05T17:15:56 Do all hotplug_process under the write mining_thr_lock
Con Kolivas 2489b2ae 2013-11-05T16:54:29 Fix for opt_worktime on big endian machines.
Con Kolivas 463e366c 2013-11-05T16:53:06 Correct set_blockdiff for big endian machines.
Con Kolivas 043e9d9b 2013-11-05T16:20:19 Make sure cgpu exists in the restart threads loop in cases of hotplug etc.
Con Kolivas 6bc691ad 2013-11-05T15:55:19 Treat usb write timeout errors as unrecoverable.
Con Kolivas 42b3cf19 2013-11-05T15:46:07 Transfer errors are filtered out in usbutils now so no need to look for them in NODEV checks.
Con Kolivas 2e11a504 2013-11-05T13:55:56 Remove now unused entries from struct cg_usb_device
Con Kolivas e692cd08 2013-11-05T13:55:06 Do not double up with checking for end of timeout measurements in usb read/write.
Con Kolivas 8f6acad8 2013-11-04T12:01:58 Use no cancel transfer functions on windows in callback_wait
Con Kolivas c030439d 2013-11-05T12:46:34 Do get_work in fill_queue without holding other locks.
Con Kolivas 4a620cce 2013-11-05T11:46:45 Initialise usb after all the locks and conditionals are initialised.
Con Kolivas aa993897 2013-11-05T09:08:52 Use only a trylock in flush queue to prevent deadlocks.
Con Kolivas f4cf0939 2013-11-05T08:36:54 Add a wr_trylock wrapper for pthread rw lock write trylock.
Con Kolivas 251e1a98 2013-11-05T08:20:04 Give AMU a much longer timeout on windows than other icarus devices.
Con Kolivas 609ca929 2013-11-05T08:03:24 Scale diff for scrypt when testing for block solves.
Con Kolivas c5b10a6c 2013-11-04T20:57:47 Fix for non curses build.
Con Kolivas e503fadb 2013-11-04T19:29:29 Bump version to 3.7.0
Con Kolivas 87f1a3fd 2013-11-04T19:28:56 README updates.
Con Kolivas e6e39ab8 2013-11-04T18:16:30 Update NEWS
Con Kolivas 8b38d7fe 2013-11-04T16:53:03 Use WRITEIOERR macro check for all usb writes.
Con Kolivas 38164d63 2013-11-04T08:54:31 Merge branch 'icarushit'
Con Kolivas 8fb7a0d1 2013-11-04T08:45:09 Always use a usb read buffer instead of having to explicitly enable it.
Con Kolivas e3ed101c 2013-11-03T23:03:43 Force unlocking of the console lock on restart to avoid corrupting the console state when we finally quit.
Con Kolivas 6c2a8d8b 2013-11-03T23:03:43 Force unlocking of the console lock on restart to avoid corrupting the console state when we finally quit.
Con Kolivas c9b54f15 2013-11-03T22:36:16 Never wait indefinitely for a pthread conditional in the hash_pop loop in case the work scheduler misses the last wakeup.
Con Kolivas a077c9f9 2013-11-03T22:29:29 Make hash_pop signal the work scheduler each time it waits on the conditional that it should look for more work.
Con Kolivas 3f9ccc1b 2013-11-03T22:36:16 Never wait indefinitely for a pthread conditional in the hash_pop loop in case the work scheduler misses the last wakeup.
Con Kolivas 31df767c 2013-11-03T22:29:29 Make hash_pop signal the work scheduler each time it waits on the conditional that it should look for more work.
Con Kolivas 310aa754 2013-11-03T21:59:34 Discriminate between libusb transfer errors and regular libusb errors and make sure to capture them all.
Con Kolivas d1683fe6 2013-11-03T21:01:50 Always read a full sized transfer for bulk reads.
Con Kolivas fc80e2fe 2013-11-03T20:31:04 Deprecate preferred packet size functions in usbutils since they're unhelpful.
Con Kolivas ea122100 2013-11-03T20:24:34 Why are we reading extra again in usb read when buffering is enabled? Don't do that.
Con Kolivas 38d9c24e 2013-11-03T20:16:45 Copy known transferred amount back to buffer for usb reads instead of requested length.
Con Kolivas b5dfb8f0 2013-11-03T20:15:41 Ignore preferred packet size.
Con Kolivas 0cceaccf 2013-11-03T19:49:00 Treat timeout errors on usb writes as IO errors.
Con Kolivas dfba30b9 2013-11-03T19:41:56 Ignore iManufacturer from bitfury devices to support bluefury as well as redfury.
Con Kolivas 95797821 2013-11-03T19:15:32 Add more debugging info for when usb details don't match.
Con Kolivas 73f6a570 2013-11-03T09:25:28 Look for timeout overruns in usb read/write.
Con Kolivas ccb74239 2013-11-03T09:23:45 Use an int for usb_read/write to identify overruns.
Con Kolivas 1f227462 2013-11-03T09:04:15 Use the callback timeout as a safety mechanism only on windows.
Con Kolivas 4c0b6438 2013-11-02T12:29:08 Instead of using complicated sleeps to emulate characters per second on usb writes, submit only as many characters as can be transferred per usb poll of 1ms, and use timeouts in bulk transfers, cancelling transfers only as a failsafe.
Con Kolivas efc605ff 2013-11-03T19:41:56 Ignore iManufacturer from bitfury devices to support bluefury as well as redfury.
Con Kolivas ef0b7d3b 2013-11-03T19:15:32 Add more debugging info for when usb details don't match.
Con Kolivas 81940671 2013-11-03T01:22:13 Remove discarded work from quota used.
Con Kolivas c3854378 2013-11-03T01:01:24 Display works completed in summary and API data.
Con Kolivas 8e1ec8bd 2013-11-03T00:52:15 Store how many work items are worked on per pool.
Con Kolivas ab1e9404 2013-11-03T00:47:43 Make each pool store its on reference for what the most current block is and fine tune management of block change in shared pool failover strategies using the information.
Con Kolivas 448b1fae 2013-11-02T22:25:45 Rationalise use of current_hash to a single hex string the length of the previous block and display only the first non zero hex chars of the block in the status window.
Con Kolivas b7648621 2013-11-02T21:54:51 Update uthash to latest.
Con Kolivas e6a50684 2013-11-02T21:09:37 show_hash doesn't know the size of the string so hard code the max size.
Con Kolivas 57d6a6f6 2013-11-02T20:56:29 Remove as many initial zeroes as exist on share display, abstracting out a hash show function to use across different submission mechanisms.
Con Kolivas 6e63eebf 2013-11-02T12:32:11 Add missing endian swap functions for 64bits.
Con Kolivas 876a8302 2013-11-02T11:20:26 Sanity check for absurd target setting and divide by zero.
Con Kolivas 21bdcdd6 2013-11-02T11:17:36 Abstract out conversion of a 256 bit endian number to a double, correcting errors and use it for determining any magnitude share diff.
Con Kolivas 759bd39f 2013-11-02T11:04:06 Avoid the extra generation of a byte flipped hash2 in struct work and directly use the LE work hash.
Con Kolivas e95b42ea 2013-11-02T08:46:13 Add a sanity check to avoid divide by zero crashes in set_target
Con Kolivas 8abe9d4e 2013-11-01T23:30:29 Calculate diff from target accurately for all 256 bits.
Con Kolivas 8d61ee24 2013-11-01T23:08:49 Set a true 256bit binary target based on any diff value in set_target()
Con Kolivas 61297399 2013-11-01T21:45:47 Provide a copy_work_noffset function for copying a work struct but changing its ntime.
Con Kolivas e18ae1e2 2013-11-01T00:26:55 Make calls to flush queue and flush work asynchronous wrt to the main work loops.
Con Kolivas 39c84913 2013-11-01T00:12:25 Share is also above target for submit noffset nonce.
Con Kolivas 8ed93633 2013-10-31T23:45:51 Use round for displaying current pool diff.
Con Kolivas eb73897a 2013-10-31T23:35:43 Use round for stratum share diff display instead of floor.
Con Kolivas 7e59ec4f 2013-10-31T23:28:57 Use round instead of floor for displayed pool difficulty.
Con Kolivas ac5b12e1 2013-10-31T17:15:42 Allow arbitrary diffs to be tested against nonces via a test_nonce_diff function.
Con Kolivas 99b24c48 2013-10-31T17:04:44 Abstract out the rebuilding of hash2 in work.
Con Kolivas 5da3d58f 2013-10-31T16:49:24 Share is above, not below target, when it doesn't meet it.
Con Kolivas 25d4f167 2013-10-31T16:37:07 Add the ability to add uint8 and uint16 entities to api data.
Con Kolivas eaaf34a1 2013-10-31T15:07:26 Use a non blocking connect with a 1 second select timeout when initiating stratum to allow us to iterate over all IPs returned by getaddrinfo in round robin DNS pools.
Con Kolivas 774061e3 2013-10-31T12:31:34 Minor style changes to output.
Con Kolivas c4542f2b 2013-10-31T12:29:59 Merge branch 'master' into hfa Conflicts: Makefile.am api.c configure.ac miner.h
Con Kolivas b431ea4e 2013-10-31T12:09:23 Merge branch 'master' into kncminer
Adrian Port 178c9a0c 2013-10-30T19:55:50 Revert two different hash_sequence(_head)'s to one variable, use HF_SEQUENCE_DISTANCE in both places
Adrian Port fdcac442 2013-10-30T19:54:59 Remove duplicate HF_SEQUENCE_DISTANCE() macro, and duplicate hash_sequence from info structure
Adrian Port d6e9a5ac 2013-10-30T19:54:26 Change SEQUENCE_DISTANCE() macro to HF_SEQUENCE_DISTANCE()
Adrian Port 065054f6 2013-10-30T18:02:51 Structure changes for OP_NONCE, add big endian header
Kano f562174a 2013-10-30T11:44:52 klondike - initialise stat_lock
Kano 75230ed8 2013-10-29T22:30:34 klondike - better to unlock locks than to lock them twice :)
Con Kolivas 5c9f3036 2013-10-29T22:25:05 Merge branch 'master' into hashfast
Con Kolivas b542f523 2013-10-29T22:08:00 Add copyright notice to knc driver.
Con Kolivas 6e3bee0d 2013-10-29T21:31:44 Trivial style changes to knc driver.
Vitalii Demianets f75fdbbb 2013-08-22T16:02:02 Improve performance of work generation by optimizing hex2bin and bin2hex sprintf is a very expensive function, do direct translation instead.
Kano 3e93b268 2013-10-29T19:46:35 klondike - change options to clock and temptarget only
Kano 5ce372e5 2013-10-29T20:48:21 klondike - fix another uninit dev warning
Kano b4eb870a 2013-10-29T19:37:26 klondike - downgrade 'late update' but add an idle detect - and correct error levels
Kano 4153d907 2013-10-29T19:17:44 klondike - fix isc uninit warning