P2Pool Setup help

What sort of pool do you mine into?

  • None, I'm still solo mining!

    Votes: 0 0.0%

  • Total voters
    29

Propulsion

The buck stops here.
Feb 26, 2014
1,008
468
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$
 

chaeplin

Active Member
Core Developer
Mar 29, 2014
749
356
133
Code:
~/Downloads/p2pool-drk$ sudo python run_p2pool.py -help
~/Downloads/p2pool-drk$
https://bitcointalk.org/index.php?topic=18313.4155;wap2

forrestv:
Quote from: lenny_ link=topic=18313.msg1390522#msg1390522 date=1355160498
Some incompatibility with python 2.6.6? I tried it on python 2.7.3 (VM) and and no error.

It's just a warning that is actually meaningless, since it was triggered by a bug in Python. It doesn't happen for new versions of Python because the erroneous warning was removed.
 

Propulsion

The buck stops here.
Feb 26, 2014
1,008
468
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
 

chaeplin

Active Member
Core Developer
Mar 29, 2014
749
356
133
Hmm by the looks of that it should just be a warning and compile fine. Regardless of using python 2.6.6.
error: Setup script exited with error: command 'gcc' failed with exit status 1[/CODE]
dpkg --get-selections | grep readline
libreadline6 install
readline-common install
 

Propulsion

The buck stops here.
Feb 26, 2014
1,008
468
183
Dash Address
XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
dpkg --get-selections | grep readline
libreadline6 install
readline-common install
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]$
 

chaeplin

Active Member
Core Developer
Mar 29, 2014
749
356
133
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]$
Waht is result ??
Code:
cd p2pool-drk
python run_p2pool.py --help
 

Propulsion

The buck stops here.
Feb 26, 2014
1,008
468
183
Dash Address
XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
Waht is result ??
Code:
cd p2pool-drk
python run_p2pool.py --help
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()
 

Propulsion

The buck stops here.
Feb 26, 2014
1,008
468
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.
 

Propulsion

The buck stops here.
Feb 26, 2014
1,008
468
183
Dash Address
XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
Which version did you use ?
git clone or release ?

git clone ? ( Warning 14.0.0.)

wget https://github.com/twisted/twisted/archive/twisted-13.2.0.tar.gz

# cd twisted-twisted-13.2.0
# grep "14.0.0" * -r
#
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.
 
Last edited by a moderator:

HammerHedd

Member
Mar 10, 2014
182
34
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?
 

Gunna

Member
Apr 9, 2017
59
5
48
39
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?
 

Balych

Active Member
Sep 12, 2015
365
211
113
Dash Address
Xba1ychX7CjgbRrCKE1LjHjT3jLUhcexs5
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?
Use command-line options --address, --fee and --give-author
For more options run ./run_p2pool.py --help
 

Gunna

Member
Apr 9, 2017
59
5
48
39
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
 

Balych

Active Member
Sep 12, 2015
365
211
113
Dash Address
Xba1ychX7CjgbRrCKE1LjHjT3jLUhcexs5
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
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.
 

mrearthbound

Member
Feb 18, 2017
248
44
88
33
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?
 

Markdroplet

New Member
Jul 27, 2017
20
0
1
33
As more and more people come over to Darkcoin, presumably more and more people will want to set up a pool of come sort. P2Pool is really easy to set up, but there are some glitches.

I learned a lot about setting it up from Chaeplin, who ported P2Pool to Darkcoin. Unfortunately for the search engines, most of it was in PMs, as the Darkcoin announce thread is already a raging river.

So, I'm starting this thread to help out anyone who is having difficulties with P2Pool. I'll try to get chaeplin over here as well, as he knows far more than I do about it. Also, I hope those of us running a P2Pool can use this as a forum for discussing new additions, etc.
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.
 

Gunna

Member
Apr 9, 2017
59
5
48
39

Markdroplet

New Member
Jul 27, 2017
20
0
1
33
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
 

Markdroplet

New Member
Jul 27, 2017
20
0
1
33
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?
 

Markdroplet

New Member
Jul 27, 2017
20
0
1
33
@Gunna

Check my guide:

dude... i've spent two days straight learning what you wrote, whilst waiting for a raspberry to arrive. and in the end, i find out that your guide is to set up a MASTERNODE on the raspberry right?

WHICH is not what i asked...
 

Gui

New Member
Nov 16, 2017
4
2
3
50
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