Pages:
Author

Topic: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool - page 4. (Read 7851 times)

member
Activity: 112
Merit: 10
Got a lot of request for adding BBQCoin

I'm currently looking at that ;-)

Will let you know of progress
member
Activity: 112
Merit: 10
PLEASE Post or pm me your server address and which altcoin you run, so I can add some more bootstraps to connect nodes

P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC based on newest p2pool

Including all latest fixes and tweaks resultning is way less rejects and DOA

https://github.com/narken/p2pool-altcoins


Quick guide on how to start p2pool and port settings:
There is few things you should make note of, first is the port settings and next is command arguments for both the xxxcoind client and p2pool.

First start with you xxxcoind client and let it sync the whole blockchain
Then edit edit xxxcoin.conf with something like this
rpcuser=YOURACCOUNT
rpcpassword=YOURPASSWORD
rpcallowip=127.0.0.1
rpcallowip=192.168.*.*
rpcport=18322
port=183122
daemon=1
server=1

These ports are used by xxcoind and by p2pool when it tries to connect to your client.
Then start either the daemon or QT client (daemon is best)

Next up is p2pool
Start it up with something like this

Code:
run_p2pool.py --net mincoin -f 3 --give-author 0 --w 5643 --bitcoind-address 192.168.1.5 --bitcoind-p2p-port 13992 --bitcoind-rpc-port 13991 YOURACCOUNT YOURPASSWORD

Notice how I specify --bitcoind-address since I'm not running the daemon on same computer as the p2pool server
(Very good idea when running an altcoin that might be "unsafe")
I run all my altcoin daemons in different sandboxs just to make sure they don't do anything naughty

--w is the incoming port you need to open so people can connect to your p2pool server

Next big thing is whether you would like to peer up with other p2pool or not.
Check p2pool/networks.py and find the altcoin you want to run a server for.
See following lines
        IDENTIFIER='e031F5b8c6924210'.decode('hex'),
        PREFIX='e290192ba6d4729a'.decode('hex'),
        P2P_PORT=9772,
P2P_PORT is used by p2pool to connect or allow connection to other peers (p2pool servers)
IDENTIFIER and PREFIX must also match
So open this port also to connect to peers

I think that's all for now, getting late ;-)

Also see this great thread for P2pool information:

https://bitcointalksearch.org/topic/a-guide-for-mining-efficiently-on-p2pool-includes-fud-repellent-and-faq-153232


PLEASE NOTE:
You can't just switch over to the new code base on existing cnc p2pool server.
(You can try, but it will most likly result in incorrect share payment and LOTS of DOA (since share id is changed))

You need to setup a fresh server on a new port and tell your miners to use that one instead.

If you want to connect to the cnc node network you need to open up port 13389 UDP / TCP for incoming and outgoing traffic

Run P2Pool with the "--net chncoin" option for CNC


Please donate for my work if you like it and use it

Bitcoin to 1NyfKgd29XAHkZhjFZbTWhz1YKQX2Dwtrg

CHNcoin to CetTdSEEERtWSrDb2kCqGZpb7TjtaBacpo

Feathercoin to 6vmP85BVbP51eSp1zCQn3xns1D8JWWSAbV

Litecoin to LbRt6djFknA8ZLYGAdp5eb48rVR1xxCuQT

It took a bit of work and lot's of time

UPDATES:
May 12, 2013, 07:25:20: Updated with Franko, use --net franko
May 09, 2013, 09:10:01: Added information on ports and how to start p2pool
May 09, 2013, 09:06:42: Added Royalcoin and Mincoin use --net royal/mincoin
May 07, 2013, 08:18:34: Added BBQcoin, start it with "--net bbqcoin"
Pages:
Jump to: