• 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

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.
 
Vertoe, please rename the payment modules on github.
And rename the project to p2pool-dash.
mr.slaveg and ourlink , vertoe authored the rebranding to dash on his p2pool github 5 days ago but I'm not sure if he'll continue with this project: https://github.com/vertoe/p2pool-drk.

Today a few members have worked on fixing the code as you can see from this thread:
https://dashtalk.org/threads/attention-p2pool-users-and-node-operators.4591/

Hope you guys can join these geeks to improve our p2pool. They also hang out on IRC freenode, if you want to chat with them, /join #dashpay.

Thanks. :smile:
 
https://github.com/darkcoin/p2pool-drk/issues/9
possible fix in /p2pool/bitcoin/p2p.py
Code:
    message_inv = pack.ComposedType([
        ('invs', pack.ListType(pack.ComposedType([
            ('type', pack.EnumType(pack.IntType(32), {1: 'tx', 2: 'block', 3: 'txlock_request', 4: 'txlock_vote', 5: 'spork', 6: 'masternode_winner', 7: 'masternode_scanning_error', 8: 'unknown'})),
            ('hash', pack.IntType(256)),
        ]))),
    ])
    def handle_inv(self, invs):
        for inv in invs:
            if inv['type'] == 'tx':
                self.send_getdata(requests=[inv])
            elif inv['type'] == 'block':
                self.factory.new_block.happened(inv['hash'])
#            else:
#                print 'Unknown inv type', inv
 
I just pushed up a bunch of fixes / rebranding / refactoring to https://github.com/jakehaas/p2pool-dash

Special thanks to elbereth for his rebranding efforts!

As of right now, this fork is the most up to date version of p2pool. It includes the version 3 bump, as well as the new IDENTIFIER and PREFIX and other fixes.

Make sure that you update your node if you haven't for a few days, otherwise any blocks you find will be orphaned as version 2 (old).
 
https://github.com/darkcoin/p2pool-drk/issues/9
possible fix in /p2pool/bitcoin/p2p.py
Code:
    message_inv = pack.ComposedType([
        ('invs', pack.ListType(pack.ComposedType([
            ('type', pack.EnumType(pack.IntType(32), {1: 'tx', 2: 'block', 3: 'txlock_request', 4: 'txlock_vote', 5: 'spork', 6: 'masternode_winner', 7: 'masternode_scanning_error', 8: 'unknown'})),
            ('hash', pack.IntType(256)),
        ]))),
    ])
    def handle_inv(self, invs):
        for inv in invs:
            if inv['type'] == 'tx':
                self.send_getdata(requests=[inv])
            elif inv['type'] == 'block':
                self.factory.new_block.happened(inv['hash'])
#            else:
#                print 'Unknown inv type', inv

Can you open this issue on https://github.com/jakehaas/p2pool-dash? It is now the most up to date version of the p2pool software.
 
Back
Top