thodg/cgminer

Branch :


Log

Author Commit Date CI Message
8ec2dcc9 2011-07-13 16:49:44 Mingw suseconds_t and sigaction fixes. Added typedef for suseconds_t for systems without this defined. Added signal/sigaction from gnulib because mingw is missing these.
3d900e7b 2011-07-14 11:47:56 Initialise gpu_ms_average.
ba4ba7f6 2011-07-14 11:26:56 Only restart threads that are not stuck waiting on lp staged work, and add one mandatory queued work item for each restart.
7e38a37a 2011-07-14 11:05:12 Fix compiler warnings.
20b3e07f 2011-07-14 11:03:14 Implement signal handler and clean up properly.
02cd113c 2011-07-14 10:13:22 Tidy up display.
7d517dcf 2011-07-14 01:50:20 Conflicting options with -n. Change ndevs to -e for enumerate devices.
8375d1a2 2011-07-13 15:22:06 Add a dynamic flag that tries at all times to maintain the desktop interactive and make it possible to disable it for dedicated miners.
22c70a23 2011-07-13 12:13:46 Bump version.
56d830a2 2011-07-13 12:08:43 Trivial.
a8b39bcb 2011-07-13 12:07:16 Make the status window maximum width to begin with.
3a968490 2011-07-13 12:05:04 Turn the wakeup thread into a watchdog thread that checks when the last time a thread reported in was and restarts the thread if it has been idle for more than a minute.
c23827cb 2011-07-13 10:51:01 Update the per-thread view as well to not miss dead threads.
81f8af85 2011-07-13 10:42:12 Cope with servers that regularly drop the longpoll connection.
e335d521 2011-07-13 09:59:02 Cope with servers that return empty bodies that would otherwise crash jansson.
4de3f32a 2011-07-13 00:58:13 Move to newer jansson library.
da2bba3e 2011-07-12 23:08:02 Initialise it to localid.
b4bfeb5f 2011-07-12 22:45:34 Bump version number in light of new kernel and build system that finally works fully.
24fa8202 2011-07-12 22:38:47 Revert "Longpoll is not supposed to use POST and this could be leading to longpoll failures." This reverts commit ad0be6cfbe9eb0256f78ce50f0c0d99c1be5d925. Wrong fix and probably an inappropriate thing to do anyway.
0b572663 2011-07-12 22:37:07 Merge branch 'newphat' into cgminer
bb4deaa2 2011-07-12 22:36:30 strcat in longpoll thread can write outside of longpoll_block so cat them all in main().
857902a1 2011-07-12 22:23:03 Commit a new phatk kernel renamed to force new binary building and add proper support in makefiles.
86bc0426 2011-07-12 19:28:48 Remove unused variable.
10d66b24 2011-07-12 19:28:24 Fix isatty being undefined.
941768e3 2011-07-12 19:22:45 Bump version number.
7b9b0781 2011-07-12 19:19:00 Change get_work to use a timeout when trying to tq_pop as a sanity failsafe in case of unusual circumstances.
222d4ee6 2011-07-12 17:29:59 Make curses completely inactivated in quiet mode and do not update curses code in wakeup thread when curses is inactive.
ad0be6cf 2011-07-12 17:16:08 Longpoll is not supposed to use POST and this could be leading to longpoll failures.
76b233a5 2011-07-12 17:03:13 Implement locking around curses updates to avoid screen corruption and refresh both windows fully regularly from the wakeup thread which wakes up infrequently to not be too cpu intensive.
6d4476bb 2011-07-12 00:54:42 Use correct variable in initialisation.
c3566d3f 2011-07-12 00:36:06 Bump version number to clarify bugfixed nature.
ccf2ea91 2011-07-12 00:33:08 Convert the log and status portions of the screen to two separate ncurses windows for simpler cleaner output.
c59e2ab8 2011-07-11 22:57:17 Avoid possible divide by zero.
43ef5f5d 2011-07-11 22:45:19 Get rid of the flaky time_lock and use the thread safe localtime_r instead.
c836b5bf 2011-07-11 22:18:10 Don't try to find where the cursor is and just set it to the last line for logcursor.
231cd4fd 2011-07-11 22:07:17 va list needs to be copied as it's invalidated either way.
73a864c5 2011-07-11 21:56:34 vfprintf invalidates the va args so do it after the curses output.
a1ffba82 2011-07-11 21:22:22 Refresh the display on every commit to applog since detecting bottom of the screen may be unreliable.
78ed386b 2011-07-11 21:20:48 Delay any threads from starting till everything is set up properly.
b93e6a42 2011-07-11 17:57:54 Show all devices even if only selected are enabled.
505b1859 2011-07-11 16:56:28 Merge https://github.com/ycros/cgminer into cgminer
215ee790 2011-07-11 16:52:18 thr_id can be successful as -1 which is wrong and could lead to a crash.
386489a1 2011-07-11 14:56:17 Added support for pdcurses.
92e04f47 2011-07-11 13:46:01 Make clear for multiple GPUs.
1549a3e9 2011-07-11 13:42:22 Bump version number for updated display.
90839cdf 2011-07-11 13:41:31 Implement a completely curses based display and don't output to stderr when log is enabled unless it's redirected away from the terminal.
f12edd2f 2011-07-10 23:07:53 Keep track of number of mining threads explicitly and only enforce that many work items on new block work.
35656341 2011-07-10 22:32:17 Show communication error once only on failure.
94fdff9a 2011-07-10 20:17:09 Fix help typo.
75888a1f 2011-07-10 20:14:28 Implement device selection(s) with -d.
4bb13bda 2011-07-10 14:03:03 Increment version number.
fbcd2942 2011-07-10 14:02:23 Really correct the staged count logic failure.
82cac388 2011-07-10 12:59:32 Logic failure meant the longpoll fake staged were never removed. This would lead to idle periods and may have even caused complete idle failures.
8af98be7 2011-07-10 01:01:34 Make the utility demonstrated relative to each device when showing per-device work submissions.
6464dbfc 2011-07-10 00:53:48 Implement per-device request count to have a per-device efficiency and request status.
0c910673 2011-07-10 00:30:12 Set max preferred size to 256 to prevent lying cards from crashing when no worksize is set.
3d9f244e 2011-07-09 17:30:54 Make all applog at least 80 columns wide obviating the need for spaces at the end of select messages to clear the status line.
5e6b8076 2011-07-09 17:12:12 Tidy output.
1c924789 2011-07-09 17:11:22 Make sure to set first work as mandatory instead of generating work locally from it.
102c4d40 2011-07-09 17:06:30 Give meaningful message on submission failure and resumption instead of spam.
cd8140a1 2011-07-09 16:55:32 Merge https://github.com/ycros/cgminer into cgminer
fe6e212f 2011-07-09 16:55:17 Bump version number.
05355d3c 2011-07-09 16:10:35 Fix occasional crash when performing json rpc calls.
f20e25e0 2011-07-06 19:46:02 Moved pthread mutex inits up, due to applog using a mutex causing a crash. Added Win32 compatability to opt.c.
a5fb85ef 2011-07-09 12:39:08 Fixed WIN32 compilation with byteswap.
c9bbaec3 2011-07-09 10:18:29 Cope with delays in retrieving work from the server by knowing when we have run out of staged work. Once we are out of staged work, roll the ntime forwards in the work to generate work locally without a getwork. Display a message explaining when we move to/from local generation to server retrieval. Make sure we don't think we've run out of work transiently after a longpoll by flagging a buffer of fake staged work.
3126002b 2011-07-08 20:27:12 When shares come frequently on more powerful mining hardware the status line doesn't appear for very long and gets drowned out by share information. Cache the output and display it after each share submission.
826cc480 2011-07-08 11:58:04 Opcode should be ULL.
a8be6851 2011-07-08 11:53:40 Formalise the extra work item that the wakeup thread acts as a watchdog for.
732baa18 2011-07-08 06:12:38 Use the wakeup thread as a watchdog to ensure we don't fall between the holes of queue and dequeue.
37382565 2011-07-07 15:04:54 Add warning about NVIDIA cards.
9304ebc6 2011-07-07 14:52:32 Add display information to README.
a4f04773 2011-07-07 14:39:27 Update build instructions.
bb492874 2011-07-07 14:29:39 Make longpoll aware of when new block detection has detected a new block first and avoid flushing the work queue twice.
186666d3 2011-07-07 10:43:52 Prevent buffer overflow.
25bebf3b 2011-07-07 10:31:36 Make the output line much terser now that it has a lot of information on it.
1b235517 2011-07-07 10:04:37 Merge branch 'cgminer' into mfontani Conflicts: main.c
ed233e8c 2011-07-07 09:58:26 Put work into a staging area which makes it possible to check the latest work data received. Then check the latest work data against a store of the current_block and use it to determine if we have moved to a new block. This makes --no-longpoll work just as efficiently as longpoll, and works around when longpoll is unreliable.
c815de49 2011-07-05 08:29:13 Add "efficiency" and "utility" Efficiency is the percentage of getworks compared to the amount of work requested from the pool. It can go higher than 100% in case more shares than getworks were found. Some pools prefer miners to have a high efficiency; CPU miners likely exhibit a low efficiency. Utility is the number of shares found per minute, since the miner was started. It is another way to describe the effectiveness of a miner.
efebee5a 2011-07-06 16:47:29 Fix the case where there are no GPUs, and exit if they give errors. If there are no GPUs, set nDevs to 0 not -1 (status is set to an unhelpful -1001 here on my laptop, so we can't rely on a particular status value). Also, if nDevs is -1, exit rather than screwing up later.
8b68dc44 2011-07-06 16:47:29 Fix --ndevs/-n option. The option should be called from within the callback, and just use printf to give the raw result, rather than using applog which prepends a timestamp.
8d25df3c 2011-07-06 16:47:29 Cleanup --cpu-threads/-t logic Currently it gets negated which means the default printed is wrong. Use an explicit flag to tell if the user has overridden it; if they haven't, and they turn off the GPUs, reset it to num_processors.
3e818121 2011-07-06 16:47:29 Use ccan/opt for commandline parsing. This cleans up option handling, by using ccan/opt rather than handcoded getopt_long. We still have to open-code some things, such as json config file handling. The main change is that the --config option causes a file to be parsed during commandline parsing, so you can override the results, and provide multiple of them. Other improvements are that 'help' and 'ndevs' are not valid arguments in the config file; we use a separate argument table for such commandline-only flags.
5a83cc2d 2011-07-06 16:47:29 ccan: downgrade ccan/opt license from GPLv3 (or later) to GPLv2 (or later) As sole author, I can do this. But as far as I know, the GPLv3 is just a better GPL, and I prefer it.
a0d14d15 2011-07-06 16:47:25 ccan: add ccan/opt and dependencies to build.
e2d912eb 2011-07-06 16:44:36 vapplog: new helper function for reporting errors.
5969d65a 2011-07-06 15:57:50 First work for each thread is now queued in advance.
e9a397d4 2011-07-06 15:56:30 More space to wipe old text.
e9906980 2011-07-06 15:40:12 Fix the extra work queued every longpoll by queueing it all in the beginning.
719deb3a 2011-07-06 14:20:18 Create a wakeup thread that keeps the hashmeter going in case the mining threads all stall.
ddae5aa9 2011-07-06 13:29:01 Remove unused variable.
837e7b1a 2011-07-06 13:28:29 Remove unused cgpu rolling_local variable.
93800e57 2011-07-06 13:19:56 More output tidy.
56eee5f0 2011-07-06 13:16:47 Retry should get_work() fail for whatever reason.
07f6de8b 2011-07-06 13:05:57 Change ifdef order since batch is always defined if idle is.
cf1e4627 2011-07-06 13:04:35 Give error messages at all points of failure.
0f351d84 2011-07-06 12:57:38 Always log warnings and error messages.
ed7e5bf9 2011-07-06 12:51:12 There is still potential for an uneven number of queued and dropped work items with this unnecessarily complex check. Flush work guarantees a symmetrical number of queue and discard already.
69d8df64 2011-07-06 08:59:51 More cleaning of output with detecting new block.
4800832b 2011-07-06 08:31:06 Import updated asm for cpu mining based on ufasoft assembly.