Title: How to modify p2pool code for primecoin Post by: helloword2013 on November 20, 2013, 04:35:32 AM I want to change p2pool for primecoin
As far as I know is to add follow to /p2pool/nework.py: primecoin=math.Object( PARENT=networks.nets['primecoin'], SHARE_PERIOD=60, # seconds target spacing CHAIN_LENGTH=24*60*60//10, # shares REAL_CHAIN_LENGTH=24*60*60//10, # shares TARGET_LOOKBEHIND=70, # shares coinbase maturity SPREAD=120, # blocks IDENTIFIER='f143F5b8c6924210'.decode('hex'), PREFIX='c387192ba6d4729a'.decode('hex'), P2P_PORT=10086, MIN_TARGET=0, MAX_TARGET=2**256//2**20 - 1, PERSIST=False, WORKER_PORT=10087, BOOTSTRAP_ADDRS='chncoin.no-ip.biz'.split(' '), ANNOUNCE_CHANNEL='#p2pool-alt', VERSION_CHECK=lambda v: True, ), But it is no success, who can tell me why ,or need to modify other files? thanks for your apply! Title: Needs a plugin created for it. Post by: DrYak on November 26, 2013, 08:39:57 PM Primecoin use a different type of work, they compute prime numbers (instead of computing SHA256^2 hashes like regular bitcoin).
To use them, p2pool would in addition a plug-in that enables it to compute the primes (just like adding support for litecoin to p2pool required adding a library to enable it to compute Scrypt hashes). As far as I've searched, there aren't currently any such plugin written for P2Pool (and myself, I lack the python skills needed to write it, I only program in C/C++). But don't despair, as XPM rises in popularity, someone with the correct skill set will eventually step-in and write the necessary plugin. Title: Re: Needs a plugin created for it. Post by: helloword2013 on November 28, 2013, 11:38:45 AM Primecoin use a different type of work, they compute prime numbers (instead of computing SHA256^2 hashes like regular bitcoin). thank youTo use them, p2pool would in addition a plug-in that enables it to compute the primes (just like adding support for litecoin to p2pool required adding a library to enable it to compute Scrypt hashes). As far as I've searched, there aren't currently any such plugin written for P2Pool (and myself, I lack the python skills needed to write it, I only program in C/C++). But don't despair, as XPM rises in popularity, someone with the correct skill set will eventually step-in and write the necessary plugin. Title: Re: How to modify p2pool code for primecoin Post by: xenoky on January 21, 2014, 02:00:34 PM any news on p2pool software patch for primecoin?
i googled but i cannot find anything i look in the code https://github.com/Rav3nPL/p2pool-rav and i see the litecoin patch under the dir litecoin-scrypt, i suppose that primecoin need the same for prime algo but i am not able to write the code, maybe with some help. |