Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

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

Discussion in 'Mining' started by ScioMind, May 30, 2014.

  1. ScioMind

    ScioMind Member

    Joined:
    May 28, 2014
    Messages:
    183
    Likes Received:
    73
    Trophy Points:
    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!
     
  2. plambe

    plambe New Member

    Joined:
    May 23, 2014
    Messages:
    36
    Likes Received:
    2
    Trophy Points:
    8
  3. Propulsion

    Propulsion The buck stops here.

    Joined:
    Feb 26, 2014
    Messages:
    1,008
    Likes Received:
    467
    Trophy Points:
    183
    Dash Address:
    XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
    • Like Like x 1
  4. ScioMind

    ScioMind Member

    Joined:
    May 28, 2014
    Messages:
    183
    Likes Received:
    73
    Trophy Points:
    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?
     
  5. coingun

    coingun Active Member
    Masternode Owner/Operator

    Joined:
    Jul 8, 2014
    Messages:
    489
    Likes Received:
    402
    Trophy Points:
    133
    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.
     
  6. DrkMiner

    DrkMiner Member

    Joined:
    Jun 7, 2014
    Messages:
    204
    Likes Received:
    63
    Trophy Points:
    88
    use the latest p2pool code.
     
  7. coingun

    coingun Active Member
    Masternode Owner/Operator

    Joined:
    Jul 8, 2014
    Messages:
    489
    Likes Received:
    402
    Trophy Points:
    133
    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?
     
  8. scratchy

    scratchy Member

    Joined:
    Jun 24, 2014
    Messages:
    204
    Likes Received:
    84
    Trophy Points:
    88
    Does your bitcoind run on port 9999?

    What does "netstat -an" say?
     
  9. ScioMind

    ScioMind Member

    Joined:
    May 28, 2014
    Messages:
    183
    Likes Received:
    73
    Trophy Points:
    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.
     
  10. DrkMiner

    DrkMiner Member

    Joined:
    Jun 7, 2014
    Messages:
    204
    Likes Received:
    63
    Trophy Points:
    88
    https://bitbucket.org/dstorm/p2pool-drk.git
     
  11. ScioMind

    ScioMind Member

    Joined:
    May 28, 2014
    Messages:
    183
    Likes Received:
    73
    Trophy Points:
    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 Like x 1
  12. Rabinovitch

    Rabinovitch Member

    Joined:
    Mar 29, 2016
    Messages:
    103
    Likes Received:
    13
    Trophy Points:
    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: