util.c


Log

Author Commit Date CI Message
Con Kolivas 90839cdf 2011-07-11T13: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.
Con Kolivas 35656341 2011-07-10T22:32:17 Show communication error once only on failure.
Con Kolivas 3d9f244e 2011-07-09T17: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.
Ycros 05355d3c 2011-07-09T16:10:35 Fix occasional crash when performing json rpc calls.
Con Kolivas bb492874 2011-07-07T14:29:39 Make longpoll aware of when new block detection has detected a new block first and avoid flushing the work queue twice.
Rusty Russell e2d912eb 2011-07-06T16:44:36 vapplog: new helper function for reporting errors.
Con Kolivas 0f351d84 2011-07-06T12:57:38 Always log warnings and error messages.
Con Kolivas 0a80d4b0 2011-07-05T22:04:54 Display the output as a refreshing line and only push continuous log to stderr if desired.
Con Kolivas af6e7937 2011-07-05T10:42:11 Signal handling in dns lookup code is responsible for libcurl crashes when multithreading. Disable signal handling and use many curl handles instead, thus making work more asynchronous. Theoretically a curl can wait forever on a dns lookup with this but it's extremely unlikely.
Con Kolivas 13b43cfa 2011-07-03T00:28:51 Update copyright and authors.
Ycros 9fe21064 2011-06-25T08:18:29 Fixed up using config.h instead of cpuminer-config.h.
Con Kolivas ffdffe77 2011-07-02T12:12:35 Make sure the work gets attributed to the correct gpu. Add an fflush to stderr to minimise garbled output when multiple threads write at once.
Con Kolivas 4cd5f47e 2011-06-23T21:09:22 Revert "Multiple compiler warning fixes." This reverts commit a5cbfbde2610e9f60e14b41a4e0595bcb34c772a. Broke.
Con Kolivas 88761e6c 2011-06-23T21:04:29 Multiple compiler warning fixes.
Jeff Garzik 6a3b05e6 2011-05-09T22:10:16 jansson 2.x compatibility
Jeff Garzik 7ff1280b 2011-04-11T17:32:25 util: correct off-by-one in month display
Jeff Garzik a7d9f317 2011-03-22T13:58:32 Add User-Agent header to each HTTP request
Jeff Garzik 2fd9d544 2011-03-21T04:02:13 Convert remaining [f]print to applog(). Also, remove a few superfluous printouts.
Jeff Garzik 24afd617 2011-03-18T17:24:16 Introduce more standardized logging (incl. optional syslog). Also, improve portability of alloca.
Jeff Garzik 7a87bee9 2011-03-18T02:53:13 Add long polling support
Jeff Garzik 0258fae4 2011-03-14T23:36:28 Fix Windows build, that broke with yasm integration
Jeff Garzik 4f7a51e9 2011-03-14T23:17:34 Move all RPC I/O to separate thread.
Jeff Garzik d4ddd315 2011-03-02T22:06:25 Make CURL follow redirects. Suggested by prcarter.
Jeff Garzik b2372e70 2011-02-12T19:57:50 Turn off target testing for release, as some strange results appeared.
Jeff Garzik c0935a94 2011-02-10T00:41:44 Re-use CURL object, thereby caching DNS and HTTP connections where possible.
Jeff Garzik 51eb1b4e 2011-02-04T11:53:51 Move verbose proof-of-work/target comparison display into -D (debug)
Jeff Garzik 714c0fd7 2011-02-03T00:46:55 Continue scanhash, even if high 32 bits are zero. Previously, we would stop the scan if the high 32 bits of the hash were zero, as a quick shortcut for testing the full hash. If this quick test succeeded, we would pass the work to the server for full validation. Change this logic to perform full validation inside minerd, so that work may be resumed more quickly if hash > target.
Jeff Garzik c68ffb30 2011-02-02T18:47:04 Display proof-of-work hash when one is discovered
Jeff Garzik 2f9a6dee 2010-12-28T17:13:59 Improve CURL HTTP request error diagnostics.
Jeff Garzik 9e5a173c 2010-12-28T15:22:53 Improve JSON-RPC result/error checking, and improve error diagnostic output.
Jeff Garzik 35ea649d 2010-11-26T23:12:24 Improve hash performance statistics.
Jeff Garzik 945be82e 2010-11-25T04:03:59 Move utility routines to util.c.