Commit graph

284 commits

Author SHA1 Message Date
pooler
3737e48b40 Skip compilation of unused assembly sources 2013-10-04 14:58:03 +02:00
pooler
93120a697d Include inttypes.h instead of stdint.h
stdint.h is unavailable on some systems, such as Solaris 8
2013-07-12 18:41:47 +02:00
pooler
ad88e35f54 Version 2.3.2 2013-07-10 15:49:50 +02:00
pooler
e878267239 Add AVX2-enabled functions for x86-64 2013-07-05 18:27:49 +02:00
pooler
44d4815b01 Explicitly flush stderr in applog() 2013-07-04 15:23:10 +02:00
pooler
7e8ce9c8dd Avoid the use of Stratum in benchmark mode 2013-07-03 18:09:55 +02:00
pooler
236e338463 Do not log per-thread CPU affinity in quiet mode 2013-07-03 17:28:43 +02:00
pooler
092c3fc196 Make benchmark data more realistic 2013-07-03 01:50:39 +02:00
pooler
dc20ebf2d6 Fix array index out of bounds in sha256d() 2013-06-24 23:07:07 +02:00
pooler
0523c798ea Version 2.3.1 2013-06-18 11:42:51 +02:00
pooler
d43247beba Accept any non-false result for mining.authorize 2013-06-17 12:38:02 +02:00
pooler
bb4b48bb95 Fix hash endianness for SHA-256d 2013-06-16 00:00:55 +02:00
pooler
fcd1162865 Avoid passing NULL to strcmp() in stratum_thread() 2013-06-15 14:10:32 +02:00
pooler
805ea94a4d Merge commit 'b6f26e1' from martinwguy/master
Add "cert" option for rpc server's self-signed SSL certificate
2013-06-13 21:50:47 +02:00
pooler
1bf8c63bb8 Version 2.3 2013-06-12 15:00:13 +02:00
pooler
4aa1c3718e Ignore getwork errors when switching to Stratum 2013-06-10 11:50:40 +02:00
pooler
7528a95fe1 Perform global libcurl initialization
curl_easy_init() is not thread-safe unless curl_global_init() has
already been called.
It seems that SSL initialization is slow on Windows, so only do that
if the mining server has to be accessed via HTTPS.
Thanks to @martinwguy for pointing this out.
2013-06-09 18:21:39 +02:00
pooler
f80163ec4c Replace sscanf() with strtol() in hex2bin() 2013-06-09 16:07:51 +02:00
pooler
c4a5f64019 Ignore configure.lineno and config.status.lineno 2013-06-09 16:04:10 +02:00
pooler
ee7b535ea6 Add Stratum support 2013-06-09 01:13:28 +02:00
Martin Guy
b6f26e1acc Add "cert" option for rpc server's self-signed SSL certificate
When minerd is used across the internet, the server's rpc userpass
travel unexcrypted, allowing anyone en route to copy them and
empty the server's wallet. Using https: would prevent this
but minerd's SSL connection fails on self-signed certificates.

This change adds a "-cert file" option (cert:"file" in minerd.conf)
to tell minerd the filename of the server's self-signed certificate.
2013-06-08 15:56:28 +02:00
pooler
3c4eb509a5 Merge pull request #19 from lye/freebsd-cpu-pinning
Add FreeBSD support for setting CPU affinity.
2013-05-21 13:06:54 -07:00
lye
0df168cc6f Add FreeBSD support for setting CPU affinity. 2013-04-17 00:17:27 -05:00
pooler
d35050c05a Merge branch 'freebsd-avx-support' of https://github.com/lye/cpuminer 2013-04-14 22:07:48 +02:00
lye
fc95960057 Recognize amd64 installs as 86_64 arches.
FreeBSD calls x86_64 "amd64", so this allows allows FreeBSD installs to
have AVX/XOP support without any significant modifications -- it should
be noted that the base install of gcc doesn't actually have support,
but a later version from ports can be installed by the user and chosen
via e.g., `CC=/usr/local/bin/gcc48`.
2013-04-13 13:03:26 +00:00
pooler
8f8a4b1210 Update download URL 2013-04-06 11:43:06 +02:00
pooler
6f6b99c0e7 Tweak the User-Agent header to comply with RFC 2616 2013-03-24 15:34:21 +01:00
pooler
5b9fd9c731 Allow specification of username in URL 2012-08-21 18:07:42 +02:00
pooler
b53230ce9b Version 2.2.3 2012-08-05 17:46:41 +02:00
pooler
5704acfa28 Add a --benchmark option for offline testing 2012-08-05 17:07:07 +02:00
pooler
3419ca2607 Add optimized ARM NEON code for scrypt and SHA-256d 2012-08-04 18:21:34 +02:00
pooler
4fd1ef6383 Add duration of getwork requests to debug output 2012-08-04 00:14:26 +02:00
pooler
8d7a870479 Add support for the X-Reject-Reason extension 2012-06-13 01:08:20 +02:00
pooler
364051e8f3 Allow libcurl to rewind the upload buffer 2012-06-11 18:42:12 +02:00
pooler
66f14094d0 Reorder a few instructions in the AVX version of scrypt 2012-06-10 23:21:18 +02:00
pooler
292967ea16 Version 2.2.2 2012-06-07 22:39:04 +02:00
pooler
2a421866a1 Set the priority of miner threads to idle on Windows 2012-06-07 00:22:23 +02:00
pooler
1b4d317966 Fix redefinition of alloca when compiling with MinGW-w64 2012-06-05 00:02:36 +02:00
pooler
6df33f0685 Add optimizations for ARMv5E and later processors 2012-06-04 14:33:08 +02:00
pooler
d290e317be Avoid 3-way scrypt on AMD Bobcat 2012-06-04 01:10:53 +02:00
pooler
1608a0f1e4 General optimizations for scrypt on x86-64 2012-06-04 00:15:32 +02:00
pooler
eb808402f2 Set symbol type for global functions on ARM
Fixes ARM thumb support on Debian armhf
2012-06-03 01:06:26 +02:00
pooler
003d1f1f84 Use _SC_NPROCESSORS_CONF instead of _SC_NPROCESSORS_ONLN 2012-06-02 14:53:54 +02:00
pooler
21cba02b78 Do not set thread affinity on single-processor systems 2012-06-02 14:45:07 +02:00
pooler
5b82b834a6 Performance tweaks for AMD K8 and Intel Atom 2012-05-28 23:38:46 +02:00
pooler
29d64a8b6f Avoid 3-way scrypt on Intel Atom 2012-05-26 19:59:46 +02:00
pooler
ee7630edfd Reorder SSE2 instructions for better performance 2012-05-26 17:04:49 +02:00
pooler
9ea6df402e Add an option to start minerd as a daemon 2012-05-05 14:35:46 +02:00
pooler
bce27720e0 Version 2.2.1 2012-05-02 21:37:54 +02:00
pooler
73ab48b5fd Reschedule ARM instructions for dual issue 2012-05-01 12:05:56 +02:00