Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

P2Pool Setup help

Discussion in 'Mining Pools' started by HammerHedd, Mar 27, 2014.

?

What sort of pool do you mine into?

  1. None, I'm still solo mining!

    0 vote(s)
    0.0%
  2. MPOS (i.e. Official Pool, Lottery Mining, Coinmine)

    27.6%
  3. P2Pool

    72.4%
  1. Propulsion

    Propulsion The buck stops here.

    Joined:
    Feb 26, 2014
    Messages:
    1,008
    Likes Received:
    467
    Trophy Points:
    183
    Dash Address:
    XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
    You the man.

    Code:
    twistd --version
    
    twistd (the Twisted daemon) 13.2.0
    Still getting an error though.

    Code:
    python run_darkpool.sh -help
    
    File "run_darkpool.sh", line 4
    if ps ax | grep -v grep | grep "$SERVICE" > /dev/null
           ^
    SyntaxError: invalid syntax
     
  2. Propulsion

    Propulsion The buck stops here.

    Joined:
    Feb 26, 2014
    Messages:
    1,008
    Likes Received:
    467
    Trophy Points:
    183
    Dash Address:
    XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
    Code:
    ~/Downloads/p2pool-drk$ sudo python run_p2pool.py -help
    
    ~/Downloads/p2pool-drk/p2pool/util/pack.py:205: Deprecation
    Warning: object.__new__() takes no parameters
      return Type.__new__(cls, bits, endianness)
    /usr/local/lib/python2.6/dist-packages/Twisted-13.2.0-py2.6-linux-x86_64.egg/twi
    sted/internet/endpoints.py:30: DeprecationWarning: twisted.internet.interfaces.I
    StreamClientEndpointStringParser was deprecated in Twisted 14.0.0: This interfac
    e has been superseded by IStreamClientEndpointStringParserWithReactor.
      from twisted.internet.interfaces import (
    /usr/local/lib/python2.6/dist-packages/Twisted-13.2.0-py2.6-linux-x86_64.egg/twi
    sted/internet/_sslverify.py:119: UserWarning: Your version of pyOpenSSL, 0.10, i
    s out of date.  Please upgrade to at least 0.12 and install service_identity fro
    m <https://pypi.python.org/pypi/service_identity>. Without the service_identity
    module and a recent enough pyOpenSSL tosupport it, Twisted can perform only rudi
    mentary TLS client hostnameverification.  Many valid certificate/hostname mappin
    gs may be rejected.
    
    ~/Downloads/p2pool-drk$
     
  3. chaeplin

    chaeplin Official Dash Dev
    Core Developer

    Joined:
    Mar 29, 2014
    Messages:
    749
    Likes Received:
    356
    Trophy Points:
    133
    https://bitcointalk.org/index.php?topic=18313.4155;wap2

     
  4. Propulsion

    Propulsion The buck stops here.

    Joined:
    Feb 26, 2014
    Messages:
    1,008
    Likes Received:
    467
    Trophy Points:
    183
    Dash Address:
    XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
    Hmm by the looks of that it should just be a warning and compile fine. Regardless of using python 2.6.6.

    So after running sudo make in the p2pool root I get a complaint about missing readline. Which I know I have.
    Code:
    dpkg -l libreadline*
    libreadline6
    libreadline6-dev
    Actual failure is here.
    Code:
    Writing /tmp/easy_install-cklo10/readline-6.2.4.1/setup.cfg
    Running readline-6.2.4.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ckl
    10/readline-6.2.4.1/egg-dist-tmp-20c7b1
    gcc: readline/libreadline.a: No such file or directory
    gcc: readline/libhistory.a: No such file or directory
    error: Setup script exited with error: command 'gcc' failed with exit status 1
     
  5. chaeplin

    chaeplin Official Dash Dev
    Core Developer

    Joined:
    Mar 29, 2014
    Messages:
    749
    Likes Received:
    356
    Trophy Points:
    133
    dpkg --get-selections | grep readline
    libreadline6 install
    readline-common install
     
  6. Propulsion

    Propulsion The buck stops here.

    Joined:
    Feb 26, 2014
    Messages:
    1,008
    Likes Received:
    467
    Trophy Points:
    183
    Dash Address:
    XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
    Code:
    [ps]$ dpkg --get-selections | grep readline
    libreadline-dev                                 install
    libreadline5                                    install
    libreadline6                                    install
    libreadline6-dev                                install
    libterm-readline-gnu-perl                       install
    libterm-readline-perl-perl                      install
    readline-common                                 install
    [ps]$
     
  7. chaeplin

    chaeplin Official Dash Dev
    Core Developer

    Joined:
    Mar 29, 2014
    Messages:
    749
    Likes Received:
    356
    Trophy Points:
    133
    Waht is result ??
    Code:
    cd p2pool-drk
    python run_p2pool.py --help
    
     
  8. Propulsion

    Propulsion The buck stops here.

    Joined:
    Feb 26, 2014
    Messages:
    1,008
    Likes Received:
    467
    Trophy Points:
    183
    Dash Address:
    XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
    Code:
    []$ python run_p2pool.py --help
    /p2pool-drk/p2pool/util/pack.py:205: Deprecation
    Warning: object.__new__() takes no parameters
      return Type.__new__(cls, bits, endianness)
    /usr/local/lib/python2.6/dist-packages/Twisted-13.2.0-py2.6-linux-x86_64.egg/twi
    sted/internet/endpoints.py:30: DeprecationWarning: twisted.internet.interfaces.I
    StreamClientEndpointStringParser was deprecated in Twisted 14.0.0: This interfac
    e has been superseded by IStreamClientEndpointStringParserWithReactor.
      from twisted.internet.interfaces import (
    /usr/local/lib/python2.6/dist-packages/Twisted-13.2.0-py2.6-linux-x86_64.egg/twi
    sted/internet/_sslverify.py:119: UserWarning: Your version of pyOpenSSL, 0.10, i
    s out of date.  Please upgrade to at least 0.12 and install service_identity fro
    m <https://pypi.python.org/pypi/service_identity>. Without the service_identity
    module and a recent enough pyOpenSSL tosupport it, Twisted can perform only rudi
    mentary TLS client hostnameverification.  Many valid certificate/hostname mappin
    gs may be rejected.
      verifyHostname, VerificationError = _selectVerifyImplementation()
     
  9. chaeplin

    chaeplin Official Dash Dev
    Core Developer

    Joined:
    Mar 29, 2014
    Messages:
    749
    Likes Received:
    356
    Trophy Points:
    133
  10. Propulsion

    Propulsion The buck stops here.

    Joined:
    Feb 26, 2014
    Messages:
    1,008
    Likes Received:
    467
    Trophy Points:
    183
    Dash Address:
    XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
    Did git clone.

    Twistd --version
    says I have 13.2.0

    Edit: I'm going to have to work on this later. Thanks Chaeplin.
     
  11. Propulsion

    Propulsion The buck stops here.

    Joined:
    Feb 26, 2014
    Messages:
    1,008
    Likes Received:
    467
    Trophy Points:
    183
    Dash Address:
    XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
    What are you thinking with this? Twistd says 13.2.0 try to compile 14.0.0?

    Edit: ok recompliling with wget instead of Git Clone.

    EDIT EDIT:

    compiled from wget. A ton less errors now but still won't compile. make still fails.

    Code:
    python run_p2pool.py -help
    
    ~/p2ppol-drk/p2pool/util/pack.py:205: Deprecation
    Warning: object.__new__() takes no parameters
      return Type.__new__(cls, bits, endianness)
    EDIT EDIT EDIT (*3)

    downloaded python 2.7 Still above error. OS is too outdated. Can't compile on Debian Squeeze. AFAIK.
     
    #41 Propulsion, Apr 17, 2014
    Last edited by a moderator: Apr 17, 2014
  12. scorpio18

    scorpio18 New Member

    Joined:
    Apr 27, 2014
    Messages:
    25
    Likes Received:
    3
    Trophy Points:
    3
  13. Propulsion

    Propulsion The buck stops here.

    Joined:
    Feb 26, 2014
    Messages:
    1,008
    Likes Received:
    467
    Trophy Points:
    183
    Dash Address:
    XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L

    Neat. Wrong thread to advertise it in though.

    As far as getting a p2pool to work on Debian Wheezy, I wasn't able to get it working. Switched to a different OS and viola.
     
  14. scorpio18

    scorpio18 New Member

    Joined:
    Apr 27, 2014
    Messages:
    25
    Likes Received:
    3
    Trophy Points:
    3
  15. Darvin81

    Darvin81 New Member

    Joined:
    Apr 30, 2014
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
  16. SudoNano

    SudoNano New Member

    Joined:
    May 3, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
  17. chaeplin

    chaeplin Official Dash Dev
    Core Developer

    Joined:
    Mar 29, 2014
    Messages:
    749
    Likes Received:
    356
    Trophy Points:
    133
  18. HammerHedd

    HammerHedd Member

    Joined:
    Mar 10, 2014
    Messages:
    182
    Likes Received:
    34
    Trophy Points:
    88
    question: Is the hard fork next week going to break p2pool? I saw one of the latest commits to the readme, and it seemed to imply that we couldn't use p2pool after the hard fork. Am I just sleep deprived at the moment?
     
  19. vertoe

    vertoe Three of Nine

    Joined:
    Mar 28, 2014
    Messages:
    2,574
    Likes Received:
    1,656
    Trophy Points:
    1,283
    Yes, read on: Developement work for p2pool and NOMP Stratum patch
     
  20. Gunna

    Gunna Member

    Joined:
    Apr 9, 2017
    Messages:
    59
    Likes Received:
    5
    Trophy Points:
    48
    SO i am setting up a new P2Pool node and still learning linux.

    How do I change the payout address for the node, how do i reduce the fee to 0.5% and are there any other settings as best practice?
     
  21. Balych

    Balych Active Member

    Joined:
    Sep 12, 2015
    Messages:
    365
    Likes Received:
    211
    Trophy Points:
    113
    Dash Address:
    Xba1ychX7CjgbRrCKE1LjHjT3jLUhcexs5
    Use command-line options --address, --fee and --give-author
    For more options run ./run_p2pool.py --help
     
  22. Gunna

    Gunna Member

    Joined:
    Apr 9, 2017
    Messages:
    59
    Likes Received:
    5
    Trophy Points:
    48
    Thanks that worked.

    DO you know how to get dashd to auto start\restart on reboot?

    Editing crontab -e doesnt start dashd and creating a systemd unit file starts dashd but then it automatically shuts it down
     
  23. Balych

    Balych Active Member

    Joined:
    Sep 12, 2015
    Messages:
    365
    Likes Received:
    211
    Trophy Points:
    113
    Dash Address:
    Xba1ychX7CjgbRrCKE1LjHjT3jLUhcexs5
    I'm fine with crontab @reboot ~/.dashcore/dashd
    If daemon was terminated unusual ways, it need more complex actions (restore block data from backup) to make it work again.
     
  24. mrearthbound

    mrearthbound Member

    Joined:
    Feb 18, 2017
    Messages:
    248
    Likes Received:
    44
    Trophy Points:
    88
    Is there a way to implement email alerts when the miner goes idle and/or the shares are deposited? Those are nice features that I like about coinmine.pl and suprnova.cc...

    Also, I read through this link, but I fail to see how p2pool is more descentralized than an MPOS pool. What makes MPOS centralized, if it's a collective hash rate effort to solve blocks and reward miners according to their hash rate through shares?
     
  25. Markdroplet

    Markdroplet New Member

    Joined:
    Jul 27, 2017
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Hi there:

    Could you kindly advise where to look for tutorials if i want to setup a p2pool node for mining Dash, as there isn't one in my city, and the latency i get by connecting to the closest node is 180ms.

    Thanks in advance for the help.
     
  26. Gunna

    Gunna Member

    Joined:
    Apr 9, 2017
    Messages:
    59
    Likes Received:
    5
    Trophy Points:
    48
    • Like Like x 2
  27. Markdroplet

    Markdroplet New Member

    Joined:
    Jul 27, 2017
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Thank a million Gunna, I've ordered a Raspberry yesterday.

    Before it's arrival, just a few quick questions:
    1. Any requirements for the Desktop? Ram requirements? is the desktop going to be running 24/7 after it's up and running?

    2. "wget %%above mentioned address% -O – | tar -xz && cp dash-0.12.1/bin/dashd ~/
    (I had trouble with this step, the | tar -xz && cp dash-0.12.1/bin/dashd ~/ is supposed to copy dashd to the root of the PI home directory.)"
    What does this line mean? it's kind of hard to follow
     
  28. Markdroplet

    Markdroplet New Member

    Joined:
    Jul 27, 2017
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    i guess it's going to be the Raspberry that's going to be running the node. So is it possible to set this all up with a laptop instead of a desktop?
     
  29. Markdroplet

    Markdroplet New Member

    Joined:
    Jul 27, 2017
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    @Gunna

     
  30. Gui

    Gui New Member

    Joined:
    Nov 16, 2017
    Messages:
    4
    Likes Received:
    2
    Trophy Points:
    3
    HI Guys,

    I am having a problem with the /p2pool-dash/data/dash/addr file. It was created when I set up my Pool, my pool is working and mining fine, it just doesn't come up on the list. Can someone help me with the file, I am not sure of the layout of the file.

    Thanks
    Gui
     

Share This Page