Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

P2Pool P2Pool repository and python modules

Discussion in 'Mining Pools' started by vertoe, Dec 30, 2014.

  1. vertoe

    vertoe Three of Nine

    Joined:
    Mar 28, 2014
    Messages:
    2,573
    Likes Received:
    1,652
    Trophy Points:
    1,283
    yes this only works for main net and will be updated as soon as 11.1 is released.
     
    • Like Like x 1
  2. mr.slaveg

    mr.slaveg Member

    Joined:
    Nov 26, 2014
    Messages:
    140
    Likes Received:
    45
    Trophy Points:
    78
    Vertoe, update version of git.
     
  3. mr.slaveg

    mr.slaveg Member

    Joined:
    Nov 26, 2014
    Messages:
    140
    Likes Received:
    45
    Trophy Points:
    78
    • Like Like x 1
  4. scratchy

    scratchy Member

    Joined:
    Jun 24, 2014
    Messages:
    204
    Likes Received:
    84
    Trophy Points:
    88
    Thanks MuPool.com switched over :)
     
  5. pinestabe

    pinestabe New Member

    Joined:
    May 1, 2014
    Messages:
    26
    Likes Received:
    9
    Trophy Points:
    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....
     
  6. vertoe

    vertoe Three of Nine

    Joined:
    Mar 28, 2014
    Messages:
    2,573
    Likes Received:
    1,652
    Trophy Points:
    1,283
    • Like Like x 3
  7. ourlink

    ourlink Well-known Member
    Foundation Member

    Joined:
    Jun 9, 2014
    Messages:
    237
    Likes Received:
    65
    Trophy Points:
    188
    vertoe will you be updating the p2pool-drk to p2pool-dash?
     
  8. oblox

    oblox Well-known Member

    Joined:
    Aug 6, 2014
    Messages:
    1,032
    Likes Received:
    537
    Trophy Points:
    183
    I highly doubt it given the severed ties to Dash.
     
  9. ourlink

    ourlink Well-known Member
    Foundation Member

    Joined:
    Jun 9, 2014
    Messages:
    237
    Likes Received:
    65
    Trophy Points:
    188
    Did I miss something... Severed ties? What does that mean, has vertoe gone missing?
     
  10. thelazier

    thelazier Active Member

    Joined:
    Jan 5, 2015
    Messages:
    240
    Likes Received:
    184
    Trophy Points:
    103
    Dash Address:
    Xreiza1qGJMT5BpW6BDtRJqwtcBSxGwWYN
  11. oblox

    oblox Well-known Member

    Joined:
    Aug 6, 2014
    Messages:
    1,032
    Likes Received:
    537
    Trophy Points:
    183
    Vertoe quit the dev team and sold at least 30k coins of who knows how many prior to the run up.
     
  12. ourlink

    ourlink Well-known Member
    Foundation Member

    Joined:
    Jun 9, 2014
    Messages:
    237
    Likes Received:
    65
    Trophy Points:
    188
    Yikes....
     
  13. ourlink

    ourlink Well-known Member
    Foundation Member

    Joined:
    Jun 9, 2014
    Messages:
    237
    Likes Received:
    65
    Trophy Points:
    188
    Great work... But I have an error trying to connect to the DASHD daemon... Any Ideas?

    [​IMG]
     
  14. thelazier

    thelazier Active Member

    Joined:
    Jan 5, 2015
    Messages:
    240
    Likes Received:
    184
    Trophy Points:
    103
    Dash Address:
    Xreiza1qGJMT5BpW6BDtRJqwtcBSxGwWYN
  15. ourlink

    ourlink Well-known Member
    Foundation Member

    Joined:
    Jun 9, 2014
    Messages:
    237
    Likes Received:
    65
    Trophy Points:
    188
  16. mr.slaveg

    mr.slaveg Member

    Joined:
    Nov 26, 2014
    Messages:
    140
    Likes Received:
    45
    Trophy Points:
    78
    Vertoe, please rename the payment modules on github.
    And rename the project to p2pool-dash.
     
  17. scratchy

    scratchy Member

    Joined:
    Jun 24, 2014
    Messages:
    204
    Likes Received:
    84
    Trophy Points:
    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!
     
  18. jakehaas

    jakehaas Member

    Joined:
    Dec 9, 2014
    Messages:
    41
    Likes Received:
    29
    Trophy Points:
    58
  19. Byuo

    Byuo New Member

    Joined:
    Apr 4, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    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.
     
  20. jakehaas

    jakehaas Member

    Joined:
    Dec 9, 2014
    Messages:
    41
    Likes Received:
    29
    Trophy Points:
    58
    Yup, p2pool is broken. 4 blocks found today so far, but no payments...
     
  21. jakehaas

    jakehaas Member

    Joined:
    Dec 9, 2014
    Messages:
    41
    Likes Received:
    29
    Trophy Points:
    58
  22. Byuo

    Byuo New Member

    Joined:
    Apr 4, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    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.
     
  23. jakehaas

    jakehaas Member

    Joined:
    Dec 9, 2014
    Messages:
    41
    Likes Received:
    29
    Trophy Points:
    58
  24. jakehaas

    jakehaas Member

    Joined:
    Dec 9, 2014
    Messages:
    41
    Likes Received:
    29
    Trophy Points:
    58
  25. jakehaas

    jakehaas Member

    Joined:
    Dec 9, 2014
    Messages:
    41
    Likes Received:
    29
    Trophy Points:
    58
    • Like Like x 1
  26. thefrog

    thefrog Member

    Joined:
    May 25, 2014
    Messages:
    57
    Likes Received:
    26
    Trophy Points:
    58
    • Like Like x 1
  27. poiuty

    poiuty Active Member

    Joined:
    Nov 26, 2014
    Messages:
    408
    Likes Received:
    226
    Trophy Points:
    113
    • Like Like x 1
  28. jakehaas

    jakehaas Member

    Joined:
    Dec 9, 2014
    Messages:
    41
    Likes Received:
    29
    Trophy Points:
    58
    • Like Like x 1
  29. poiuty

    poiuty Active Member

    Joined:
    Nov 26, 2014
    Messages:
    408
    Likes Received:
    226
    Trophy Points:
    113
    Now ~70Mh/s on version 3 and new IDENTIFIER, PREFIX.
     
  30. jakehaas

    jakehaas Member

    Joined:
    Dec 9, 2014
    Messages:
    41
    Likes Received:
    29
    Trophy Points:
    58
    dash.p2pools.us

    switched to new IDENTIFIER, PREFIX. Should have added ~100 MH/s.
     
    • Like Like x 1