Post
Topic
Board Altcoin Discussion
Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
by
Narken
on 09/06/2013, 12:33:43 UTC
...

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

Thanks to your great work!
But how to get
IDENTIFIER='e031F5b8c6924210'.decode('hex'),
PREFIX='e290192ba6d4729a'.decode('hex'),
P2P_PORT=9772,
for new altcoin?

You can keep em or change them. Better to change them to something else through
(It's mainly used so to make sure other p2p's trying to node up with you are using same values. Like if if you have two different pools running XXX coin but with different share settings. If those pools node up, it might end in shares not been paid correct on both pools. So you can use above setting to make sure only pool with same ident and node up. Makes sense ?)


P2P_port is used for in/out going p2p node connections.