BitShares Forum

Other => Graveyard => BitShares PTS => Topic started by: hibitcoin on November 08, 2013, 02:08:28 am

Title: [ANN] PTSPool.com – 世界最大的原型股矿池
Post by: hibitcoin on November 08, 2013, 02:08:28 am
http://ptspool.com/

Get our modified cpuminer and get started now.
Title: Re: cpuminer for momentum proof-of-work
Post by: testz on November 08, 2013, 08:41:37 am
Anybody can confirm if it's working (even in testnet)?
Title: Re: cpuminer for momentum proof-of-work
Post by: arubi 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?
Title: Re: cpuminer for momentum proof-of-work
Post by: hibitcoin 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!
Title: Re: cpuminer for momentum proof-of-work
Post by: alexxy on November 08, 2013, 11:25:05 am
Does this miner work?
Title: Re: cpuminer for momentum proof-of-work
Post by: arubi 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
Title: Re: cpuminer for momentum proof-of-work
Post by: alexxy on November 08, 2013, 12:55:09 pm
I get one orphan

Will this miner work with pool?
Title: Re: cpuminer for momentum proof-of-work
Post by: kenpodragon on November 08, 2013, 03:12:34 pm
This seems to be very nice :D

Can't connect to the pool for some reason.
Title: Re: cpuminer for momentum proof-of-work
Post by: Wolf0 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.
Title: Re: cpuminer for momentum proof-of-work
Post by: rando on November 08, 2013, 07:45:48 pm
What the difference between using this versus using ./protosharesd -gen? It is faster or better somehow?
Title: Re: cpuminer for momentum proof-of-work
Post by: kenpodragon on November 08, 2013, 08:06:31 pm
this allows you to run one instance and get some wicked hashrates.
Title: Re: cpuminer for momentum proof-of-work
Post by: 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
Title: Re: cpuminer for momentum proof-of-work
Post by: jovani75 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?
Title: Re: cpuminer for momentum proof-of-work
Post by: alexxy on November 08, 2013, 10:00:50 pm
Or even better merged to bfgminer =D
Title: Re: cpuminer for momentum proof-of-work
Post by: ryzombie on November 08, 2013, 10:25:44 pm
I dont think this is submitting anything or working at all, yes it finding "accepted shares" but no blocks?

I looked in debug.log of protosharesd on linux and there are a bunch of setbest and accepted but, listtransactions doesn't show anything and getbalance just says 0.00?

Maybe i'm doing something wrong or something, but this is my observation
Title: Re: cpuminer for momentum proof-of-work
Post by: hibitcoin on November 08, 2013, 10:51:37 pm
I dont think this is submitting anything or working at all, yes it finding "accepted shares" but no blocks?

I looked in debug.log of protosharesd on linux and there are a bunch of setbest and accepted but, listtransactions doesn't show anything and getbalance just says 0.00?

Maybe i'm doing something wrong or something, but this is my observation

"above target" shares are not "accepted shares". accepted shares are very rare. Right now only 1 in 65552 is valid and generate block.
Title: Re: cpuminer for momentum proof-of-work
Post by: ryzombie on November 08, 2013, 10:58:15 pm
I dont think this is submitting anything or working at all, yes it finding "accepted shares" but no blocks?

I looked in debug.log of protosharesd on linux and there are a bunch of setbest and accepted but, listtransactions doesn't show anything and getbalance just says 0.00?

Maybe i'm doing something wrong or something, but this is my observation

"above target" shares are not "accepted shares". accepted shares are very rare. Right now only 1 in 65552 is valid and generate block.

K, that makes sense.
Title: Re: cpuminer for momentum proof-of-work
Post by: hibitcoin on November 09, 2013, 02:38:16 am
New getwork compatible pool for test: http://mining.btsblock.com:20564/

If you already downloaded the git repo before, pull it, as I have made some improvement to reduce stales.

Please use the pool at your own risk. I don't know it could generate a block or not. I hope it would. :)
Title: Re: cpuminer for momentum proof-of-work
Post by: BITFISH on November 09, 2013, 07:50:36 am
nice job!
Title: Re: cpuminer for momentum proof-of-work
Post by: alexxy on November 09, 2013, 08:17:51 am
New getwork compatible pool for test: http://mining.btsblock.com:20564/

If you already downloaded the git repo before, pull it, as I have made some improvement to reduce stales.

Please use the pool at your own risk. I don't know it could generate a block or not. I hope it would. :)

It will be good if you can implement xolokram protocol for this miner too.
Title: Re: cpuminer for momentum proof-of-work
Post by: alexxy on November 09, 2013, 08:21:27 am
New getwork compatible pool for test: http://mining.btsblock.com:20564/

If you already downloaded the git repo before, pull it, as I have made some improvement to reduce stales.

Please use the pool at your own risk. I don't know it could generate a block or not. I hope it would. :)

Also how to use this pool? I dont see frontpage or any instrcutions how to connect
Title: Re: cpuminer for momentum proof-of-work
Post by: BITFISH on November 09, 2013, 12:44:20 pm
http://112.124.13.238:20564/
Title: Re: cpuminer for momentum proof-of-work
Post by: alexxy on November 09, 2013, 03:18:34 pm
Ok. How about page in english? =D and some stats for this pool
Title: Re: cpuminer for momentum proof-of-work
Post by: alexxy on November 09, 2013, 03:57:20 pm
Seems like pool down
Code: [Select]
[2013-11-09 19:51:42] JSON-RPC call failed: [
   "stale-work"
]
[2013-11-09 19:51:42] submit_upstream_work json_rpc_call failed
[2013-11-09 19:51:42] ...retry after 30 seconds
[2013-11-09 19:52:14] JSON-RPC call failed: [
   "stale-work"
]
[2013-11-09 19:52:14] submit_upstream_work json_rpc_call failed
[2013-11-09 19:52:14] ...retry after 30 seconds
[2013-11-09 19:52:14] LONGPOLL detected new block
[2013-11-09 19:52:45] JSON-RPC call failed: [
   "stale-work"
]
[2013-11-09 19:52:45] submit_upstream_work json_rpc_call failed
[2013-11-09 19:52:45] ...retry after 30 seconds
[2013-11-09 19:52:57] LONGPOLL detected new block
[2013-11-09 19:53:15] JSON-RPC call failed: [
   "stale-work"
]
[2013-11-09 19:53:15] submit_upstream_work json_rpc_call failed
[2013-11-09 19:53:15] ...retry after 30 seconds
[2013-11-09 19:53:17] LONGPOLL detected new block
[2013-11-09 19:53:45] JSON-RPC call failed: [
   "stale-work"
]
[2013-11-09 19:53:45] submit_upstream_work json_rpc_call failed
[2013-11-09 19:53:45] ...retry after 30 seconds
[2013-11-09 19:53:56] LONGPOLL detected new block
[2013-11-09 19:54:16] JSON-RPC call failed: [
   "stale-work"
]
[2013-11-09 19:54:16] submit_upstream_work json_rpc_call failed
[2013-11-09 19:54:16] ...retry after 30 seconds
[2013-11-09 19:54:46] JSON-RPC call failed: [
   "stale-work"
]
[2013-11-09 19:54:46] submit_upstream_work json_rpc_call failed
[2013-11-09 19:54:46] ...retry after 30 seconds
[2013-11-09 19:55:16] JSON-RPC call failed: [
   "stale-work"
]
[2013-11-09 19:55:16] submit_upstream_work json_rpc_call failed
[2013-11-09 19:55:16] ...retry after 30 seconds
[2013-11-09 19:55:23] LONGPOLL detected new block
[2013-11-09 19:55:46] JSON-RPC call failed: [
   "stale-work"
]
[2013-11-09 19:55:46] submit_upstream_work json_rpc_call failed
[2013-11-09 19:55:46] ...retry after 30 seconds
[2013-11-09 19:56:02] LONGPOLL detected new block
[2013-11-09 19:56:17] JSON-RPC call failed: [
   "stale-work"
]
[2013-11-09 19:56:17] submit_upstream_work json_rpc_call failed
[2013-11-09 19:56:17] ...terminating workio thread
[2013-11-09 19:56:17] workio thread dead, exiting.
Title: Re: PTSPool.com – world's first network ProtoShares mining pool, get started now!
Post by: hibitcoin on November 12, 2013, 01:56:47 am
Our pool is now open, please update your miner to the latest version to avoid crash and reduce stale. 8)
Title: Re: [ANN] PTSPool.com - world's 1st getwork ProtoShares miningpool, get started now!
Post by: sword on November 14, 2013, 02:15:31 pm
what‘s wrong with ptspool.com?
I use 20 Computers mining for 10 hour, accepted shares number is 7432. But ypool only sent me 0.14 pts!
Title: Re: [ANN] PTSPool.com - world's 1st getwork ProtoShares miningpool, get started now!
Post by: hibitcoin on November 15, 2013, 09:10:44 am
what‘s wrong with ptspool.com?
I use 20 Computers mining for 10 hour, accepted shares number is 7432. But ypool only sent me 0.14 pts!

ypool?
Title: Re: [ANN] PTSPool.com - world's 1st getwork ProtoShares miningpool, get started now!
Post by: nginxq on December 06, 2013, 12:20:59 pm
No payout since 24h... too bad.
Title: Re: [ANN] PTSPool.com - world's 1st getwork ProtoShares miningpool, get started now!
Post by: yvg1900 on December 07, 2013, 12:44:52 pm
I see the reference for M7c version of my miner at ptspool.com

I would like to inform you that this version is outdated, there is M7h version already.

Major point of using M7c ion conjunction with ptspool.com is that it causes increased orphan block ratio, which causes general transartion processing slowdowns in PTS network.

https://www.dropbox.com/sh/jvp4wwek8jpohj7/RlW6hzYqTz
https://mega.co.nz/#F!h0tkXSxZ!f62uoUXogkxQmP2xO8Ib-g
http://sdrv.ms/18wfjYX
http://pan.baidu.com/s/1xOOWa

yvg1900
Title: Re: [ANN] PTSPool.com - world's 1st getwork ProtoShares miningpool, get started now!
Post by: reaperhk on December 08, 2013, 09:30:14 am
No payout since 24h... too bad.

I was facing the same problem.
But after I restart the wallet, I get the paid (it seems that it did not sync )
Title: Re: [ANN] PTSPool.com - world's 1st getwork ProtoShares miningpool, get started now!
Post by: scgywx on December 12, 2013, 04:23:57 am
i was build it,An error occurred when i run it:

terminate called after throwing an instance of 'std::bad_alloc'
  what():  St9bad_alloc
Aborted
Title: Re: [ANN] PTSPool.com - world's 1st getwork ProtoShares miningpool, get started now!
Post by: hibitcoin on December 12, 2013, 03:25:12 pm
i was build it,An error occurred when i run it:

terminate called after throwing an instance of 'std::bad_alloc'
  what():  St9bad_alloc
Aborted

Are you building a 32-bit version? Try one thread many processes.
Title: Re: [ANN] PTSPool.com - world's 1st getwork ProtoShares miningpool, get started now!
Post by: danielravennest on December 27, 2013, 04:10:09 am
The pool is still sending work and recording shares, but hasn't reported any blocks for 12 hours: http://pts.rpool.net/blocks (http://pts.rpool.net/blocks)

Is something broken, or just very unlucky?

(This is my first post on this forum, let me know if I did something wrong)
Title: Re: [ANN] PTSPool.com - world's 1st getwork ProtoShares miningpool, get started now!
Post by: grigower on December 27, 2013, 09:29:57 pm
 http://clip2net.com/s/6tRh4F whats happend?
Title: Re: [ANN] PTSPool.com - world's 1st getwork ProtoShares miningpool, get started now!
Post by: yvg1900 on December 29, 2013, 09:33:05 am
New M7i version of PTS miner is available and named yam - Yet Another Miner. Works with ypool.net and other pools that support XPT proto, including PTSPool.

yam M7i is complete rewrite of yvg1900 miner and has new cmd line and config options. Check readme.txt and yam.cfg for details.
It is faster on all supported platforms, including Win64, Linux64 and MacOS X 64.
PTS miner re-engineered for better support of different CPUs and now supports large pages on Windows. Check docs for more details.

yam M7i supports config files, backup pool connections, proxy and multiple connection handling improvements that reduce share rejections.
PTS miner now has better fine tuning, more precise stats and supports specifying per-thread memory size as configurable parameter.

yvg1900

P.S. M7h version will be available for Chinese users for some time at Baidu, but will be removed later on.
Title: Re: [ANN] PTSPool.com - world's 1st getwork ProtoShares miningpool, get started now!
Post by: doxymoron on December 30, 2013, 02:57:08 pm
New M7i version of PTS miner is available and named yam - Yet Another Miner. Works with ypool.net and other pools that support XPT proto, including PTSPool.

yam M7i is complete rewrite of yvg1900 miner and has new cmd line and config options. Check readme.txt and yam.cfg for details.
It is faster on all supported platforms, including Win64, Linux64 and MacOS X 64.
PTS miner re-engineered for better support of different CPUs and now supports large pages on Windows. Check docs for more details.

yam M7i supports config files, backup pool connections, proxy and multiple connection handling improvements that reduce share rejections.
PTS miner now has better fine tuning, more precise stats and supports specifying per-thread memory size as configurable parameter.

yvg1900

P.S. M7h version will be available for Chinese users for some time at Baidu, but will be removed later on.

Do you have a link?
Title: Re: [ANN] PTSPool.com - world's 1st getwork ProtoShares miningpool, get started now!
Post by: AngusCanine on January 06, 2014, 08:43:48 pm
anybody still using ptspool? I've just started mining but have noticed this works much better than anything ive tried before
Title: Re: [ANN] PTSPool.com - world's 1st getwork ProtoShares miningpool, get started now!
Post by: baoky on January 07, 2014, 04:05:19 am
How to configure my linux server to work with this pool, I currently mining at ypool.

I am using ./yam but anyone can write a guide on how to setup for pts pool?
Title: Re: [ANN] PTSPool.com - world's 1st getwork ProtoShares miningpool, get started now!
Post by: yvg1900 on January 12, 2014, 07:18:45 pm
M7j version of yam miner available. It supports fast CPU mining for PTS, MMC, more mining pools and protocols.

To mine MemoryCoin with yam M7j use provided miner config template named yam-mmc.cfg as a base, check readme.txt for more details.
yam M7j optimised for mining MMC on CPUs with AES-NI support and has 5 different algo variations for HT, non-HT and GPU friendly setups.

yam M7j miner now supports PTS mining at beeeeer and includes fix for Win2003 and other older 64bit systems. Check readme.txt for details.

Download at:
https://www.dropbox.com/sh/jvp4wwek8jpohj7/RlW6hzYqTz
https://mega.co.nz/#F!h0tkXSxZ!f62uoUXogkxQmP2xO8Ib-g
http://sdrv.ms/18wfjYX
http://pan.baidu.com/s/1xOOWa

yvg1900
Title: Re: [ANN] PTSPool.com - world's 1st getwork ProtoShares miningpool, get started now!
Post by: hibitcoin on February 09, 2014, 01:35:53 am
PTSPool.com has become world's largest ProtoShares mining pool, accounting ~57% of all mining power of the network. For this, we are going to provide 100 PTS as bonus for the founder of the 10000th valid block of our pool. As of February 9 at 00:00 UTC, we have found 8464 valid blocks. Thanks.
Title: Re: [ANN] PTSPool.com – 世界最大的原型股矿池
Post by: yvg1900 on February 10, 2014, 02:39:06 am
Updated M7m version of yam miner available. It includes major performance improvement for PTS CPU mining - up to 2x speed in some configs.

yam M7m has improved performance on all CPU architectures. Most performance improvement made for Haswell (AVX2) CPUs.
New version has new algo variants for 512 and 1024 Mb mem setups. Make sure that you performed finetuning after upgrade to get most of your mach.
yam M7m does not support 2048M per thread for PTS mining. Maximum is 1024M per thread on all OSes. Please update your configs.

Downloads are at usual locations, as well as MD5 checsums and diginal signature files.

yvg1900
Title: Re: [ANN] PTSPool.com – 世界最大的原型股矿池
Post by: sohueasy on February 10, 2014, 02:51:27 am
Updated M7m version of yam miner available. It includes major performance improvement for PTS CPU mining - up to 2x speed in some configs.

yam M7m has improved performance on all CPU architectures. Most performance improvement made for Haswell (AVX2) CPUs.
New version has new algo variants for 512 and 1024 Mb mem setups. Make sure that you performed finetuning after upgrade to get most of your mach.
yam M7m does not support 2048M per thread for PTS mining. Maximum is 1024M per thread on all OSes. Please update your configs.

Downloads are at usual locations, as well as MD5 checsums and diginal signature files.

yvg1900

Thank you yvg1900, I get almost 2x cpm on my 4770 with M7m.
Title: Re: [ANN] PTSPool.com – 世界最大的原型股矿池
Post by: sohueasy on February 10, 2014, 03:07:43 am
Updated M7m version of yam miner available. It includes major performance improvement for PTS CPU mining - up to 2x speed in some configs.

yam M7m has improved performance on all CPU architectures. Most performance improvement made for Haswell (AVX2) CPUs.
New version has new algo variants for 512 and 1024 Mb mem setups. Make sure that you performed finetuning after upgrade to get most of your mach.
yam M7m does not support 2048M per thread for PTS mining. Maximum is 1024M per thread on all OSes. Please update your configs.

Downloads are at usual locations, as well as MD5 checsums and diginal signature files.

yvg1900

one more question

there's only 12 AVs for haswell now?
Title: Re: [ANN] PTSPool.com – 世界最大的原型股矿池
Post by: yvg1900 on February 10, 2014, 09:40:32 am
Yes, number of AVs has been reduced - some outdated variations removed.

Follow @yvg1900 on Twitter to get updates on performance mining software