cgminer.c


Log

Author Commit Date CI Message
Con Kolivas 83231db3 2014-02-12T20:48:46 Merge branch 'master' of github.com:ckolivas/cgminer
Con Kolivas 69d67af1 2014-02-12T20:46:44 Add driver for cointerra devices.
kanoi 00099094 2014-02-10T09:53:51 Merge pull request #546 from kanoi/master Allow running cgminer in benchmark mode with a work file --benchfile
Kano 528bd85f 2014-02-10T09:47:42 format fix and bad variable usage fix for --benchfile
Kano b1d00ab7 2014-02-10T08:37:48 Allow running cgminer in benchmark mode with a work file --benchfile
Con Kolivas 812f5302 2014-02-09T09:49:33 ANU frequency is in MHz, not hex.
Con Kolivas 49da1e78 2014-02-08T11:09:11 We shouldn't block on no work situations directly from the getwork scheduler itself.
Con Kolivas a52b37b6 2014-02-08T11:01:52 Revert "Make the pthread cond wait in the getwork scheduler a timed wait in case we miss a wakeup." This reverts commit 47a20fb8e813f427357dd8133f811e45f6892ede. Wrong fix.
Con Kolivas 47a20fb8 2014-02-08T07:42:53 Make the pthread cond wait in the getwork scheduler a timed wait in case we miss a wakeup.
Con Kolivas fa26f8df 2014-02-07T13:28:05 Add debug output when get_work() is blocked for an extended period and add grace time to the device's last valid work to prevent false positives for device failure.
Con Kolivas d6d04562 2014-02-07T08:48:40 Show device info in noffset nonce share above target message.
Con Kolivas 83ba8e05 2014-02-07T08:43:31 Widen lines in top menu to fit extra large share values.
Con Kolivas c4267e66 2014-02-07T01:00:35 Slowly remove work even if it's not being used to keep the getwork counter incrementing even if work is not used and as a test that pools are still working.
Con Kolivas 3f88b7b9 2014-02-06T16:08:24 Give device info with share above target message.
Con Kolivas 6ff2b7bd 2014-02-05T22:22:04 Add ability to enter ANU frequency as a multiple of 25 from 150-500.
Con Kolivas f502888e 2014-02-05T21:48:20 ifdef out icarus options unused without icarus built in.
Con Kolivas 3db78223 2014-02-05T21:43:12 Reorder command line options alphabetically.
ckolivas 49482b1b 2014-02-05T11:37:11 Allow hfa fanspeed to be set via command line.
Con Kolivas 39a6cccb 2014-02-02T10:54:15 Always show the stratum share lag time in debug mode.
Con Kolivas 7dafd4bd 2014-02-02T10:51:21 Add stratum share response lag time to verbose output if it's greater than 1 second.
Con Kolivas 3f673563 2014-02-02T10:47:17 Add stratum share submission lag time to verbose information if it's over 1 second.
Con Kolivas 2d0afaea 2014-02-01T23:03:22 Allow the hfa temp target to be disabled by setting it to zero.
Con Kolivas dc93ca47 2014-02-01T22:08:46 Add per-die throttling control for hfa driver based on each die's temperature, issuing a suitable reset to maintain the temperature below a configurable target temperature.
Con Kolivas 13baf076 2014-01-31T22:16:11 Export the flush_queue function for use by drivers.
Con Kolivas 1d4c7311 2014-01-31T22:03:48 Remove wrong goto
Con Kolivas 6e6d3547 2014-01-31T22:01:37 Remove the unqueued work reference when we discard work from get queued as well.
Con Kolivas 7e3d0577 2014-01-31T21:57:50 Wake the global work scheduler when we remove a work item from the unqueued work pointer.
Con Kolivas dcac23db 2014-01-31T21:51:34 Discard work that is stale in the get_queued() function, returning NULL instead.
Con Kolivas 88fe54d9 2014-01-31T10:37:59 Add a call to a driver specific zero stats function when zero stats is called to allow each driver to reset its own stats as well if desired.
Con Kolivas d838a562 2014-01-26T20:47:53 Fix displayed diff when solo mining at >2^32 diff.
Con Kolivas d3480c76 2014-01-25T17:32:49 Add throttling control to hfa driver, configurable at command line, nominally set to 85 degrees.
Con Kolivas 1eb7f30a 2014-01-25T17:01:59 Store when the last getwork was retrieved and display it in the API summary.
Con Kolivas 7cd22e2a 2014-01-25T14:34:44 Add description to hfa hash clock command.
Kano 37213bec 2014-01-24T21:15:15 Add bab-options
ckolivas c2a4d94b 2014-01-24T17:07:39 Make submit_tested_work return a bool about whether it meets the work target or not.
ckolivas 302d087f 2014-01-24T15:38:53 Provide a helper function for determining dev runtime and use it in the hashmeters used.
Kano e869b43b 2014-01-24T21:15:15 Add bab-options
Con Kolivas 2c2a6f88 2014-01-23T23:57:12 Generically increase the queue if we are mining on a pool without local work generation each time we run out of work.
Con Kolivas 92e1887f 2014-01-23T23:36:50 Change new block detection message since longpoll is rarely relevant today.
Con Kolivas 8d7d764f 2014-01-23T23:19:19 Change the default clockspeed bits on nanofury devices to 50 and add a command line option to allow it to be changed.
Con Kolivas 0b90841c 2014-01-23T23:06:19 Use unused line at the top of the log window which often gets stuck unchanging.
Con Kolivas 4b9d03b5 2014-01-23T22:03:39 Merge branch 'master' of github.com:ckolivas/cgminer
Con Kolivas 295c1c74 2014-01-23T22:02:58 Clear pool work on a stratum reconnect message.
Kano d9440866 2014-01-18T09:36:51 Modify thread naming to make them easier to identify
Kano 828e80ed 2013-12-31T15:29:09 Add minion driver into cgminer
Con Kolivas b224ef38 2013-12-30T20:25:20 If no pools are active on startup wait 60s before trying to reconnect since we likely have the wrong credentials rather than all the pools being out.
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.