Con Kolivas
0f351d8466
Always log warnings and error messages.
14 years ago
Con Kolivas
0a80d4b04d
Display the output as a refreshing line and only push continuous log to stderr if desired.
14 years ago
Con Kolivas
af6e7937ca
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.
14 years ago
Con Kolivas
13b43cfad1
Update copyright and authors.
14 years ago
Ycros
9fe2106467
Fixed up using config.h instead of cpuminer-config.h.
14 years ago
Con Kolivas
ffdffe77d3
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.
14 years ago
Con Kolivas
4cd5f47efa
Revert "Multiple compiler warning fixes."
...
This reverts commit a5cbfbde2610e9f60e14b41a4e0595bcb34c772a.
Broke.
14 years ago
Con Kolivas
88761e6cf2
Multiple compiler warning fixes.
14 years ago
Jeff Garzik
6a3b05e650
jansson 2.x compatibility
14 years ago
Jeff Garzik
7ff1280bbb
util: correct off-by-one in month display
14 years ago
Jeff Garzik
a7d9f31747
Add User-Agent header to each HTTP request
14 years ago
Jeff Garzik
2fd9d54443
Convert remaining [f]print to applog().
...
Also, remove a few superfluous printouts.
14 years ago
Jeff Garzik
24afd61775
Introduce more standardized logging (incl. optional syslog).
...
Also, improve portability of alloca.
14 years ago
Jeff Garzik
7a87bee999
Add long polling support
14 years ago
Jeff Garzik
0258fae450
Fix Windows build, that broke with yasm integration
14 years ago
Jeff Garzik
4f7a51e9ed
Move all RPC I/O to separate thread.
14 years ago
Jeff Garzik
d4ddd315b1
Make CURL follow redirects.
...
Suggested by prcarter.
14 years ago
Jeff Garzik
b2372e70f0
Turn off target testing for release, as some strange results appeared.
14 years ago
Jeff Garzik
c0935a9489
Re-use CURL object, thereby caching DNS and HTTP connections where possible.
14 years ago
Jeff Garzik
51eb1b4ef9
Move verbose proof-of-work/target comparison display into -D (debug)
14 years ago
Jeff Garzik
714c0fd7c9
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.
14 years ago
Jeff Garzik
c68ffb30dd
Display proof-of-work hash when one is discovered
14 years ago
Jeff Garzik
2f9a6deef9
Improve CURL HTTP request error diagnostics.
14 years ago
Jeff Garzik
9e5a173c38
Improve JSON-RPC result/error checking, and improve error diagnostic output.
14 years ago
Jeff Garzik
35ea649d97
Improve hash performance statistics.
14 years ago
Jeff Garzik
945be82ea1
Move utility routines to util.c.
14 years ago