P2Pool P2Pool repository and python modules

pinestabe

New Member
May 1, 2014
26
9
3
I just fired up my p2pool server for the first time this year from the latest vertoe git version, and I noticed that the p2pool server drops the p2p connection to the daemon every time a new block is received. It reconnects immediately so it doesn't seem to be causing any problems with getting shares, but it's dirtying up my logs :D
Is anyone else seeing the same problem? I have an unusual configuration so it might be something I'm doing, but I didn't have this problem last year with the ol' dstorm version. Maybe something to do with all the new inventory messages? I don't know python so i'm reluctant to start debugging....
 

mr.slaveg

Member
Nov 26, 2014
140
45
78
Vertoe, please rename the payment modules on github.
And rename the project to p2pool-dash.
 

scratchy

Member
Jun 24, 2014
220
94
88
new trouble:

2015-04-03 22:43:58.634147 > Error getting work from darkcoind:
2015-04-03 22:43:58.634352 > Traceback (most recent call last):
2015-04-03 22:43:58.634399 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 551, in _runCallbacks
2015-04-03 22:43:58.634471 > current.result = callback(current.result, *args, **kw)
2015-04-03 22:43:58.634518 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1101, in gotResult
2015-04-03 22:43:58.634561 > _inlineCallbacks(r, g, deferred)
2015-04-03 22:43:58.634602 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1043, in _inlineCallbacks
2015-04-03 22:43:58.634669 > result = result.throwExceptionIntoGenerator(g)
2015-04-03 22:43:58.634714 > File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
2015-04-03 22:43:58.634788 > return g.throw(self.type, self.value, self.tb)
2015-04-03 22:43:58.634834 > --- <exception caught here> ---
2015-04-03 22:43:58.634874 > File "/home/darkcoin/p2pool-drk/p2pool/util/deferral.py", line 41, in f
2015-04-03 22:43:58.634912 > result = yield func(*args, **kwargs)
2015-04-03 22:43:58.634953 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1045, in _inlineCallbacks
2015-04-03 22:43:58.634998 > result = g.send(result)
2015-04-03 22:43:58.635040 > File "/home/darkcoin/p2pool-drk/p2pool/darkcoin/helper.py", line 62, in getwork
2015-04-03 22:43:58.635083 > payee=darkcoin_data.address_to_pubkey_hash(work['payee'], net.PARENT) if (work['payee'] != '') else None,
2015-04-03 22:43:58.635125 > File "/home/darkcoin/p2pool-drk/p2pool/darkcoin/data.py", line 274, in address_to_pubkey_hash
2015-04-03 22:43:58.635167 > raise ValueError('address not for this net!')
2015-04-03 22:43:58.635206 > exceptions.ValueError: address not for this net!
 

Byuo

New Member
Apr 4, 2015
4
0
1
Since the dashd update all block found on the p2pool are version 2 and all of them are rejected. The following block is 246895:
block/000000000010cb98a85915145e48a0d8f27e830c5c0a174e5da69eb784f3b50c

debug.log shows this:
2015-04-04 17:38:11 CheckBlock() : Found payment(1|197453174) or payee(1|XfMb663qcK2vgRMe7YMsi68NLCTPbgkKVj) nHeight 246895.
2015-04-04 17:38:11 ERROR: AcceptBlock() : rejected nVersion=2 block
2015-04-04 17:38:11 ERROR: ProcessBlock() : AcceptBlock FAILED

Unfortunately, I am not that familiar to python and p2pool code to fix it myself and share the fix.
 

jakehaas

Member
Dec 9, 2014
41
29
58
p2pools.us
Since the dashd update all block found on the p2pool are version 2 and all of them are rejected. The following block is 246895:
block/000000000010cb98a85915145e48a0d8f27e830c5c0a174e5da69eb784f3b50c

debug.log shows this:
2015-04-04 17:38:11 CheckBlock() : Found payment(1|197453174) or payee(1|XfMb663qcK2vgRMe7YMsi68NLCTPbgkKVj) nHeight 246895.
2015-04-04 17:38:11 ERROR: AcceptBlock() : rejected nVersion=2 block
2015-04-04 17:38:11 ERROR: ProcessBlock() : AcceptBlock FAILED

Unfortunately, I am not that familiar to python and p2pool code to fix it myself and share the fix.
Yup, p2pool is broken. 4 blocks found today so far, but no payments...
 

Byuo

New Member
Apr 4, 2015
4
0
1
Go to the previous block and you will see two blocks for 'Next block'. The accepted block is version 3 and the second block is the p2pool block which is version 2. All blocks since 245799 are rejected.