5631 Commits (edf677965065539c909950e2bf28656bdf4828dd)
 

Author SHA1 Message Date
Con Kolivas e6e39ab8c6 Update NEWS 11 years ago
Con Kolivas 8b38d7fec8 Use WRITEIOERR macro check for all usb writes. 11 years ago
Con Kolivas 38164d637d Merge branch 'icarushit' 11 years ago
Con Kolivas 8fb7a0d1be Always use a usb read buffer instead of having to explicitly enable it. 11 years ago
Con Kolivas e3ed101ce8 Force unlocking of the console lock on restart to avoid corrupting the console state when we finally quit. 11 years ago
Con Kolivas 6c2a8d8be7 Force unlocking of the console lock on restart to avoid corrupting the console state when we finally quit. 11 years ago
Con Kolivas c9b54f1502 Never wait indefinitely for a pthread conditional in the hash_pop loop in case the work scheduler misses the last wakeup. 11 years ago
Con Kolivas a077c9f9a4 Make hash_pop signal the work scheduler each time it waits on the conditional that it should look for more work. 11 years ago
Con Kolivas 3f9ccc1b27 Never wait indefinitely for a pthread conditional in the hash_pop loop in case the work scheduler misses the last wakeup. 11 years ago
Con Kolivas 31df767cc7 Make hash_pop signal the work scheduler each time it waits on the conditional that it should look for more work. 11 years ago
Con Kolivas 310aa75460 Discriminate between libusb transfer errors and regular libusb errors and make sure to capture them all. 11 years ago
Con Kolivas d1683fe6b1 Always read a full sized transfer for bulk reads. 11 years ago
Con Kolivas fc80e2feb6 Deprecate preferred packet size functions in usbutils since they're unhelpful. 11 years ago
Con Kolivas ea12210032 Why are we reading extra again in usb read when buffering is enabled? Don't do that. 11 years ago
Con Kolivas 38d9c24e56 Copy known transferred amount back to buffer for usb reads instead of requested length. 11 years ago
Con Kolivas b5dfb8f03e Ignore preferred packet size. 11 years ago
Con Kolivas 0cceaccf75 Treat timeout errors on usb writes as IO errors. 11 years ago
Con Kolivas dfba30b9f2 Ignore iManufacturer from bitfury devices to support bluefury as well as redfury. 11 years ago
Con Kolivas 95797821b4 Add more debugging info for when usb details don't match. 11 years ago
Con Kolivas 73f6a570f3 Look for timeout overruns in usb read/write. 11 years ago
Con Kolivas ccb742399f Use an int for usb_read/write to identify overruns. 11 years ago
Con Kolivas 1f22746243 Use the callback timeout as a safety mechanism only on windows. 11 years ago
Con Kolivas 4c0b643864 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. 11 years ago
Con Kolivas efc605ffd3 Ignore iManufacturer from bitfury devices to support bluefury as well as redfury. 11 years ago
Con Kolivas ef0b7d3b5b Add more debugging info for when usb details don't match. 11 years ago
Con Kolivas 819406714a Remove discarded work from quota used. 11 years ago
Con Kolivas c3854378e1 Display works completed in summary and API data. 11 years ago
Con Kolivas 8e1ec8bd43 Store how many work items are worked on per pool. 11 years ago
Con Kolivas ab1e9404a7 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. 11 years ago
Con Kolivas 448b1fae64 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. 11 years ago
Con Kolivas b764862128 Update uthash to latest. 11 years ago
Con Kolivas e6a5068470 show_hash doesn't know the size of the string so hard code the max size. 11 years ago
Con Kolivas 57d6a6f697 Remove as many initial zeroes as exist on share display, abstracting out a hash show function to use across different submission mechanisms. 11 years ago
Con Kolivas 6e63eebfe1 Add missing endian swap functions for 64bits. 11 years ago
Con Kolivas 876a83024d Sanity check for absurd target setting and divide by zero. 11 years ago
Con Kolivas 21bdcdd6b3 Abstract out conversion of a 256 bit endian number to a double, correcting errors and use it for determining any magnitude share diff. 11 years ago
Con Kolivas 759bd39f17 Avoid the extra generation of a byte flipped hash2 in struct work and directly use the LE work hash. 11 years ago
Con Kolivas e95b42ea54 Add a sanity check to avoid divide by zero crashes in set_target 11 years ago
Con Kolivas 8abe9d4e39 Calculate diff from target accurately for all 256 bits. 11 years ago
Con Kolivas 8d61ee2455 Set a true 256bit binary target based on any diff value in set_target() 11 years ago
Con Kolivas 61297399de Provide a copy_work_noffset function for copying a work struct but changing its ntime. 11 years ago
Con Kolivas e18ae1e222 Make calls to flush queue and flush work asynchronous wrt to the main work loops. 11 years ago
Con Kolivas 39c8491302 Share is also above target for submit noffset nonce. 11 years ago
Con Kolivas 8ed936330e Use round for displaying current pool diff. 11 years ago
Con Kolivas eb73897ade Use round for stratum share diff display instead of floor. 11 years ago
Con Kolivas 7e59ec4f2d Use round instead of floor for displayed pool difficulty. 11 years ago
Con Kolivas ac5b12e1a0 Allow arbitrary diffs to be tested against nonces via a test_nonce_diff function. 11 years ago
Con Kolivas 99b24c48fd Abstract out the rebuilding of hash2 in work. 11 years ago
Con Kolivas 5da3d58f6f Share is above, not below target, when it doesn't meet it. 11 years ago
Con Kolivas 25d4f16727 Add the ability to add uint8 and uint16 entities to api data. 11 years ago