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

P2Pool P2Pool repository and python modules

vertoe

Three of Nine
Last edited by a moderator:
Hi!
I have an error when you run ...
Version of Dstorm works.

2015-01-16 12:13:41.293859 P2Pool: 8696 shares in chain (4338 verified/8696 total) Peers: 2 (0 incoming)
2015-01-16 12:13:41.294054 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2015-01-16 12:13:41.294142 Shares: 0 (0 orphan, 0 dead) Stale rate: ??? Efficiency: ??? Current payout: 0.0000 DRK
2015-01-16 12:13:41.294232 Pool: 2455MH/s Stale rate: 13.9% Expected time to block: 1.4 hours
2015-01-16 12:13:41.598595 Outgoing connection to peer 107.191.44.236:8999 established. p2pool version: 1300 '81fc6c5-dirty'
2015-01-16 12:13:41.768085 Peer sent entire transaction 7ef014c1d1cc34e7faa2d2e1a4c4206f2dad109dc6961f7abd3f7742a194f9fe that was already received
2015-01-16 12:13:42.863757 > Unhandled Error
2015-01-16 12:13:42.863940 > Traceback (most recent call last):
2015-01-16 12:13:42.864049 > File "/root/p2pool-drk/p2pool/main.py", line 578, in run
2015-01-16 12:13:42.864145 > reactor.run()
2015-01-16 12:13:42.864233 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1192, in run
2015-01-16 12:13:42.864320 > self.mainLoop()
2015-01-16 12:13:42.864402 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1201, in mainLoop
2015-01-16 12:13:42.864490 > self.runUntilCurrent()
2015-01-16 12:13:42.864576 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 824, in runUntilCurrent
2015-01-16 12:13:42.864661 > call.func(*call.args, **call.kw)
2015-01-16 12:13:42.864746 > --- <exception caught here> ---
2015-01-16 12:13:42.864830 > File "/root/p2pool-drk/p2pool/bitcoin/stratum.py", line 39, in _send_work
2015-01-16 12:13:42.864917 > x, got_response = self.wb.get_work(*self.wb.preprocess_request('' if self.username is None else self.username))
2015-01-16 12:13:42.865005 > File "/root/p2pool-drk/p2pool/bitcoin/worker_interface.py", line 129, in get_work
2015-01-16 12:13:42.865109 > x, handler = self._inner.get_work(*args)
2015-01-16 12:13:42.865193 > File "/root/p2pool-drk/p2pool/work.py", line 326, in get_work
2015-01-16 12:13:42.865280 > len(self.current_work.value['transactions']),
2015-01-16 12:13:42.865366 > exceptions.TypeError: %d format: a number is required, not str
2015-01-16 12:13:45.018451 P2Pool: 8649 shares in chain (4339 verified/8649 total) Peers: 3 (0 incoming)
2015-01-16 12:13:45.018614 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2015-01-16 12:13:45.018661 Shares: 0 (0 orphan, 0 dead) Stale rate: ??? Efficiency: ??? Current payout: 0.0000 DRK
2015-01-16 12:13:45.018711 Pool: 2426MH/s Stale rate: 13.9% Expected time to block: 1.4 hours
 
dstorm is working for me on 11.0.6. You need to update line 22 in the p2pool-drk/p2pool/bitcoin/p2p.py file with the new protocol version (70052).
 
Statistics shows strange numbers.
Current Block Value: 3.26124500 DRK
Already day.

I believe the new p2pool displays the current block value as: actual block value - masternode payout. So what it's displaying is the drk funds that are available to the miners.
 
:what: This is an allusion to the premature protocol version 70053?
I'm not really familiar with p2pool code :oops: but you said it's updated to 70053 and I found 70052 instead. Just wanted to point it out in case it could cause problems :rolleyes:
 
Back
Top