Author Topic: [ANN] PTSPool.com – 世界最大的原型股矿池  (Read 36084 times)

0 Members and 1 Guest are viewing this topic.

Offline alexxy

  • Full Member
  • ***
  • Posts: 175
    • View Profile
Re: cpuminer for momentum proof-of-work
« Reply #14 on: November 08, 2013, 10:00:50 pm »
Or even better merged to bfgminer =D
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

Offline jovani75

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: cpuminer for momentum proof-of-work
« Reply #13 on: November 08, 2013, 09:09:05 pm »
It will be cool if it can show current hpm and may be a little bit optimized

Next release perhaps?

Offline alexxy

  • Full Member
  • ***
  • Posts: 175
    • View Profile
Re: cpuminer for momentum proof-of-work
« Reply #12 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
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

Offline kenpodragon

  • Full Member
  • ***
  • Posts: 64
    • View Profile
Re: cpuminer for momentum proof-of-work
« Reply #11 on: November 08, 2013, 08:06:31 pm »
this allows you to run one instance and get some wicked hashrates.

Offline rando

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: cpuminer for momentum proof-of-work
« Reply #10 on: November 08, 2013, 07:45:48 pm »
What the difference between using this versus using ./protosharesd -gen? It is faster or better somehow?

Offline Wolf0

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: cpuminer for momentum proof-of-work
« Reply #9 on: November 08, 2013, 06:05:23 pm »

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.

Offline kenpodragon

  • Full Member
  • ***
  • Posts: 64
    • View Profile
Re: cpuminer for momentum proof-of-work
« Reply #8 on: November 08, 2013, 03:12:34 pm »
This seems to be very nice :D

Can't connect to the pool for some reason.

Offline alexxy

  • Full Member
  • ***
  • Posts: 175
    • View Profile
Re: cpuminer for momentum proof-of-work
« Reply #7 on: November 08, 2013, 12:55:09 pm »
I get one orphan

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

Offline arubi

  • Sr. Member
  • ****
  • Posts: 209
    • View Profile
Re: cpuminer for momentum proof-of-work
« Reply #6 on: November 08, 2013, 11:53:51 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

Offline alexxy

  • Full Member
  • ***
  • Posts: 175
    • View Profile
Re: cpuminer for momentum proof-of-work
« Reply #5 on: November 08, 2013, 11:25:05 am »
Does this miner work?
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

Offline hibitcoin

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: cpuminer for momentum proof-of-work
« Reply #4 on: November 08, 2013, 11:16:24 am »
@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!

Offline arubi

  • Sr. Member
  • ****
  • Posts: 209
    • View Profile
Re: cpuminer for momentum proof-of-work
« Reply #3 on: November 08, 2013, 08:47:04 am »
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?
« Last Edit: November 08, 2013, 10:24:32 am by arubi »

Offline testz

Re: cpuminer for momentum proof-of-work
« Reply #2 on: November 08, 2013, 08:41:37 am »
Anybody can confirm if it's working (even in testnet)?

Offline hibitcoin

  • Newbie
  • *
  • Posts: 16
    • View Profile
[ANN] PTSPool.com – 世界最大的原型股矿池
« Reply #1 on: November 08, 2013, 02:08:28 am »
http://ptspool.com/

Get our modified cpuminer and get started now.
« Last Edit: February 09, 2014, 01:38:57 am by hibitcoin »