cgminer.c


Log

Author Commit Date CI Message
Con Kolivas 7b370bb2 2012-04-28T09:19:32 Small cosmetic output alignment.
Con Kolivas 669b0ded 2012-04-28T08:39:06 Add pool number to stale share message.
Con Kolivas 03fab3f4 2012-04-28T00:16:34 Remove thread id display from rejected shares as well.
Con Kolivas 86e94edb 2012-04-27T15:47:21 Set have_longpoll to true when there is at least one pool with longpoll.
Con Kolivas 0365878a 2012-04-27T15:30:42 Don't display the thread ID since it adds no useful information over the device number.
Con Kolivas 08c72108 2012-04-27T15:29:31 Don't display the first 8 bytes of a share since they will always be zero at >= 1 difficulty.
Con Kolivas 501e35a0 2012-04-27T14:02:29 work->longpoll is reset across test_work_current so we need to recheck what pool it belongs to.
Con Kolivas 03abb704 2012-04-27T13:59:43 Use longpolls from backup pools with failover-only enabled just to check for block changes, but don't use them as work.
Con Kolivas 1ab318d0 2012-04-27T13:11:19 Start longpoll only after we have tried to extract the longpoll URL.
Con Kolivas b1c273e7 2012-04-27T12:54:29 Check for submitold flag on resubmit of shares, and give different message for stale shares on retry.
Con Kolivas 5ece966f 2012-04-27T12:47:13 Check for submitold before submitstale.
Con Kolivas ed718b2b 2012-04-27T12:28:51 Don't force fresh curl connections on anything but longpoll threads.
Con Kolivas eda38299 2012-04-27T11:58:47 Create one longpoll thread per pool, using backup pools for those pools that don't have longpoll. Use the work created from the longpoll return only if we don't have failover-enabled, and only flag the work as a longpoll if it is the current pool. This will work around the problem of trying to restart the single longpoll thread on pool changes that was leading to race conditions. It will also have less work restarts from the multiple longpolls received from different pools.
Con Kolivas e502fde5 2012-04-27T11:13:52 Remove the ability to disable longpoll. It is not a useful feature and will conflict with planned changes to longpoll code.
Con Kolivas 8e84abfc 2012-04-26T17:36:19 Merge pull request #184 from luke-jr/bugfix_const_warning Bugfix: Make initial_args a const char** to satisfy exec argument type warning (MinGW)
Con Kolivas 8d8f4ff8 2012-04-26T16:38:17 Merge pull request #182 from kanoi/master api.c 'devdetails' list static details of devices + ZTex ++
Luke Dashjr 90c5ef1f 2012-04-26T14:55:03 Bugfix: Make initial_args a const char** to satisfy exec argument type warning (on Windows only)
Con Kolivas 4cd97326 2012-04-26T23:29:21 Create discrete persistent submit and get work threads per pool, thus allowing all submitworks belonging to the same pool to reuse the same curl handle, and all getworks to reuse their own handle. Use separate handles for submission to not make getwork potentially delay share submission which is time critical. This will allow much more reusing of persistent connections instead of opening new ones which can flood routers. This mandated a rework of the extra longpoll support (for when pools are switched) and this is managed by restarting longpoll cleanly and waiting for a thread join.
Kano b3ac249e 2012-04-26T00:20:16 cgminer.c sharelog code consistency and compile warning fix
Luke Dashjr 4648330c 2012-04-24T21:46:48 Support for share logging
Con Kolivas f5f089f5 2012-04-23T17:40:47 Add a --gpu-map option which will allow arbitrarily mapping ADL devices to OpenCL devices for instances where association by enumeration alone fails.
Con Kolivas 99331991 2012-04-23T09:53:40 Increase upper limit on number of extra items to queue as some FPGA code can't yet reliably keep many devices busy.
Con Kolivas d6edd07c 2012-04-22T21:09:36 Display configuration file information when -c option is passed and only when file exists on loading default config file.
Con Kolivas 6ffdbc3a 2012-04-22T20:50:50 Display configuration file loaded, if any, and debug output if configuration file parsing failed.
Con Kolivas cfe3eb0b 2012-04-22T10:43:31 Merge branch 'master' into ztex Conflicts: configure.ac
Luke Dashjr 0d920697 2012-04-21T03:32:57 Merge branch 'master' into align_temps Conflicts: cgminer.c
Luke Dashjr 657716e5 2012-04-21T02:52:20 Merge branch 'master' into ztex
Con Kolivas 7b947882 2012-04-20T23:41:46 Merge pull request #157 from luke-jr/unify_drivers Unify drivers as driver-*.c and add driver name to API
Con Kolivas 86671f80 2012-04-21T16:39:14 Make the status window and log window as large as can fit on startup, rechecking to see if it can be enlarged after the fact. This allows any number of devices to be displayed provided the window is made long enough without corrupting the output.
Luke Dashjr b8778839 2012-04-21T02:36:19 Merge branch 'master' into unify_drivers Conflicts: cgminer.c
Con Kolivas c7cc2e42 2012-04-21T14:03:41 Merge branch 'master' into ztex
Con Kolivas e08936c3 2012-04-20T15:00:39 Merge pull request #166 from kanoi/master api.c escape required characters in return strings + pools returns the username
Kano 2e1d2017 2012-04-21T03:15:41 API add removepool like the screen interface
Con Kolivas 46faefbe 2012-04-20T21:20:03 Merge branch 'ztex-master' of https://github.com/nelisky/cgminer into ztex
ckolivas b80d22b9 2012-04-20T14:24:58 Increase maximum number of displayed devices to 14, beyond which the screen becomes corrupted.
nelisky 7fe7d18d 2012-04-16T14:14:52 removing unused libusb_context pointer
nelisky 608a5205 2012-03-31T13:13:53 Tweaks to make ztex work on a tp-link router with openwrt
nelisky c3bda2b7 2012-03-14T10:34:29 adding path to libusb include
nelisky 99a188f9 2012-03-11T00:49:25 initial commit with some support for ztex 1.15x board. This version is just a rough draft, but it does alredy mine. Conflicts: cgminer.c configure.ac
Con Kolivas 7c6090fb 2012-04-14T15:48:31 Cache the initial arguments passed to cgminer and implement an attempted restart option from the settings menu.
Con Kolivas f3e43056 2012-04-14T14:11:58 Disable per-device status lines when there are more than 8 devices since screen output will be corrupted, enumerating them to the log output instead at startup.
Con Kolivas dceaa71a 2012-04-14T00:56:31 Make sure to disable devices with any status not being DEV_ENABLED to ensure that thermal cutoff code works as it was setting the status to DEV_RECOVER.
Con Kolivas 0a4a2d9d 2012-03-31T14:39:40 Damping small changes in hashrate so dramatically has the tendency to always make the hashrate underread so go back to gentle damping instead.
Con Kolivas c99c09d3 2012-03-30T06:25:38 Merge pull request #161 from kanoi/master When using '-m' on linux, send the forked process a SIGTERM on exit
Con Kolivas 7f64adc4 2012-03-30T06:25:07 Merge pull request #160 from luke-jr/bugfix_realquiet_2 Bugfix: Skip enabling curses, if --real-quiet or listing devices
Kano f9af5acf 2012-03-30T14:57:18 When using '-m' on linux, send the forked process a SIGTERM on exit
Con Kolivas 88ff55e7 2012-03-29T21:02:42 Use a time constant 0.63 for when large changes in hashrate are detected to damp change in case the large change is an aliasing artefact instead of a real change.
Con Kolivas a1879c80 2012-03-29T20:53:16 Only increment stale counter if the detected stales are discarded.
ckolivas 35de9d1e 2012-03-29T09:35:48 Use slightly more damping on the decay time function in the never-ending quest to smooth off the hashmeter.
Con Kolivas eb4233d5 2012-03-28T04:26:20 Merge pull request #156 from luke-jr/ignore_redundant Ignore redundant-with-build options
Con Kolivas 7458927f 2012-03-28T04:25:54 Merge pull request #155 from luke-jr/no_curses Make curses TUI support optional at compile-time.
Con Kolivas 2beb3500 2012-03-28T04:24:41 Merge pull request #153 from kanoi/master Add API support for Icarus and Bitforce + Icarus fixes ++
Con Kolivas ef1eafa4 2012-03-28T21:58:04 Provide locking around updates of cgpu hashrates as well to prevent multiple threads accessing data fields on the same device.
Con Kolivas fa5e0675 2012-03-28T20:32:49 Display the beginning of the new block in verbose mode in the logs.
Kano eeec9809 2012-03-23T01:50:45 code changes for supporting a simple device history
Luke Dashjr f05a319e 2012-03-18T21:06:47 CGPU API for device names
Luke Dashjr 303dbf46 2012-03-18T20:09:03 Abstract add_cgpu function, to handle device id numbering and devices array
Luke Dashjr c739d0dc 2012-03-13T13:11:55 Merge branch 'bugfix_realquiet' into bugfix_realquiet_2 Conflicts: cgminer.c
Luke Dashjr 03c94c02 2012-03-13T13:10:31 Bugfix: Skip enabling curses, if --real-quiet or listing devices
Luke Dashjr e131dfab 2012-03-13T12:18:23 Unify drivers as driver-*.c and add driver name to API
Luke Dashjr b6ae200d 2012-03-13T09:11:23 Ignore reduntant-with-build options --disable-gpu, --no-adl, and --no-restart
Luke Dashjr ed8382c8 2012-03-12T14:56:05 Make curses TUI support optional at compile-time.
Luke Dashjr 3a003b9a 2012-02-25T14:43:28 Bugfix: Allow enabling CPU even without OpenCL support
Con Kolivas daf1eff1 2012-02-26T00:46:19 Change failed-to-mine number of requested shares messge to avoid segfault on recursive calling of quit().
Con Kolivas 0412ac7c 2012-02-24T14:03:04 Only send out extra longpoll requests if we want longpolls.
Con Kolivas dbb04a69 2012-02-24T13:34:00 Increase the speed of hashrate adaptation.
Con Kolivas de944dfd 2012-02-24T14:03:04 Only send out extra longpoll requests if we want longpolls.
Con Kolivas 50a33aa6 2012-02-23T20:43:18 Consider extra longpoll work items as staged_extra so as to make sure we queue more work if queueing regular work items as longpolls.
Con Kolivas 553d53fc 2012-02-23T17:58:06 Reset all hash counters at the same time as resetting start times to get accurate hashrates on exiting which is mandatory for benchmarking.
Con Kolivas 88a9d83e 2012-02-23T17:54:27 Report thread in during getting of work in benchmark mode.
Con Kolivas 49ba3962 2012-02-23T17:52:01 Report thread out before it starts to avoid being flagged as sick when waiting for the first work item.
Con Kolivas f4df8c82 2012-02-22T21:56:48 Merge pull request #135 from kanoi/master API new commands enablepool and disablepool
Kano 60c5ac68 2012-02-23T16:10:17 API new commands enablepool and disablepool (version already incremented)
Kano 4458f3d5 2012-02-23T13:58:33 Modify cgminer.c pool control to allow API to call it
Con Kolivas 4dd6b649 2012-02-22T15:40:56 Merge pull request #131 from kanoi/master Allow configuration file to include another recursively
Kano ca2b2d9b 2012-02-23T01:44:41 Don't save 'include' when saving the configuration
Kano 915c72d8 2012-02-23T01:31:52 Allow configuration file to include another recursively
Con Kolivas 527e611b 2012-02-23T01:27:36 Fix !HAVE_OPENCL build.
ckolivas 0db998c5 2012-02-22T22:21:18 Add a --benchmark feature which works on a fake item indefinitely to compare device performance without any server or networking influence.
ckolivas d3ad87f5 2012-02-22T20:13:23 Allow writing of multiple worksizes to the configuration file.
ckolivas 1b1fa5cd 2012-02-22T20:08:29 Allow writing of multiple vector sizes to the configuration file.
ckolivas 994cd775 2012-02-22T20:01:09 Allow writing of multiple kernels to the configuration file.
ckolivas 93efb726 2012-02-22T19:38:01 Allow multiple different kernels to be chosen per device.
Con Kolivas 26c59fbf 2012-02-22T16:59:28 Allow the worksize to be set per-device.
Con Kolivas deff55c6 2012-02-22T16:54:06 Allow different vectors to be set per device.
Con Kolivas bca9814d 2012-02-22T11:50:35 Reset times after all mining threads are started to make estimating hashrates easier at startup.
Con Kolivas d1cddf8b 2012-02-21T22:23:07 Update licensing to GPL V3.
Con Kolivas 882e4d85 2012-02-21T03:14:20 Merge pull request #123 from xiangfu/icarus Add Icarus Support to Cgminer
Con Kolivas 2f3a4a47 2012-02-21T21:56:30 Reset the longpoll flag after it's been used once to prevent it restarting work again.
Con Kolivas 2ca8d38e 2012-02-21T02:49:25 Merge pull request #124 from kanoi/master API commits - IP 0/0 means all, add "Log Interval" to config, restrict access to modify commands
Con Kolivas 00290a3e 2012-02-21T21:31:31 Select diablo kernel on all but GCN+SDK 2.6.
Kano e3281c26 2012-02-21T20:03:13 When API shuts down cgminer don't kill itself
Con Kolivas af7368da 2012-02-21T16:43:24 Don't make rolled work from the longpoll be seen as other longpoll work items.
Con Kolivas f4284a21 2012-02-21T09:20:31 Set the lp_sent variable under lock since there will almost always be a race on setting this variable, potentially leading to multiple LPs being sent out.
Con Kolivas 89b32b17 2012-02-20T09:28:01 Officially support diakgcn in code and docs.
Con Kolivas fe4b5e1f 2012-02-20T08:24:41 Set the lp_sent bool earlier to minimise the number of extra longpolls sent out.
Xiangfu f46c2b28 2012-02-13T16:09:45 add icarus to cgminer.c
Con Kolivas 3cdac04f 2012-02-19T23:13:02 Flag the pool that is the longpoll thread to avoid sending multiple longpolls during the slight delays between requesting and setting the lp_sent flag.
Con Kolivas 56baa874 2012-02-19T22:19:59 Make sure to request on the lp url when requesting a longpoll indrectly via get upstream work.
Con Kolivas 79e95dd9 2012-02-19T22:15:55 Store whether a work item is the result of a longpoll or not in struct work and use it to help determine block changes directly from the work longpoll bool.