cgminer.c


Log

Author Commit Date CI Message
Con Kolivas 2b702ce2 2014-02-28T12:43:53 Refresh the log window on pool failure message at startup.
Con Kolivas e37b84f8 2014-02-28T12:40:00 Rework the pool fail to connect at startup to not get stuck indefinitely repeatedly probing pools with new threads and to exit immediately when any key is pressed.
Con Kolivas 5bae526b 2014-02-28T12:20:33 Use an early_quit function for shutting down when we have not successfully initialised that does not try to clean up.
Con Kolivas f80d19bb 2014-02-28T00:37:55 Increase the work queue at the top end if we've hit the bottom as well.
Con Kolivas a70ea23e 2014-02-28T00:30:08 Set the work generation thread high priority, not the miner threads.
Con Kolivas e61cc7b7 2014-02-28T00:11:52 Increase the opt_queue if we can hit the maximum amount asked for but are still bottoming out.
Con Kolivas 0a6db8a3 2014-02-27T21:43:04 Show only as many digits as are required to display the number of devices.
Con Kolivas b5d17a90 2014-02-27T20:40:06 Null a device driver should thread prepare fail.
Con Kolivas 800a04ec 2014-02-27T20:38:36 Add a function for making all driver functions noops.
ckolivas 8aeb27d9 2014-02-27T17:28:22 Don't try to reinit a device that's disabled.
ckolivas 530e16e8 2014-02-27T17:23:48 Disable a device that fails to prepare.
ckolivas 3ebba278 2014-02-27T17:05:02 Check for lack of thread in watchdog thread for a failed startup.
ckolivas 84364a18 2014-02-27T16:18:56 Add an option to disable dynamic core shedding on hashfast devices.
Con Kolivas f770cc08 2014-02-27T00:01:38 Making the hotplug thread nice+10 makes all threads created from it also low priority.
Con Kolivas 023c186d 2014-02-26T23:52:50 When not honoured, trying to set highprio seems to have the opposite effect making it a harmful choice generically.
ckolivas 70210434 2014-02-25T12:59:58 Allow the drop in MHz per hfa failure to be specified on the command line.
Con Kolivas 41226f18 2014-02-24T19:51:48 Add a --hfa-name command that allows one to specify the unique opname for a hashfast device.
Con Kolivas 3ed3cf33 2014-02-23T17:01:48 Per device last getwork won't work if the device stops asking for work.
Con Kolivas 35263e07 2014-02-23T16:48:50 Correct share work tdiff
Con Kolivas e69f8447 2014-02-23T15:38:59 Provide a helper function for determining time between valid share and getwork per device.
Con Kolivas 4aceffc9 2014-02-23T15:35:39 Store last_getwork time on a per-device basis.
Con Kolivas 55c76d40 2014-02-22T15:50:24 Set each miner thread last valid work just before starting its hash loop in case there are delays at startup.
Con Kolivas 279bcb69 2014-02-21T12:04:49 Check for error from setfloatval
Con Kolivas 6c488b16 2014-02-21T11:56:17 Halfdelay cannot be larger than 255.
Con Kolivas 832146ac 2014-02-21T11:52:19 Allow any arbitrary frequency to be specified for ANU devices and try to find the nearest frequency when initialising it, reporting if the frequency is not exactly as requested.
Con Kolivas b3b1ddff 2014-02-21T07:52:38 Merge branch 'avalon2' of https://github.com/xiangfu/cgminer into xiangfu-avalon2 Conflicts: api.c configure.ac
Con Kolivas 020e896f 2014-02-20T21:34:16 Move bitmine options to alphabetic positioning.
Zefir Kurtisi 60534e57 2013-12-24T00:33:42 Initial import of Bitmine.ch A1 SPI driver This initial driver was designed around an FPGA based emulator board which provides 2 chained chips with 4 hashing engines each, running at 10% of the A1's nominal speed. Driver has been tested on RasPi. Signed-off-by: Zefir Kurtisi <zefir.kurtisi@gmail.com>
Con Kolivas 257fe00a 2014-02-18T22:19:45 Move driver statline padding to cgminer.c, expanding width of maximum displayable statistics and window width to add more info.
Con Kolivas 648be96f 2014-02-18T20:50:45 Prune old stratum shares that we've seen no response for over 2 minutes to avoid memory leaks for pools that don't respond about some shares.
Con Kolivas 6afe3087 2014-02-15T17:36:08 Updated cointerra features.
Con Kolivas cd79fbd4 2014-02-15T16:51:32 Use a unique usb_list function displaying only pertinent information when listing usb devices from the menu.
Con Kolivas 70307957 2014-02-14T21:41:37 Allow hotplug interval to be changed from the USB menu.
Con Kolivas c5694ee8 2014-02-14T21:23:42 Add the ability to whitelist previously blacklisted usb devices from the menu.
Kano 122c1fdd 2014-02-14T15:23:11 cgminer -h crash fix
Con Kolivas 5cda70e7 2014-02-14T08:09:17 Update various copyright dates
Con Kolivas 12554af1 2014-02-13T23:50:33 Add blacklisting as an option to the USB menu.
Con Kolivas 80c781c0 2014-02-13T23:19:03 Add an option to the USB menu to list all known devices.
Con Kolivas 87a1c38d 2014-02-13T23:13:33 Add an option to send a USB reset via the USB menu.
Con Kolivas 40b8eed7 2014-02-13T22:46:37 Add warning for attempting to unplug a usb device that is already removed.
Con Kolivas 20c3fafe 2014-02-13T22:42:59 Add USB Unplug option to USB management device management menu.
Con Kolivas b54cd59c 2014-02-13T22:40:20 Add enable and disable USB device functions to the menu.
Con Kolivas 820cd706 2014-02-13T22:22:56 Add a [U]SB menu item, initially with just statistics per device, adding device number to the device status window display.
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.
Xiangfu 7c5b0b84 2014-02-11T14:00:04 Add Avalon2 (2U size machine) support Signed-off-by: Xiangfu <xiangfu@openmobilefree.net>
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.