Log

Author Commit Date CI Message
Con Kolivas 2b621b6b 2013-11-09T11:19:12 Remove GPU mining code.
Con Kolivas 9f74e057 2013-11-09T08:23:23 Use libusb's own zero length packet support unless we have to emulate it on windows since only libusb knows for sure if it's needed.
Con Kolivas 56997327 2013-11-09T08:10:55 Unlock the avalon qlock while sending tasks to not hold the lock for an extended period.
Con Kolivas 74f3f9d6 2013-11-09T08:00:36 Sleep in avalon send task on return to the function to allow other code to work during the sleep period.
Con Kolivas 8e5dc21e 2013-11-09T01:46:50 Send zero length packets when terminating a usb write aligned to maxpacketsize.
Con Kolivas c3f13369 2013-11-08T18:15:08 Do the driver flush in avalon code lockless since it can lead to deadlocks.
Con Kolivas c57b1519 2013-11-08T17:28:10 Reset the work_restart bool after the scanwork loop in case the driver flushes work synchronously.
Con Kolivas 3a71ade6 2013-11-08T14:23:18 Only check for the stratum clean message if we have had a valid message.
Con Kolivas 72424388 2013-11-08T13:32:55 Get rid of the stage thread since all work can be asynchronously added now via hash_push anyway.
Con Kolivas 6daa5303 2013-11-08T09:31:01 Remove the now incorrect faq entry regarding scrypt difficulty.
ec2-user 38fc4986 2013-11-07T17:29:39 Added dependency one liner example that'll save time to red hat users trying to build after a fresh checkout from git
Con Kolivas 0bfac827 2013-11-07T13:09:19 Merge pull request #514 from gubatron/readme-redhat-building-dependencies Added dependency one liner example that'll save time to red hat users tr...
Con Kolivas 176747fb 2013-11-07T23:22:11 Check for fatal read errors and break out of the read loop in avalon.
Con Kolivas 79196e6a 2013-11-07T22:34:05 Send errors are basically fatal in avalon driver so break out of the send tasks loop.
Con Kolivas 79022974 2013-11-07T22:29:33 Make the avalon driver return -1 for hash count when usb fails, allowing the main loop code to send it the shutdown flag.
Con Kolivas 34f23f69 2013-11-07T22:27:21 Break out of the hash work loops when a failure is detected instead of dropping into mt disable.
Con Kolivas 2dd7d2f6 2013-11-07T22:11:08 Use usbutils' own ftdi parser for avalon and the ftdir's own latency for managing timeouts since we can wait on reads with completely asynchronous reads+writes.
Con Kolivas 8cade649 2013-11-07T07:10:15 Give avalon a rest between submissions.
Con Kolivas 093a6302 2013-11-07T00:31:44 Decrease the avalon read timeout to less than the time it takes to fill the tiny 64 byte buffer.
Con Kolivas f3d406ec 2013-11-06T22:22:43 Use usbutils' own cps function for slowing rate of usb writes on avalon.
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.