cgminer.c


Log

Author Commit Date CI Message
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.
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