1297 Commits (42b3cf19c4b5fdd500cd0631d7565bd448c68e1f)

Author SHA1 Message Date
Con Kolivas c030439d0b Do get_work in fill_queue without holding other locks. 11 years ago
Con Kolivas 4a620cce44 Initialise usb after all the locks and conditionals are initialised. 11 years ago
Con Kolivas aa9938973e Use only a trylock in flush queue to prevent deadlocks. 11 years ago
Con Kolivas 609ca9292a Scale diff for scrypt when testing for block solves. 11 years ago
Con Kolivas c5b10a6cf3 Fix for non curses build. 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 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 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 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 774061e3f2 Minor style changes to output. 11 years ago
Kano 3e93b268fa klondike - change options to clock and temptarget only 11 years ago
Vitalii Demianets 53570ae8a0 KnC driver: knc-spi-fpga ASIC driver 11 years ago
Vitalii Demianets 14d20837b3 'llround' is more suitable here than 'roundl' 11 years ago
Con Kolivas 36c6da8ad4 Reinstate block solve testing. 11 years ago
Con Kolivas 3f6b9d6796 Dramatically simplify the calculation of blockdiff. 11 years ago
Con Kolivas ca91994709 Simplify the set_target function, allowing it to work properly for fractional diffs. 11 years ago
Con Kolivas 3ffc3f1d78 Adjust the binary ntime data in submit_noffset_nonce even when there is no hex ntime string for eg. gbt. 11 years ago
Con Kolivas 316e6d61c9 Put an entry into the work struct telling drivers how much they can roll the ntime themselves. 11 years ago
Con Kolivas 4728dd82d1 Remove the applog on miner threads dying to prevent deadlocks on exit. 11 years ago
Con Kolivas 4c979d756f Do one extra guaranteed libusb event handling before testing if there are any pending async usb transfers. 11 years ago
Con Kolivas 0da551fac1 Use a linked list for all usb transfers instead of just cancellable ones. 11 years ago
Con Kolivas d342bcbe81 Provide a mechanism for informing drivers of updated work templates for stratum and gbt mining. 11 years ago
Con Kolivas 9d8e3df0a8 Add usb transfer cancellation on shutdown and documentation regarding where cancellable transfers are suitable. 11 years ago
Con Kolivas d2feacdfb2 Cancel cancellable usb transfers on work restart messages. 11 years ago
Con Kolivas 448f8dde80 Don't attempt to disable curses or print a summary during an app restart to prevent deadlocks. 11 years ago
Con Kolivas 81dfe60d36 Keep the libusb event handle polling thread active until there are no async usb transfers in progress. 11 years ago