[ANN] PTSPool.com – 世界最大的原型股矿池

Started by hibitcoin, November 08, 2013, 02:08:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alexxy

Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

jovani75

Quote from: alexxy on November 08, 2013, 08:54:06 PM
It will be cool if it can show current hpm and may be a little bit optimized

Next release perhaps?

alexxy

It will be cool if it can show current hpm and may be a little bit optimized
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

kenpodragon

this allows you to run one instance and get some wicked hashrates.

rando

What the difference between using this versus using ./protosharesd -gen? It is faster or better somehow?

Wolf0

Quote from: arubi on November 08, 2013, 08:47:04 AM

Last edit :

I managed to compile under linux. Here's what I did

clone the git repository
1) clone the git repo
git clone https://github.com/wangchun/cpuminer.git
cd cpuminer

2) install dependencies
sudo apt-get install libcurl3 libcurl4-openssl-dev automake autoconf libcrypto++-dev

3) find your copy of "libcurl.m4"
find / -name libcurl.m4

4) copy libcurl.m4 into a directory named m4 inside the cpuminer directory
mkdir m4
cp <a directory>/libcurl.m4 m4                     (example :     cp /usr/share/aclocal/libcurl.m4 m4 )
echo "ACLOCAL_AMFLAGS = -I m4" >> Makefile.am

5) edit the autogen.sh file, replace "aclocal" with "aclocal -I <your cpuminer directory>/m4"
example :
the line before :
aclocal

the line after :
aclocal -I /root/software/cpuminer/m4

6) edit Makefile (not Makefile.am)

change this line (line 276):
minerd_LDADD = -L/usr/lib/x86_64-linux-gnu -lcurl compat/jansson/libjansson.a -lpthread

to this :
minerd_LDADD = -L/usr/lib/x86_64-linux-gnu -lcurl compat/jansson/libjansson.a -lpthread -lssl -lcrypto

7) build:

./autogen.sh
CFLAGS="-O3 -Wall -msse2" ./configure
make

After it's done, run ./minerd

I'm getting a share accepted about every two seconds.. cant see if I'm getting blocks yet as I'm running protosharesd

Can I use this to connect to a pool?

Note that you may need to download the curl tarball to get the libcurl.m4, some stupid distros remove it.

kenpodragon

This seems to be very nice :D

Can't connect to the pool for some reason.

alexxy

I get one orphan

Will this miner work with pool?
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

arubi

Quote from: alexxy on November 08, 2013, 11:25:05 AM
Does this miner work?

No blocks yet so I can't be sure, but I get this as output :

...
[2013-11-08 12:52:09] Found share 23edb94c: above target
[2013-11-08 12:52:13] Found share e55c8e04: above target
[2013-11-08 12:52:17] Found share 51c10f77: above target
[2013-11-08 12:52:17] Found share 072ea41b: above target
[2013-11-08 12:52:17] Found share 8c3a4c2d: above target
[2013-11-08 12:52:24] Found share a49c046d: above target
[2013-11-08 12:52:25] Found share 5871615b: above target
[2013-11-08 12:52:25] Found share 067a11c1: above target
[2013-11-08 12:52:25] Found share 01fb1c6a: above target
[2013-11-08 12:52:27] Found share 144a06c9: above target
[2013-11-08 12:52:30] Found share cae2303f: above target
[2013-11-08 12:52:30] Found share 66a183b9: above target
[2013-11-08 12:52:33] Found share 7a2cba52: above target
[2013-11-08 12:52:37] Found share 6f3b90d7: above target
[2013-11-08 12:52:41] Found share 011e72b8: above target
[2013-11-08 12:52:41] Found share d7556fbe: above target
[2013-11-08 12:52:41] Found share 329cf95f: above target
...

btw, I pmed you, hibitcoin

alexxy

Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

hibitcoin

@arubi

Now you can only connect it to protosharesd and solo. But a pool is under development and will be available soon.

Could you please make a pull request so I can merge your patch? Thanks!

arubi

#3
On linux :

checking for yasm... /usr/bin/yasm
checking if yasm version is greater than 1.0.1... yes
./configure: line 5372: syntax error near unexpected token `LIBCURL_CHECK_CONFIG'
./configure: line 5372: `LIBCURL_CHECK_CONFIG(, 7.10.1, ,'

I'd appreciate your help

edit:

This fixes autogen.sh and ./configure,
https://bitcointalk.org/index.php?topic=4823.0

but now make fails here :

/usr/bin/ld: minerd-momentum.o: undefined reference to symbol 'SHA512@@OPENSSL_1.0.0'
/usr/bin/ld: note: 'SHA512@@OPENSSL_1.0.0' is defined in DSO /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 so try adding it to the linker command line
/lib/x86_64-linux-gnu/libcrypto.so.1.0.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [minerd] Error 1
make[2]: Leaving directory `/root/software/cpuminer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/software/cpuminer'
make: *** [all] Error 2


Let me know if you need the full log


Last edit :

I managed to compile under linux. Here's what I did

clone the git repository
1) clone the git repo
git clone https://github.com/wangchun/cpuminer.git
cd cpuminer

2) install dependencies
sudo apt-get install libcurl3 libcurl4-openssl-dev automake autoconf libcrypto++-dev

3) find your copy of "libcurl.m4"
find / -name libcurl.m4

4) copy libcurl.m4 into a directory named m4 inside the cpuminer directory
mkdir m4
cp <a directory>/libcurl.m4 m4                     (example :     cp /usr/share/aclocal/libcurl.m4 m4 )
echo "ACLOCAL_AMFLAGS = -I m4" >> Makefile.am

5) edit the autogen.sh file, replace "aclocal" with "aclocal -I <your cpuminer directory>/m4"
example :
the line before :
aclocal

the line after :
aclocal -I /root/software/cpuminer/m4

6) edit Makefile (not Makefile.am)

change this line (line 276):
minerd_LDADD = -L/usr/lib/x86_64-linux-gnu -lcurl compat/jansson/libjansson.a -lpthread

to this :
minerd_LDADD = -L/usr/lib/x86_64-linux-gnu -lcurl compat/jansson/libjansson.a -lpthread -lssl -lcrypto

7) build:

./autogen.sh
CFLAGS="-O3 -Wall -msse2" ./configure
make

After it's done, run ./minerd

I'm getting a share accepted about every two seconds.. cant see if I'm getting blocks yet as I'm running protosharesd

Can I use this to connect to a pool?

testz

Anybody can confirm if it's working (even in testnet)?

hibitcoin

#1
http://ptspool.com/

Get our modified cpuminer and get started now.