Looking for GOOD instructions for setting up a p2pool mining pool.

ScioMind

Member
May 28, 2014
183
73
88
Hi all...I.am relatively new.Darkcoin (which I love) but am not new to cryptocoins or Linux. I'm looking for a really GOOD tutorial for setting up a p2pool Darkcoin mining pool. I've found all sorts of information, but due to the quick pace of things related to the recent hard fork it has been hard to find anything that actually worked for me...and I have been trying!
I believe this will be useful to me and to others who are trying to become more involved with Dark coin.
One last.thing...I have the needed 1000 DRK and would eventually like to also set up a master node; should this be the same machine as the mining box or not? Does it make a difference? If it would be beneficial to put it on the same machine, are there certain preparations I could make in order to make adding.the master node smoother?
Thanks in advance...any help will definitely be appreciated!
 

ScioMind

Member
May 28, 2014
183
73
88
We've had our pool open for over 90 days. It was paying out, and everything was fine, even after RC5. Over the weekend our host needed to do some required maintenance, and after rebooting and restarting the pool keeps hanging up with the following message:

Testing bitcoind P2P connection to '127.0.0.1:9999'...
2014-09-29 16:19:50.065952 ...taking a while. Common reasons for this include all of bitcoind's connection slots being used...

(I guess the references to "bitcoind" is simply that the code was derived from bitcoin and the wording was never changed to darkcoin. No bid deal.)

I don't know what the problem is at all. I have googled to no avail. I am running:

p2pool (version f079031-dirty)
darkcoin 10.13.15 (This is also a masternode.)

Any ideas?
 

coingun

Active Member
Masternode Owner/Operator
Jul 8, 2014
489
402
133
masternode.io
I have no idea's that can help you but I can share that this is the exact same issue I have had with my p2pool node. I came back to find that p2pool had seg faulted over night. Nothing had chanced on my end then randomly I started seeing the exact same error as you describe after the seg fault.

I have reinstalled from scratch same error. I have yet to figure it out but it's nice to know that someone else is seeing this. I hope it isn't something to do with the spork that's booting us. At first I thought it was the version needed updating in the p2pool code but I pulled from a new version and had the same outcome so not sure wtf is going on.
 

coingun

Active Member
Masternode Owner/Operator
Jul 8, 2014
489
402
133
masternode.io
use the latest p2pool code.
Yeah that's the problem I am:

[email protected]:~$ p2pool-drk
2014-09-29 23:34:28.222595 p2pool (version 59502b0)
2014-09-29 23:34:28.222773
2014-09-29 23:34:28.222895 Testing bitcoind RPC connection to 'http://127.0.0.1:9998/' with username 'darkcoinrpc'...
2014-09-29 23:34:28.248538 ...success!
2014-09-29 23:34:28.248654 Current block hash: 10c42b6082a3e46e2efe4955559a093628e5270001b64cb6eba672
2014-09-29 23:34:28.248710 Current block height: 144474
2014-09-29 23:34:28.248757
2014-09-29 23:34:28.248807 Testing bitcoind P2P connection to '127.0.0.1:9999'...
2014-09-29 23:34:33.248964 ...taking a while. Common reasons for this include all of bitcoind's connection slots being used...

Will never get passed here. I'm still suspect of something from the segfault being stuck there or whatnot. I don't get why it can make the rpc connection successfully but then get stuck after that?
 

ScioMind

Member
May 28, 2014
183
73
88
use the latest p2pool code.
Just to avoid wasted time...can you point me to this code?

Also, any tips on updating? Once I successfully update, I will write a complete, step-by-step tutorial on the process for others.

And as a last question...since I am running a masternode, should there be any problem running p2pool with a darkcoin version 10.xx.xx rather than 9.xx.xx? On the downloads page at darkcoin.io it say that 9.xx.xx is for p2pool operators, but until now I have been running it, in conjunction with my masternode, using 10.xx.xx version.
 

DrkMiner

Member
Jun 7, 2014
204
63
88
Just to avoid wasted time...can you point me to this code?

Also, any tips on updating? Once I successfully update, I will write a complete, step-by-step tutorial on the process for others.

And as a last question...since I am running a masternode, should there be any problem running p2pool with a darkcoin version 10.xx.xx rather than 9.xx.xx? On the downloads page at darkcoin.io it say that 9.xx.xx is for p2pool operators, but until now I have been running it, in conjunction with my masternode, using 10.xx.xx version.
https://bitbucket.org/dstorm/p2pool-drk.git
 

ScioMind

Member
May 28, 2014
183
73
88
As soon as I heard about the exploit that had been discovered I performed the mandatory update to my Masternode. I then proceeded to update my P2Pool-Drk. As promised I have created a complete, step-by-step guide for upgrading, for those who originally installed according to my guide.

The original installation guide is at: http://planetcrypton.com/install-p2pool-drk
The upgrade guide is at: http://planetcrypton.com/update-p2pool-drk

Thanks for pointing me in the right direction!
 
  • Like
Reactions: Miner237

Rabinovitch

Member
Mar 29, 2016
103
13
68
Let's renew this thread. I need to move my DASH p2pool node from windows PC to Linux PC, so I need an up-to-date guide. Please help! :rolleyes: