cgminer.c


Log

Author Commit Date CI Message
Kano a8c974f5 2013-07-18T08:51:08 set device_drv function noops when first add_cgpu
Kano a9e10988 2013-07-06T22:08:17 force type checking on curses
Kano 74d71cce 2013-07-06T20:47:49 cgminer - size check all sprintf
Kano ad1572f7 2013-07-06T20:17:17 size check get_datestamp/get_timestamp and remove unused cgpu->init
Kano 385a70be 2013-07-06T19:15:59 make all statline overflow safe
Kano df05174e 2013-07-05T18:26:18 WU only needs +2 width
Con Kolivas 42d96ee7 2013-07-02T20:41:44 Convert the decay_time function into one that truly creates an exponentially decaying average over opt_log_interval.
Con Kolivas 065b6a5e 2013-07-01T15:38:15 Provide an --avalon-freq command line to give a valid range of frequencies for avalon in auto mode.
Con Kolivas f142a4de 2013-07-01T10:41:22 Allow the avalon fanspeed range to be passed as parameter on the command line, default to 20-100%
Con Kolivas 1b81ecf9 2013-06-30T15:51:46 Just display A: and R: for difficulty accepted and rejected to preserve screen real estate and decrease decimal places for WU.
Kano a94b7be3 2013-06-29T08:41:22 correct device DR: and remove global U:
Kano 800dc249 2013-06-29T01:43:18 Update all screen A/R to instead use DA/DR and device U to WU
Con Kolivas e811c4dc 2013-06-26T00:15:04 Add an avalon-auto option which enables dynamic overclocking based on hardware error rate for maximum effective hashrate.
Con Kolivas 9b45daba 2013-06-25T19:39:42 Add an --avalon-cutoff feature which puts the avalon idle should it reach this temperature, defaulting to 60, re-enabling it when it gets to target temperature.
Con Kolivas 661a448a 2013-06-24T12:46:26 Fix build warning.
Con Kolivas 1fca632f 2013-06-24T11:04:02 Add an --avalon-temp option to allow a user specified target temperature.
Con Kolivas 2ab7dac2 2013-06-23T17:03:59 Demote the invalid nonce warning to log info.
Con Kolivas 94e636a9 2013-06-21T17:02:13 Only update hashmeter if we have done hashes or haven't updated longer than the log interval, fixing a us/ms error.
Con Kolivas ccfa8935 2013-06-19T13:20:25 Increase watchdog sick time to longer than it takes for a pool to be detected dead.
Kano e300e502 2013-06-19T11:59:28 disable curses device resize that crashes on windows
Con Kolivas e0c4d35b 2013-06-18T20:59:45 Multiplier fail for microseconds vs milliseconds when updating hashmeter in hash_queued_work.
Con Kolivas 6eb7f622 2013-06-18T20:30:48 Only make threads report in/out across the actual driver code and update their status on reporting out as well as in.
Con Kolivas 7014bd6b 2013-06-17T21:20:36 Difficulty should be unconditionally byteswapped, not swapped to big endian.
Kano 7eba9634 2013-06-15T22:03:56 remove varargs from logging/quit/in general as much as possible
Con Kolivas 6789c96f 2013-06-15T01:37:00 Off by one error in device count for display.
Con Kolivas 994c0245 2013-06-15T01:31:37 Don't display devices beyond the most_devices count in the curses status.
Con Kolivas cd9ff7f6 2013-06-15T01:28:00 Only display as many device rows as the maximum live existed at any time.
Kano 7ad9132b 2013-06-15T01:02:27 usb lock out use cg locks
Kano ad30d41f 2013-06-14T23:48:03 usb lock out transfers during open/close
Con Kolivas 42891f07 2013-06-13T16:59:06 Merge pull request #444 from zenwheel/master Compile UNIX conditionals on Mac OS X
ckolivas 465ca142 2013-06-14T09:57:05 Only show efficiency in pool information for pools that don't support local work generation.
ckolivas 9aeed2f9 2013-06-14T09:56:22 Create a pool_localgen bool function for testing when a pool can generate work locally.
Scott Jann 16587dd7 2013-06-13T18:50:50 compile unix code on Mac OS X fixes not finding the config file in $HOME
Kano 84ffcbc5 2013-06-14T01:09:50 Use mining start time for device MH/U calculations
Con Kolivas 24398bde 2013-06-09T16:38:57 cgsem_post after creating the thread info
ckolivas 9b2e517f 2013-06-09T12:20:04 Use cgsem structures instead of the flaky pings in the work queue to start mining threads and remove the unused thr_info_freeze function.
ckolivas b59c3380 2013-06-06T13:08:00 Implement cgminer specific cgsem semaphores to imitate unnamed semaphore behaviour on osx which does not support them.
Con Kolivas dd578876 2013-06-04T21:49:28 Fix build for !curses
Con Kolivas 03305afb 2013-06-03T16:49:15 Remove start device limitation on log window size to allow it to get larger with hotplugged devices.
Con Kolivas fc95c191 2013-06-03T16:38:40 Switch logsize after hotplugging a device.
Con Kolivas cc9223f0 2013-06-03T16:37:56 Change switch_compact function name to switch_logsize to be used for other changes.
Con Kolivas 514491bd 2013-06-03T16:01:20 Only adjust cursor positions with curses locked.
Kano 12045aae 2013-06-03T12:26:50 devs display - fix GPU duplicate bug
Con Kolivas 5f2c4f13 2013-06-03T11:28:18 Do not hotplug enable a device if devices have been specified and the hotplug device falls outside this range.
Con Kolivas 6e014b0f 2013-06-03T11:10:10 Merge branch 'master' of github.com:ckolivas/cgminer
Con Kolivas 727184d6 2013-06-03T11:09:36 Change the --device parameter parsing and configuration to use ranges and comma separated values.
Kano 9b756d73 2013-06-03T10:24:02 devs display - show ZOMBIEs after all others
Con Kolivas c7ffa58b 2013-06-02T20:36:49 Check for pool_disabled in wait_lp_current
Con Kolivas 6fec07ab 2013-05-31T23:10:46 Check for pool enabled in cnx_needed.
Con Kolivas 181ada4e 2013-05-30T18:03:27 Merge branch 'usbdev' Conflicts: cgminer.c
Con Kolivas 6fa32c92 2013-05-30T13:49:54 Revert "Perform execv in a forked child process, waiting on the original to exit to allow resources to be released." This reverts commit b0fa94d52a26cde776e566bb04c809b3b9f18de4. Loses control of the terminal.
Con Kolivas 78d6bee1 2013-05-30T12:03:16 Inverted sem_init logic.
Con Kolivas b0fa94d5 2013-05-30T12:00:17 Perform execv in a forked child process, waiting on the original to exit to allow resources to be released.
Con Kolivas f4a9a8e6 2013-05-30T11:43:25 Do avalon driver detection last as it will try to claim any similar device and they are not reliably detected.
Con Kolivas cc04d3ab 2013-05-30T11:01:29 Use a counting semaphore to signal the usb resource thread that it has work to do.
Con Kolivas 185cac3e 2013-05-29T23:30:27 Set devices to disabled after they exit the hashing loops to prevent the watchdog thread from trying to act on them.
Con Kolivas 502c7bcb 2013-05-29T23:06:18 Add avalon driver to hotplug.
ckolivas 99b117be 2013-05-29T12:26:12 Scanhash functions perform driver shutdown so don't repeat it.
ckolivas 5b9cf0f0 2013-05-29T12:06:06 Send the shutdown message to threads and do the thread shutdown functions before more forcefully sending pthread_cancel to threads.
Con Kolivas 876e7e58 2013-05-29T00:01:54 Merge branch 'icarus-dev' into usbdev Conflicts: usbutils.h
Con Kolivas 6972ec62 2013-05-28T23:33:32 Execute driver shutdown sequence during kill_work.
Kano 2f94ec80 2013-05-27T23:30:18 usb separate thread for resource locking and modified windows locking code
Con Kolivas 9650bfd6 2013-05-27T14:58:08 Compile usbutils into avalon driver.
Con Kolivas 44736b30 2013-05-26T20:59:40 Make submit_nonce return a bool for whether it's a valid share or not.
Kano 1bb2cadf 2013-05-23T21:11:16 thread shutdown is different on windows
Con Kolivas 000c01dc 2013-05-19T21:28:53 Create a logwin_update function which mandatorily updates the logwin and use it when input is expected to prevent display refresh delays.
Con Kolivas a009f042 2013-05-19T21:30:16 Must unlock curses as well in logwin_update.
Con Kolivas 01fca3e7 2013-05-19T21:28:53 Create a logwin_update function which mandatorily updates the logwin and use it when input is expected to prevent display refresh delays.
Con Kolivas bbb79706 2013-05-19T19:34:12 Check for *pth dereference on pthread_join
Con Kolivas 04d530f3 2013-05-19T16:40:35 Make mining threads report out during work submission.
Con Kolivas bb3b227b 2013-05-19T16:39:07 submit_work_async is no longer used directly by driver code.
Con Kolivas ecd03cef 2013-05-19T12:55:20 Properly pthread_join miner threads on shutdown.
Con Kolivas 894a3d64 2013-05-19T12:55:20 Properly pthread_join miner threads on shutdown.
Con Kolivas 69f36358 2013-05-19T11:36:18 Merge branch 'master' into icarus-dev
Con Kolivas 3a2008ac 2013-05-19T11:25:45 Use a persistent single separate thread for stratum share submission that uses workqueues since all stratum sends are serialised.
Con Kolivas bd652a62 2013-05-18T16:56:23 Only allow the mining thread to be cancelled when it is not within driver code, making for cleaner shutdown and allowing us to pthread_join the miner threads on kill_work().
Con Kolivas 830f30ff 2013-05-18T16:56:23 Only allow the mining thread to be cancelled when it is not within driver code, making for cleaner shutdown and allowing us to pthread_join the miner threads on kill_work().
Kano fac3bf87 2013-05-17T22:06:54 add icarus to hotplug
Kano 9f4a3a79 2013-05-17T15:05:51 Update documentation for icarus switch to USB
Kano 6219f977 2013-05-17T14:10:58 switch icarus configuration to usb
Con Kolivas 4efe9ca8 2013-05-13T22:23:13 Attribute whatever stats we can get on untracked stratum shares based on current pool diff.
Con Kolivas 3f24653f 2013-05-13T22:10:01 Provide a --lowmem option which does not cache shares on failed submission to prevent low memory hardware (eg Avalon) from crashing.
Con Kolivas 1a7a87c2 2013-05-11T20:29:48 Use a discrete device target for scrypt that dynamically changes to ensure we still report a work utility even if no shares are submitted such as in solo mining.
Con Kolivas 2fb6637b 2013-05-11T19:51:43 Make set_work_target a function to set a specified char as target for use elsewhere.
Con Kolivas 0b6ee62c 2013-05-11T19:34:44 Further consolidate the hash regeneration between sha and scrypt doing it only once and always checking the share diff for both before submission.
Con Kolivas 9a76db8d 2013-05-11T17:04:49 Regenerate the hash before checking the share diff in hashtest().
Con Kolivas 79dd9dfe 2013-05-11T16:50:53 Use a scantime of 30 seconds for scrypt if none is specified.
Con Kolivas a923b7d3 2013-05-11T15:25:42 Update the write config to properly record device entries and remove disabled option.
Kano 6cef9f42 2013-05-02T23:32:42 cgminer correct applog typing
Kano 8f08a327 2013-05-02T22:50:25 applog - force type checking
Con Kolivas 8b2118b1 2013-04-28T22:00:39 Clean up summary slightly better on exit.
Con Kolivas 3d835fc3 2013-04-22T19:28:50 Fix build and distdir.
Con Kolivas f4b27907 2013-04-22T14:35:43 Remove all CPU mining code.
Con Kolivas 856aa49c 2013-04-22T10:59:55 Use copy_time helper throughout cgminer.c
Con Kolivas d2abaa83 2013-04-22T10:49:10 Provide wrappers for commonly used timer routines with API stats.
Con Kolivas 170a4aeb 2013-04-22T10:00:34 Avoid one cgtime call in sole_hash_work.
Con Kolivas 4597c0a1 2013-04-22T09:35:48 Provide endian_flipX functions to avoid special casing big endian in cgminer.c
Con Kolivas 8d81f1d2 2013-04-22T09:28:06 Provide a flip128 helper to simplify big endian flipping.
Con Kolivas c351f8d8 2013-04-22T09:23:13 Use flip helpers to simplify code for calculation of midstate.
Con Kolivas f50ae468 2013-04-22T09:08:51 Use flip32 function instead of open coding it in gen_stratum_work.