Commit graph

344 commits

Author SHA1 Message Date
pooler
e560d53b76 Add 4-way SHA-256 implementation for x86-64 2012-02-28 18:10:26 +01:00
pooler
1f15a1f672 Add proxy support 2012-02-26 01:34:58 +01:00
pooler
0ce674668c Add TCP keepalive to long polling connections 2012-02-25 22:22:45 +01:00
pooler
fc5435e338 Allow unauthenticated mining 2012-02-24 21:06:10 +01:00
pooler
922ce0b92e Version 2.1.3 2012-02-12 23:47:20 +01:00
pooler
61392dc673 Support for "submitold" extension to long polling 2012-02-12 19:50:59 +01:00
pooler
131d5a2374 Add smart handling of long polling failures
Switch to short scan time if long polling fails, and try
to reactivate it only if the server continues to advertise
the feature in HTTP headers.
2012-02-12 03:23:06 +01:00
pooler
46fe063865 Eliminate the delay between starting threads
This is no more needed since miner threads share the result
of the same getwork request.
2012-02-11 15:19:31 +01:00
pooler
a605a2ae4d Throw an error if non-option arguments are supplied 2012-02-11 02:32:49 +01:00
pooler
9435078a8e Extract username and password specified in URL 2012-02-11 01:42:57 +01:00
pooler
6599e7d1a7 Only detect the number of processors once 2012-02-11 00:09:50 +01:00
pooler
0b706173ca Clean up --help output 2012-02-10 03:25:35 +01:00
pooler
b25730c8f7 Add a --version option 2012-02-09 15:19:32 +01:00
pooler
4d2ee802cd Do not skip submission of old work
This increases compatibility with p2pool
2012-02-08 15:47:32 +01:00
pooler
9ba5e94d3d Make the hashmeter thread-safe 2012-02-05 18:17:24 +01:00
pooler
80db6655c6 Remove a double test when testing the full hash 2012-02-05 18:04:58 +01:00
pooler
80412755bd Handle empty responses properly 2012-02-03 23:47:04 +01:00
pooler
9ce0db5100 Add "X-Mining-Extensions: midstate" to HTTP headers
Drop support for the the deprecated "midstate" and "hash1" fields.
2012-02-01 03:59:08 +01:00
pooler
d26b0d8b81 Version 2.1.2
- Do not submit work that is known to be stale
- Allow miner threads to ask for new work if the current one is at least
  45 seconds old and long polling is enabled
- Refresh work when long polling times out
- Modify x86-64 code to make it compatible with older versions of
  binutils
2012-01-26 14:31:07 +01:00
pooler
1628975469 Fix minor speed regression on some microarchitectures 2012-01-22 16:08:12 +01:00
pooler
e751fb6bbd Version 2.1.1 2012-01-21 00:42:17 +01:00
pooler
14f953e0f8 Handle network errors properly 2012-01-21 00:31:51 +01:00
pooler
35ae813dc8 Add missing mutex initialization 2012-01-19 17:36:42 +01:00
pooler
0426d3ace0 Drastically increase getwork efficiency 2012-01-19 16:25:01 +01:00
pooler
e0dc6649e1 Version 2.0
- Test the whole hash instead of just looking at the high 32 bits
- Set idle priority on Windows
- Fix parameters -u and -p, and add short options -o and -O
- Fix example JSON configuration file
2012-01-17 00:38:06 +01:00
pooler
a4d636a645 Add 3-way scrypt implementation 2012-01-11 14:52:04 +01:00
pooler
476e2325ee More optimization for x86 and x86-64, including AMD K10 2012-01-03 13:11:43 +01:00
pooler
31c3074537 Fix endianness-sensitivity 2011-12-29 19:03:18 +01:00
pooler
703d58cd82 Reorder a few instructions 2011-12-28 19:37:34 +01:00
pooler
36225b4206 Some more optimization 2011-12-24 12:22:06 +01:00
pooler
963efb9546 Fix minor bugs
Change default port to 9332 and remove default credentials
Add share summary output
2011-12-21 04:31:56 +01:00
pooler
3c3cde63f1 Add optimized code for x86 and x86_64 2011-12-18 22:41:16 +01:00
pooler
e245bc2d9e Fix timeout bug 2011-12-16 18:01:45 +01:00
pooler
45024f12f1 Add configurable timeout 2011-12-04 22:55:30 +01:00
Art Forz
99084f8be4 Make scantime retargeting less granular 2011-10-08 04:35:56 +02:00
Art Forz
0941296571 Rearrange order of operations in scrypt salsa20
3.73kH/s/core on a 3.6GHz PhenomII compiled with gcc 4.6.1 and CFLAGS="-march=amdfam10 -O3"
2011-10-06 22:37:31 +02:00
Art Forz
a8a1f3f8d4 Mangle scrypt some more
3.62kH/s/core on a 3.6GHz PhenomII compiled with gcc 4.6.1 and CFLAGS="-march=amdfam10 -O3"
2011-10-06 03:34:47 +02:00
Art Forz
383482e0a6 Rip out sha256 algos 2011-10-01 13:20:36 +02:00
Art Forz
f4fdf27b6c Hopefully fix jansson compatiblity 2011-10-01 10:15:38 +02:00
Art Forz
2a05bdd14c Horribly mangle scrypt.c
amd64 linux speedup from 2.02 to 2.67 kH/s with default options, from 2.59 to 3.24kH/s with -O3
2011-10-01 08:09:07 +02:00
Art Forz
cd0b57640c Unbreak longpolling for scrypt 2011-10-01 07:35:54 +02:00
Lolcust
de7455797e Tweaked to be slightly easier to use with Tenebrix, tested. 2011-09-26 01:04:58 +03:00
Art Forz
ac92e27c8e add scrypt function 2011-09-20 12:20:26 +02:00
Jeff Garzik
602e31b96c Version 1.0.2. 2011-06-14 02:40:24 -04:00
ckolivas
2a7ac1bce7 Cope with older linux kernel headers that don't have the newer scheduling policies defined. 2011-06-14 02:35:59 -04:00
Jeff Garzik
994c700ff4 Fix number-of-threads init logic on Windows 2011-06-09 03:47:07 -04:00
Jeff Garzik
0091c4e128 only read processor count via sysconf on non-Windows platforms 2011-06-08 22:30:10 -04:00
Jeff Garzik
84ae273db9 Merge pull request #22 from chrissicool/master
Fix include path of libcurl headers
2011-06-08 18:59:09 -07:00
Jeff Garzik
48a888dbfb Merge pull request #23 from ckolivas/master
Here's my x86_64 and linux optimisations. Hopefully shouldn't break other OSs now.
2011-06-08 18:58:01 -07:00
ckolivas
8a832eeab5 Linux + x86_64 optimisations.
Add likely() macro.
Optimise a few obvious code paths with likely/unlikely.
Change algo to sse2_amd64 by default.
Move priority change to worker threads only.
Detect number of CPUs and set default number of threads == CPUs.
Add scheduling policy change to worker threads to SCHED_IDLE first and fallback to SCHED_BATCH on linux.
Don't error when failing to set priority.
Add CPU affinity and bind worker threads to CPUs when number of threads is a multiple of number of CPUs.
Update NEWS with changes.
2011-06-09 11:45:06 +10:00