Commit graph

273 commits

Author SHA1 Message Date
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
pooler 023a0f2a12 Add optimized code for ARM11 processors 2012-04-29 16:38:23 +02:00
pooler ff69f18995 Rename time_lock to avoid name conflict on AIX 2012-04-16 00:37:09 +02:00
pooler 858601d91f Use getopt() if getopt_long() is not available 2012-04-08 23:28:54 +02:00
pooler 654a23904b Use syslog() instead of vsyslog()
vsyslog() is not available on AIX and other platforms.
2012-04-08 20:32:44 +02:00
pooler e0867338ab Check for <sys/endian.h> functions in configure
On NetBSD stdlib.h indirectly includes sys/endian.h, causing the
(be|le)32(enc|dec) functions to be already defined.
2012-04-08 00:33:56 +02:00
pooler 3151311af0 Check for <sys/sysctl.h> in configure
Also check for <sys/param.h>, which is a prerequisite on OpenBSD
2012-04-07 14:55:50 +02:00
pooler 132863599c Change comment style in .S files 2012-04-06 19:53:48 +02:00
pooler 83652d0787 Version 2.2 2012-04-02 21:12:11 +02:00
pooler ca34d624f6 Fix 4-way and 12-way scrypt 2012-04-02 18:24:55 +02:00
pooler 80c762b0da Reduce register usage in 4-way SHA-256 2012-04-01 19:39:01 +02:00
pooler 7ca71eb324 Make full use of 4-way SHA-256 in scrypt 2012-04-01 00:56:41 +02:00