P2Pool P2Pool repository and python modules

vertoe

Three of Nine
Mar 28, 2014
2,573
1,652
1,283
Unimatrix Zero One
Last edited by a moderator:
  • Like
Reactions: xgtele and fydel

Propulsion

The buck stops here.
Feb 26, 2014
1,008
468
183
Dash Address
XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
All of it seems to work fine.
 

mr.slaveg

Member
Nov 26, 2014
140
45
78
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
 

Crahl

New Member
Nov 23, 2014
11
11
3
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).
 
  • Like
Reactions: mr.slaveg

Crahl

New Member
Nov 23, 2014
11
11
3
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.
 

UdjinM6

Official Dash Dev
Core Developer
Dash Core Team
May 20, 2014
3,639
3,537
1,183
: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:
 
  • Like
Reactions: mr.slaveg

mr.slaveg

Member
Nov 26, 2014
140
45
78
Repository xcoin-hash is not updated since inception (10 months). And belongs darkcoinproject development. I thought that doing a common cause and combine sources in a single repository would be nice. If it's a bad idea, then I will remove them.
 

UdjinM6

Official Dash Dev
Core Developer
Dash Core Team
May 20, 2014
3,639
3,537
1,183
Repository xcoin-hash is not updated since inception (10 months). And belongs darkcoinproject development. I thought that doing a common cause and combine sources in a single repository would be nice. If it's a bad idea, then I will remove them.
darkcoinproject on github is Evan's original account there and I hope he still maintains it too. So if there are some changes to xcoin-hash you can push them there.
 

mr.slaveg

Member
Nov 26, 2014
140
45
78
I decided to leave the repository on bitbucket. Let this be a continuation of the line from dstorm)
I will support this version.