• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

P2Pool Setup help

What sort of pool do you mine into?

  • None, I'm still solo mining!

    Votes: 0 0.0%

  • Total voters
    29

HammerHedd

Active member
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.
 
Because I do not have a dedicated miner I more often then not use a MPOS pool.
If I ever purchase one, I'll be using P2Pool. Reason I don't now is because of the 24 hour build up.

P2Pool is great though because you theoretically get payed more then a MPOS pool. (P2Pool receives transaction fees) As well as never having to pay a withdraw fee or worry about a website's front end going down.
All in all if you have a dedicated miner you really are hurting yourself if your not using P2Pool.
 
Awesome! Here's something strange that I found out recently:
I ran darkcoind with daemon=1 and P2Pool wouldn't transmit pool fees - when I took it out of the darkcoin.conf, the pool fees transmitted again. Anyone else have this happen?
 
Can you be more specific? What do you mean by transmitted? You did not recieve any fees?

Recieving fees is as random as finding blocks in p2pool that's why sometimes you might not get any at all. Every share on your node will be submitted to the sharechain. If your pool fee is 1%, then the chance for each share is 1% to get credited to the node wallet instead of the finders account.

It's all about luck, :)
 
I realize that... However, each time a block is found, a p2pool operator would get a fee (mine was set at 0.5%). The strange thing that happened was that although it was showing that the pool collected a 0.5% fee, it would not send the fees collected to the specified address. The address was showing correctly on the stats page, but showed 0 collected per block. After messing with it a bit, and working with chaeplin, we figured out that for some reason having
Code:
daemon=1
in the darkcoin.conf file caused it to not send the accumulated transactions. I haven't played with it again to see if I can make it fail, but I was curious if anyone else had that experience.

Also, I'm not sure I follow what you are saying about the pool percentage. As I understand it, a pool takes a set percentage from each miner when there is a block found. The chance is in the block being found, not in whether or not the pool takes the percentage. Or perhaps I'm just reading it wrong. :)
 
I've been mining and operating P2Pool for so long now and you only get the interesting infos if you either read the source code or talk to some very enthusiastic devs.

I found out about the fees because one of my nodes didnt pay any fees to my wallet and I thought it was a bug... well it was just bad luck.
 
Fee charged like this.
P2pool change worker summited address to fee payout address.
So it's luck.
That's how fee payout address is included in to share chain.

This is my miner pointed to 100% fee solo node.
Connected to Pool 0 (stratum) diff 0.004 as user Xhw8EQDdK4ogGFre677vgh4RYkocLafQPp+0.004
XkJN5nvmVshdyC8dAK5tfbt3qerQfAXhwR is fee payout address.

This is solo node log.
2014-04-01 06:34:28.064297 GOT SHARE! Xhw8EQDdK4ogGFre677vgh4RYkocLafQPp 61a33535 prev acc99528 age 6.72s
2014-04-01 06:34:28.066822 New work for worker XkJN5nvmVshdyC8dAK5tfbt3qerQfAXhwR! Difficulty: 0.004000 Share difficulty: 0.013203 (speed 3464161.507686) Total block value: 16.000000 DRK including 0 transactions
2014-04-01 06:34:29.192579 P2Pool: 638 shares in chain (638 verified/638 total) Peers: 0 (0 incoming)

Worker submit with address Xhw8EQDdK4ogGFre677vgh4RYkocLafQPp.
Work is distributed to XkJN5nvmVshdyC8dAK5tfbt3qerQfAXhwR which is fee payout address.


This is 50% fee solo log.
2014-04-01 06:37:30.137959 GOT SHARE! Xhw8EQDdK4ogGFre677vgh4RYkocLafQPp 10821ee2 prev 350a9d44 age 16.11s
2014-04-01 06:37:30.140664 New work for worker XkJN5nvmVshdyC8dAK5tfbt3qerQfAXhwR! Difficulty: 0.004000 Share difficulty: 0.012953 (speed 0.000000) Total block value: 17.001000 DRK including 3 transactions
2014-04-01 06:37:32.956810 P2Pool: 643 shares in chain (643 verified/643 total) Peers: 0 (0 incoming)
2014-04-01 06:37:50.724485 GOT SHARE! Xhw8EQDdK4ogGFre677vgh4RYkocLafQPp b71c3eec prev 10821ee2 age 20.58s
2014-04-01 06:37:50.727351 New work for worker Xhw8EQDdK4ogGFre677vgh4RYkocLafQPp! Difficulty: 0.004000 Share difficulty: 0.012850 (speed 0.000000) Total block value: 17.001000 DRK including 3 transactions
2014-04-01 06:38:02.980376 GOT SHARE! Xhw8EQDdK4ogGFre677vgh4RYkocLafQPp caeaf091 prev b71c3eec age 12.25s
2014-04-01 06:38:02.982981 New work for worker XkJN5nvmVshdyC8dAK5tfbt3qerQfAXhwR! Difficulty: 0.004000 Share difficulty: 0.012823 (speed 2788415.037397) Total block value: 17.001000 DRK including 3 transactions

Address changed.

p2pool use this method to collect fee.
 
I'm getting nothing but stale/orphaned shares on my p2pool node. What darkcoind version are people running? I've reverted to many of the latest commits and still not any closer to solving this. Ubuntu 12.04 all ports forwarded correctly
 
Are you running a 32-bit OS? I did that, and it wrecked me.
Type
Code:
uname -a

And see what you get. If it doesn't say "x64", it might be because you have a 32 bit system.
 
Here's a question. I'm compiling on Debian Squeeze. Wallet set up and fine. Going for the p2pool software.
Code:
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

It seems like the most current libboost I can getis libboost1.42-all-dev.

Any Recommendations?
 
Here's a question. I'm compiling on Debian Squeeze. Wallet set up and fine. Going for the p2pool software.
Code:
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

It seems like the most current libboost I can getis libboost1.42-all-dev.

Any Recommendations?

do not run make !!

run "python run_p2pool.py --help"
to check environment.
If it shows "usage ~~~ "
You are ready.

Compile subsidy and hash module.


and check run_darkpool.sh
 
Last edited by a moderator:
do not run make !!

run "python run_p2pool.py --help"
to check environment.
If it shows "usage ~~~ "
You are ready.

Compile subsidy and hash module.


and check run_darkpool.sh

Ok what i get returned is.

Code:
~/p2pool-drk/p2pool/util/pack.py:205: Deprecation
Warning: object._new_() takes no parameters
return Type._new_(cls, bits, endianness)
Twisted doesn't have abortConnection! Upgrade to a newer version of Twisted to avoid memory leaks!

Also when i do
Code:
sudo apt-cache search libboost

Newest one returned seems to be 1.42
 
Ok what i get returned is.

Code:
~/p2pool-drk/p2pool/util/pack.py:205: Deprecation
Warning: object._new_() takes no parameters
return Type._new_(cls, bits, endianness)
Twisted doesn't have abortConnection! Upgrade to a newer version of Twisted to avoid memory leaks!

Also when i do
Code:
sudo apt-cache search libboost

Newest one returned seems to be 1.42



Requirements:

Generic:
  • Python >=2.6
  • Twisted >=10.0.0

  • sudo apt-get install python-zope.interface python-twisted python-twisted-web
 
Requirements:
Generic:
  • Python >=2.6
  • Twisted >=10.0.0

  • sudo apt-get install python-zope.interface python-twisted python-twisted-web

All of them newest version. :confused:

Edit:
I have Python 2.6.6
& python-twisted 10.1.0-3
 
Last edited by a moderator:
Back
Top