cgminer.c


Log

Author Commit Date CI Message
Con Kolivas 2d36f88e 2013-12-29T16:24:18 Update documentation for modified avalon options syntax and document relevant 55nm details.
Kano 97a13df4 2013-12-23T06:58:26 Merge remote-tracking branch 'drill/master' into drill
Con Kolivas 24d65294 2013-12-22T14:29:38 Minimise risk of nonce2 overflow with small nonce2 lengths by always encoding the work little endian, and increasing the maximum size of nonce2 to 8 bytes.
Con Kolivas 7fc87129 2013-12-17T23:51:11 Implement command line control of the bxf target temperature.
Angus Gratton 85aebc41 2013-12-11T19:29:10 Merge remote-tracking branch 'upstream/master' into merge_385
Con Kolivas 1ffd64ba 2013-12-09T14:12:56 Attempt a libusb reset device on usb devices that have stopped responding.
Con Kolivas 6f43e454 2013-12-09T13:54:54 Remove more unused GPU code.
Angus Gratton 73343f38 2013-12-09T11:39:03 Merge remote-tracking branch 'upstream' into merge_upstream Conflicts: usbutils.c
Con Kolivas 7ae878aa 2013-12-08T12:44:45 Initialise usb locks within usbutils.c instead of exporting them.
Con Kolivas d7c5667a 2013-12-08T12:44:45 Initialise usb locks within usbutils.c instead of exporting them.
Con Kolivas f4a96194 2013-12-04T20:42:25 Provide an hfa-dfu-boot option for resetting hashfast devices for reprogramming.
Angus Gratton e933a560 2013-11-30T22:03:26 Merge remote-tracking branch 'upstream' into merge_383 Conflicts: usbutils.c usbutils.h
Con Kolivas 6a91027f 2013-11-30T10:14:44 Use sync usb transfers in lowmem mode.
Con Kolivas 1058f36d 2013-11-25T09:43:31 Initialise devices before attempting to connect to pools to allow their thread prepare function to be called before having to connect to pools.
Con Kolivas 8901d7e3 2013-11-24T16:52:08 Add hidden hfa options to set hash clock, group ntime roll and pll bypass, fixing frame sent on reset to include extra data.
Con Kolivas 443f26b6 2013-11-20T23:07:02 Provide a function to discard queued work based on age.
Con Kolivas d3daff47 2013-11-16T13:20:52 Prevent a deadlock with use of restart_threads by spawning a thread to send the driver flush work messages.
Con Kolivas fcbd3dc5 2013-11-16T11:42:38 Set priority of various threads if possible.
Con Kolivas 16bdb528 2013-11-16T10:44:41 Do not hold the mining thread lock in restart_threads when calling the driver flush work commands.
Con Kolivas 324df855 2013-11-15T23:46:41 Don't run device restart code if the device is not enabled.
Angus Gratton 998a368f 2013-11-15T09:41:01 Merge remote-tracking branch 'upstream' into new_protocol Conflicts: cgminer.c configure.ac miner.h
Con Kolivas 4494292a 2013-11-14T13:08:35 Provide a function for setting the work ntime.
Con Kolivas 8edba014 2013-11-13T21:54:21 We can't connect to a GBT pool at all with fix protocol enabled.
Con Kolivas 013c93f7 2013-11-13T20:01:41 Initialise the stgd lock mutex earlier to prevent dereferences when pool testing occurs before it.
Con Kolivas dc6574e6 2013-11-11T08:57:32 --shares should be scaled to diff1 not absolute number of shares
Con Kolivas 28137c8e 2013-11-10T20:07:36 Merge branch 'master' into nogpu Conflicts: configure.ac
Kano f792b1be 2013-11-10T11:18:37 Configure source for a new BaB driver
Angus Gratton 278f157e 2013-11-10T09:12:39 Merge remote-tracking branch 'upstream/master' into new_protocol
Con Kolivas b0573a07 2013-11-09T23:23:01 Merge branch 'master' into nogpu
ckolivas a02dc6f4 2013-11-07T11:01:22 Add a get and queue helper work function.
Con Kolivas 2b621b6b 2013-11-09T11:19:12 Remove GPU mining code.
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 34f23f69 2013-11-07T22:27:21 Break out of the hash work loops when a failure is detected instead of dropping into mt disable.
ckolivas 8416a4db 2013-11-06T10:22:38 Fix build for no libcurl
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 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.
Angus Gratton f066ca68 2013-11-05T10:19:11 Merge branch 'master' of github.com:ckolivas/cgminer into new_protocol Conflicts: configure.ac miner.h usbutils.c usbutils.h
Con Kolivas aa993897 2013-11-05T09:08:52 Use only a trylock in flush queue to prevent deadlocks.
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.
Angus Gratton dbfb4a29 2013-11-04T14:42:54 Add capacity for command line --drillbit-options (modelled on klondike driver)
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 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 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 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 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
Con Kolivas 5c9f3036 2013-10-29T22:25:05 Merge branch 'master' into hashfast
Kano 3e93b268 2013-10-29T19:46:35 klondike - change options to clock and temptarget only
Vitalii Demianets 53570ae8 2013-10-02T03:49:47 KnC driver: knc-spi-fpga ASIC driver This driver talks to KnCMiner controller via SPI Protocol specification is available at https://github.com/KnCMiner/jupiter-hw-docs/blob/master/fpga_spi.md
Vitalii Demianets 14d20837 2013-08-09T10:28:17 'llround' is more suitable here than 'roundl'
Con Kolivas 36c6da8a 2013-10-27T00:46:19 Reinstate block solve testing.
Con Kolivas 3f6b9d67 2013-10-27T00:27:39 Dramatically simplify the calculation of blockdiff.
Con Kolivas ca919947 2013-10-26T23:14:34 Simplify the set_target function, allowing it to work properly for fractional diffs.
Con Kolivas 2d67bb06 2013-10-26T16:22:13 Merge branch 'master' into hashfast
Con Kolivas f9d3d008 2013-10-25T20:11:24 Merge pull request #509 from roybadami/master Improvements to support for BitBurner boards
Angus Gratton f5c69237 2013-10-25T16:19:48 Merge branch 'master' of github.com:ckolivas/cgminer into new_protocol Conflicts: usbutils.c
Con Kolivas e1b4aa98 2013-10-25T14:42:35 Merge branch 'master' into hashfast
Con Kolivas 3ffc3f1d 2013-10-25T14:41:23 Adjust the binary ntime data in submit_noffset_nonce even when there is no hex ntime string for eg. gbt.
Con Kolivas f29f6121 2013-10-25T14:35:56 Merge branch 'master' into hashfast
Con Kolivas 316e6d61 2013-10-25T14:29:43 Put an entry into the work struct telling drivers how much they can roll the ntime themselves.
Con Kolivas 4728dd82 2013-10-25T12:54:10 Remove the applog on miner threads dying to prevent deadlocks on exit.
Con Kolivas 4c979d75 2013-10-25T12:46:47 Do one extra guaranteed libusb event handling before testing if there are any pending async usb transfers.
Con Kolivas 0da551fa 2013-10-25T12:30:39 Use a linked list for all usb transfers instead of just cancellable ones.
Con Kolivas d342bcbe 2013-10-25T11:56:32 Provide a mechanism for informing drivers of updated work templates for stratum and gbt mining.
Angus Gratton bbf8a00c 2013-10-25T10:50:03 Hashing with new protocol
Con Kolivas 9d8e3df0 2013-10-25T04:07:09 Add usb transfer cancellation on shutdown and documentation regarding where cancellable transfers are suitable.
Con Kolivas d2feacdf 2013-10-24T22:26:13 Cancel cancellable usb transfers on work restart messages.
Con Kolivas b639e688 2013-10-24T21:19:29 Merge branch 'master' into hashfast