cgminer.c


Log

Author Commit Date CI Message
Con Kolivas 96b25448 2014-03-11T00:24:15 Avoid a memory leak by reusing the ntime field when rolling stratum work.
Con Kolivas 4258bba6 2014-03-09T21:16:22 Default to stratum+tcp:// on any urls that don't have a prefix instead of http.
Con Kolivas cf0c8274 2014-03-08T13:06:50 Correct fix for dev start time being adjusted for stat zeroing.
Con Kolivas 0e31c0ae 2014-03-08T12:46:58 Make per device stats work for average after a stat zeroing.
Con Kolivas ff6a4aba 2014-03-08T12:15:26 Add an hfa-options command line that allows the clockspeed to be chosen per device by name comma separated, with a function that can be expanded with more options in the future.
Con Kolivas be95fa90 2014-03-08T10:52:11 Roll the ntime for work within the hfa driver for firmware we know doesn't do it internally as an optimisation.
Con Kolivas 2de81355 2014-03-08T10:35:45 Export the roll_work function to be usable by driver code and make it compatible with rolling stratum work.
Con Kolivas aabb73bf 2014-03-08T09:25:11 Make opt_queue be respected as a maximum value for staged items.
Con Kolivas 139dac06 2014-03-06T11:26:24 Make bxm bits configurable.
Con Kolivas e67b7779 2014-03-06T11:12:54 Move avalon2 options to ~alphabetic position in help.
ckolivas 1d533568 2014-03-03T13:38:06 Forcibly kill everything silently with an exit code of 1 should we fail to cleanly shut down and use a completion timeout for the __kill_work in app_restart.
ckolivas c1ad218f 2014-03-03T13:21:34 Make __kill_work itself also be a completion timeout.
Kano d5b8d73f 2014-03-02T00:13:59 Enable Bitmain Ant S1 code and make it conform to cgminer requirements
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.