BitShares Forum
Other => Graveyard => BitShares PTS => Topic started by: hibitcoin on November 08, 2013, 02:08:28 am
-
http://ptspool.com/
Get our modified cpuminer and get started now.
-
Anybody can confirm if it's working (even in testnet)?
-
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?
-
@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!
-
Does this miner work?
-
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
-
I get one orphan
Will this miner work with pool?
-
This seems to be very nice :D
Can't connect to the pool for some reason.
-
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.
-
What the difference between using this versus using ./protosharesd -gen? It is faster or better somehow?
-
this allows you to run one instance and get some wicked hashrates.
-
It will be cool if it can show current hpm and may be a little bit optimized
-
It will be cool if it can show current hpm and may be a little bit optimized
Next release perhaps?
-
Or even better merged to bfgminer =D
-
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
-
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.
-
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.
-
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. :)
-
nice job!
-
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.
-
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
-
http://112.124.13.238:20564/
-
Ok. How about page in english? =D and some stats for this pool
-
Seems like pool down
[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.
-
Our pool is now open, please update your miner to the latest version to avoid crash and reduce stale. 8)
-
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!
-
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?
-
No payout since 24h... too bad.
-
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
-
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 )
-
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
-
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.
-
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)
-
http://clip2net.com/s/6tRh4F whats happend?
-
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.
-
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?
-
anybody still using ptspool? I've just started mining but have noticed this works much better than anything ive tried before
-
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?
-
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
-
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.
-
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
-
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.
-
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?
-
Yes, number of AVs has been reduced - some outdated variations removed.
Follow @yvg1900 on Twitter to get updates on performance mining software