1276 Commits (61297399de73670442c511c8b192bff776dfa05a)

Author SHA1 Message Date
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
Con Kolivas e76421320e Minor opencl build corrections. 11 years ago
Con Kolivas 273b04be62 Do the ntime binary modification to the work struct when submitting an ntime offset nonce within submit_noffset_nonce 11 years ago
Con Kolivas 572c8b9624 Do the ntime binary modification to the work struct when submitting an ntime offset nonce within submit_noffset_nonce 11 years ago
Roy Badami c69a130dc1 Improvements to support for BitBurner boards 11 years ago
Con Kolivas 06776af000 Use the forcelog function on shutdown to cope with indeterminate console lock states due to killing of threads. 11 years ago
Con Kolivas 8e9f32a81b Add a forcelog variant of applog which invalidates any console lock to force output. 11 years ago
ckolivas 680f014c85 Simplify queued hashtable by storing unqueued work separately in a single pointer. 11 years ago
ckolivas 40821d1f11 Use cgcompletion timeouts for the unreliable shutdown functions on kill_work. 11 years ago
Kano c9adb1929c allow __work_complete() access 11 years ago
Kano 514b3c424f API add 'MHS %ds' to 'summary' 11 years ago
Kano d3d3fc1316 Optional lock tracking and stats via the API 11 years ago
Con Kolivas 685c2acecd Speed up polling repeat again in usb poll thread and handle async after the message to disable polling is complete. 11 years ago
Kano 55e233d52c API add 'MHS %ds' to 'summary' 11 years ago
Kano c2073f0944 Optional lock tracking and stats via the API 11 years ago
Con Kolivas bec75b61a6 Make the USB polling thread poll every second to potentially aid longer timeout transfers. 11 years ago
ckolivas f821d0fbf3 Set device_diff on work in get_work to not be missed with drivers that use get_work directly. 11 years ago
Con Kolivas b6831453b4 Make the USB polling thread poll every second to potentially aid longer timeout transfers. 11 years ago
ckolivas fe5da96727 Set device_diff on work in get_work to not be missed with drivers that use get_work directly. 11 years ago
Con Kolivas 07837072f1 hexstr is too small in test_work_current 11 years ago
Con Kolivas 56edabc64d Use a timeout with usb handle events set to a nominal 200ms and wait for the polling thread to shut down before deinitialising libusb. 11 years ago
Con Kolivas 9f8023a959 Use stack memory for hex used in stratum share submissions. 11 years ago
Con Kolivas e0c90359fd Use stack memory in test_work_current, avoiding a malloc/free cycle each time. 11 years ago
Con Kolivas 835ad82441 Convert the bitfury driver to use the hash_driver_work version of hash_work. 11 years ago
Con Kolivas 58008a3742 Add a hash_driver_work function to allow for drivers that wish to do their own work queueing and management. 11 years ago