Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: Narken on May 07, 2013, 05:23:59 PM



Title: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: Narken on May 07, 2013, 05:23:59 PM
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 (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://bitcointalk.org/index.php?topic=153232.0 (https://bitcointalk.org/index.php?topic=153232.0)


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"


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC based on newest p2pool
Post by: Narken on May 07, 2013, 05:51:08 PM
Got a lot of request for adding BBQCoin

I'm currently looking at that ;-)

Will let you know of progress


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC based on newest p2pool
Post by: blastbob on May 07, 2013, 05:51:44 PM
Sent you a motivation donation for BBQ :)


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC based on newest p2pool
Post by: Narken on May 07, 2013, 06:03:45 PM
Sent you a motivation donation for BBQ :)

Thanks, will be spent on pizza amd beer (and maybe a coke zero for wife if she's lucky ;-)


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC based on newest p2pool
Post by: Narken on May 07, 2013, 08:04:07 PM
Added BBQcoin, test it out


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC based on newest p2pool
Post by: erk on May 08, 2013, 03:59:08 AM
On the p2pool GUI there is allways a sentence that say something like:

"Expected after mining for 24 hours: 2.70 BQC per block."

What does that actually mean? I have not seen a block pay the default address that much, it's usually around half that figure. How is it calculated? I thought it might be all the local payouts added up, but even that didn't match.

The variable is called expected_payout_amount and the line in index.html that calculates it says:

Code:
d3.select('#expected_payout_amount').text(d3.format('.3r')(local/global_stats.pool_hash_rate*local_stats.block_value*(1-local_stats.donation_proportion)));


I just want to modify the text to describe more accurately what the figure means to people viewing the page.







Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC based on newest p2pool
Post by: testerx on May 08, 2013, 04:05:50 AM
Hey Narken there's a mistake in the port #'s, the P2P port is listed as 19323 in the /p2pool/bitcoin/networks.py file but 12339 in the /p2pool/networks.py file

I'm not sure which port we should go with for these though, here I was trying to use 12339 as the port but I'm not sure it was really functional even though I think it's what's technically the p2p port for bbqcoin.
https://github.com/teknobasterd/p2pool-bbq/blob/master/p2pool/networks.py


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC based on newest p2pool
Post by: Narken on May 08, 2013, 07:10:06 AM
On the p2pool GUI there is allways a sentence that say something like:

"Expected after mining for 24 hours: 2.70 BQC per block."

What does that actually mean? I have not seen a block pay the default address that much, it's usually around half that figure. How is it calculated? I thought it might be all the local payouts added up, but even that didn't match.

The variable is called expected_payout_amount and the line in index.html that calculates it says:

Code:
d3.select('#expected_payout_amount').text(d3.format('.3r')(local/global_stats.pool_hash_rate*local_stats.block_value*(1-local_stats.donation_proportion)));


I just want to modify the text to describe more accurately what the figure means to people viewing the page.

It tries to calculate how much of the block value that is paid out to local miners on local node.

So lets say your connected to a p2pool network of 100 mh total and your local server does 50 mh
Then your local miners should get 50% of coin value each time a block if found.

I'm tired, hope you understand it ;-)


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC based on newest p2pool
Post by: Narken on May 08, 2013, 07:11:57 AM
Hey Narken there's a mistake in the port #'s, the P2P port is listed as 19323 in the /p2pool/bitcoin/networks.py file but 12339 in the /p2pool/networks.py file

I'm not sure which port we should go with for these though, here I was trying to use 12339 as the port but I'm not sure it was really functional even though I think it's what's technically the p2p port for bbqcoin.
https://github.com/teknobasterd/p2pool-bbq/blob/master/p2pool/networks.py


Port from /p2pool/networks.py is the one you need to open in both directions (UDP and TCP, or only TCP) for node traffic.
In my code base I have tried to select ports that are not used for something else.


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC based on newest p2pool
Post by: erk on May 08, 2013, 07:33:51 AM
I am getting heaps of Warning: local node 127.0.0.1:40100 misbehaving errors in the bbqcoind debug.log like 39,625 of them in the past 12 hours.

Process on socket 40100 is the python script run_p2pool.py

tcp        0      0 localhost:40100         localhost:19323         ESTABLISHED 11818/python    
tcp        0      0 localhost:19323         localhost:40100         ESTABLISHED 1528/bbqcoind  

Any idea what's causing that and how to stop it filling the debug.log?


Can anyone else check their bbqcoind debug log for similar errors?


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC based on newest p2pool
Post by: Narken on May 08, 2013, 07:56:10 AM
I am getting heaps of Warning: local node 127.0.0.1:40100 misbehaving errors in the bbqcoind debug.log like 39,625 of them in the past 12 hours.

Process on socket 40100 is the python script run_p2pool.py

tcp        0      0 localhost:40100         localhost:19323         ESTABLISHED 11818/python    
tcp        0      0 localhost:19323         localhost:40100         ESTABLISHED 1528/bbqcoind  

Any idea what's causing that and how to stop it filling the debug.log?


Can anyone else check their bbqcoind debug log for similar errors?

Hmm not sure. How you tried to start bbqcoind on other ports by changing bbqcoin.conf ??

Make sure to reflect changes when you start up p2pool in the command agrs.

No hmm, the errors is in the debug log file bbqcoind ?

Nothing in p2pool log ?


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC based on newest p2pool
Post by: erk on May 08, 2013, 08:10:18 AM
I am getting heaps of Warning: local node 127.0.0.1:40100 misbehaving errors in the bbqcoind debug.log like 39,625 of them in the past 12 hours.

Process on socket 40100 is the python script run_p2pool.py

tcp        0      0 localhost:40100         localhost:19323         ESTABLISHED 11818/python    
tcp        0      0 localhost:19323         localhost:40100         ESTABLISHED 1528/bbqcoind  

Any idea what's causing that and how to stop it filling the debug.log?


Can anyone else check their bbqcoind debug log for similar errors?

Hmm not sure. How you tried to start bbqcoind on other ports by changing bbqcoin.conf ??

Make sure to reflect changes when you start up p2pool in the command agrs.

No hmm, the errors is in the debug log file bbqcoind ?

Nothing in p2pool log ?

Could putting -debug in the p2pool startup command cause that? I took it out and restarted p2pool and the errors seem to have stopped.






Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC based on newest p2pool
Post by: LeftToeCut on May 09, 2013, 05:11:04 PM
Anyone working on getting YACoin here as well?


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC based on newest p2pool
Post by: Narken on May 09, 2013, 08:32:16 PM
Added mincoin and royalcoin


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC based on newest p2pool
Post by: blastbob on May 09, 2013, 08:34:18 PM
Added mincoin and royalcoin

Great work!

Remember to donate guys. Better with one good and updated source for p2pool.


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC based on newest p2pool
Post by: Narken on May 09, 2013, 08:41:31 PM
Added mincoin and royalcoin

Great work!

Remember to donate guys. Better with one good and updated source for p2pool.

Yearh should use my time on "premining/early mining" instead

Or be among the first to set up servers for all these "crap" coins ;-)

Nevertheless it's updated


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC based on newest p2pool
Post by: blastbob on May 09, 2013, 08:43:58 PM
Added mincoin and royalcoin

Great work!

Remember to donate guys. Better with one good and updated source for p2pool.

Yearh should use my time on "premining/early mining" instead

Or be among the first to set up servers for all these "crap" coins ;-)

Nevertheless it's updated

Dont complain, just sent you a BTC :)
033bd6fa6a19ffcf0935cde18273dbb4bb1096ea1d42eb5bdb8d0e110aa4f6e5


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC based on newest p2pool
Post by: Narken on May 09, 2013, 09:28:19 PM
Added mincoin and royalcoin

Great work!

Remember to donate guys. Better with one good and updated source for p2pool.

Yearh should use my time on "premining/early mining" instead

Or be among the first to set up servers for all these "crap" coins ;-)

Nevertheless it's updated

Dont complain, just sent you a BTC :)
033bd6fa6a19ffcf0935cde18273dbb4bb1096ea1d42eb5bdb8d0e110aa4f6e5

Bob your the best, owe you a beer ;-)

Updated main post with information on ports and how to start p2pool


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC based on newest p2pool
Post by: infoporter on May 09, 2013, 09:46:59 PM
This seems to also have Bitcoin, Litecoin and TerraCoin network settings still available. Can it still be used to mine those coins too?


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC based on newest p2pool
Post by: Mushoz on May 09, 2013, 10:18:46 PM
Very cool, thank you very much for this! Does this fork have it's own version numbers? It's difficult to keep P2Pool up-to-date if you can't tell what version I'm running and what the latest version is. Thank you very much again! Awesome work!


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC based on newest p2pool
Post by: erk on May 10, 2013, 04:07:05 AM
Can you add PPC? I know it's a tricky one, but Novacoin is a PPC fork and it has p2pool available.



Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC based on newest p2pool
Post by: Narken on May 10, 2013, 07:20:10 AM
This seems to also have Bitcoin, Litecoin and TerraCoin network settings still available. Can it still be used to mine those coins too?

Yes it can


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC based on newest p2pool
Post by: Narken on May 10, 2013, 07:21:05 AM
Very cool, thank you very much for this! Does this fork have it's own version numbers? It's difficult to keep P2Pool up-to-date if you can't tell what version I'm running and what the latest version is. Thank you very much again! Awesome work!

I will consider this, but have not decided yet


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC based on newest p2pool
Post by: Narken on May 10, 2013, 07:21:31 AM
Can you add PPC? I know it's a tricky one, but Novacoin is a PPC fork and it has p2pool available.

Sure will have a look when I have time


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FR based on newest p2pool
Post by: Narken on May 12, 2013, 07:25:15 AM
Updated with Franko


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: eule on May 12, 2013, 02:15:17 PM
I have a hard time running this with franko. It seems to work fine for 15 seconds, then i get lots of exceptions about share value.
franko.conf
Code:
server=1
daemon=1
rpcuser=rpcuser
rpcpassword=xxxxxx
rpcport=7911
port=7912
gen=1
addnode=76.115.8.101
addnode=77.101.119.112
starting with
Code:
screen -d -m -S frkpool /home/eule/p2frank/run_p2pool.py --net franko -a FRBz5YPnNGcoK5ADK2W2Td7tJ33nhwrgxj -f 0 --give-author 1 --w 9777 --bitcoind-p2p-port 7912 --bitcoind-rpc-port 7911 rpcuser xxxxx
???

-edit- getting these errors:
Code:
2013-05-12 14:27:12.453893 >     self.handle_shares(shares, peer)
2013-05-12 14:27:12.453931 >   File "/home/eule/p2frank/p2pool/node.py", line 40, in handle_shares
2013-05-12 14:27:12.453968 >     self.node.set_best_share()
2013-05-12 14:27:12.454004 >   File "/home/eule/p2frank/p2pool/node.py", line 287, in set_best_share
2013-05-12 14:27:12.454042 >     best, desired, decorated_heads = self.tracker.think(self.get_height_rel_highest, self.bitcoind_work.value['previous_block'], self.bitcoind_work.value['bits'], self.known_txs_var.value)
2013-05-12 14:27:12.454101 >   File "/home/eule/p2frank/p2pool/data.py", line 448, in think
2013-05-12 14:27:12.454150 >     if self.attempt_verify(share):
2013-05-12 14:27:12.454188 > --- <exception caught here> ---
2013-05-12 14:27:12.454225 >   File "/home/eule/p2frank/p2pool/data.py", line 427, in attempt_verify
2013-05-12 14:27:12.454261 >     share.check(self)
2013-05-12 14:27:12.454298 >   File "/home/eule/p2frank/p2pool/data.py", line 315, in check
2013-05-12 14:27:12.454334 >     raise ValueError('share_info invalid')
2013-05-12 14:27:12.454370 > exceptions.ValueError: share_info invalid
2013-05-12 14:27:12.460029 > Traceback (most recent call last):
2013-05-12 14:27:12.460090 >   File "/home/eule/p2frank/p2pool/node.py", line 127, in download_shares
2013-05-12 14:27:12.460130 >     self.handle_shares(shares, peer)
2013-05-12 14:27:12.460172 >   File "/home/eule/p2frank/p2pool/node.py", line 40, in handle_shares
2013-05-12 14:27:12.460212 >     self.node.set_best_share()
2013-05-12 14:27:12.460249 >   File "/home/eule/p2frank/p2pool/node.py", line 287, in set_best_share
2013-05-12 14:27:12.460327 >     best, desired, decorated_heads = self.tracker.think(self.get_height_rel_highest, self.bitcoind_work.value['previous_block'], self.bitcoind_work.value['bits'], self.known_txs_var.value)
2013-05-12 14:27:12.460390 >   File "/home/eule/p2frank/p2pool/data.py", line 448, in think
2013-05-12 14:27:12.460430 >     if self.attempt_verify(share):
2013-05-12 14:27:12.460468 > --- <exception caught here> ---
2013-05-12 14:27:12.460505 >   File "/home/eule/p2frank/p2pool/data.py", line 427, in attempt_verify
2013-05-12 14:27:12.460541 >     share.check(self)
2013-05-12 14:27:12.460578 >   File "/home/eule/p2frank/p2pool/data.py", line 315, in check
2013-05-12 14:27:12.460640 >     raise ValueError('share_info invalid')
2013-05-12 14:27:12.460679 > exceptions.ValueError: share_info invalid
2013-05-12 14:27:12.465550 > Traceback (most recent call last):
2013-05-12 14:27:12.465652 >   File "/home/eule/p2frank/p2pool/node.py", line 127, in download_shares
2013-05-12 14:27:12.465710 >     self.handle_shares(shares, peer)
2013-05-12 14:27:12.465751 >   File "/home/eule/p2frank/p2pool/node.py", line 40, in handle_shares
2013-05-12 14:27:12.465788 >     self.node.set_best_share()
2013-05-12 14:27:12.465826 >   File "/home/eule/p2frank/p2pool/node.py", line 287, in set_best_share
2013-05-12 14:27:12.465863 >     best, desired, decorated_heads = self.tracker.think(self.get_height_rel_highest, self.bitcoind_work.value['previous_block'], self.bitcoind_work.value['bits'], self.known_txs_var.value)
2013-05-12 14:27:12.465905 >   File "/home/eule/p2frank/p2pool/data.py", line 448, in think
2013-05-12 14:27:12.465944 >     if self.attempt_verify(share):
2013-05-12 14:27:12.465981 > --- <exception caught here> ---
2013-05-12 14:27:12.466017 >   File "/home/eule/p2frank/p2pool/data.py", line 427, in attempt_verify
2013-05-12 14:27:12.466054 >     share.check(self)
2013-05-12 14:27:12.466091 >   File "/home/eule/p2frank/p2pool/data.py", line 315, in check
2013-05-12 14:27:12.466128 >     raise ValueError('share_info invalid')
2013-05-12 14:27:12.466164 > exceptions.ValueError: share_info invalid
2013-05-12 14:27:12.470952 > Traceback (most recent call last):
2013-05-12 14:27:12.471007 >   File "/home/eule/p2frank/p2pool/node.py", line 127, in download_shares
2013-05-12 14:27:12.471053 >     self.handle_shares(shares, peer)
Again it seems to work fine in the beginning, and suddenly it spazzes out.


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: erk on May 13, 2013, 06:50:36 AM
YAC is very popular.

Seems to be a bounty here too for a working p2pool: https://bitcointalk.org/index.php?topic=200252.0


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: microxp on May 13, 2013, 02:08:58 PM
great work,cant u add the yacoin support for the p2pool??


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: gyverlb on May 13, 2013, 02:29:57 PM
How P2Pool helps reduce centralization when one can mine in it without using full node locally? Such scenario makes P2Pool no different at all from any other classic pool.

Depends where you come from. If you switch from a centralized pool with higher hashrate than the P2Pool node you connect to you help decentralizing the hashrate distribution (on Bitcoin where P2Pool is only 800GH/s and the best node might have 120-130GH/s it should always be the case). On young alt-coins some P2Pool node might have a sizeable share of the whole network hashrate but they are the exceptions.

It's obviously better if you setup your own node. If done right (see my signature), it should almost always give you more income than a public node too.


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: Narken on May 13, 2013, 08:28:17 PM
I have a hard time running this with franko. It seems to work fine for 15 seconds, then i get lots of exceptions about share value.
franko.conf
Code:
server=1
daemon=1
rpcuser=rpcuser
rpcpassword=xxxxxx
rpcport=7911
port=7912
gen=1
addnode=76.115.8.101
addnode=77.101.119.112
starting with
Code:
screen -d -m -S frkpool /home/eule/p2frank/run_p2pool.py --net franko -a FRBz5YPnNGcoK5ADK2W2Td7tJ33nhwrgxj -f 0 --give-author 1 --w 9777 --bitcoind-p2p-port 7912 --bitcoind-rpc-port 7911 rpcuser xxxxx
???

-edit- getting these errors:
Code:
2013-05-12 14:27:12.453893 >     self.handle_shares(shares, peer)
2013-05-12 14:27:12.453931 >   File "/home/eule/p2frank/p2pool/node.py", line 40, in handle_shares
2013-05-12 14:27:12.453968 >     self.node.set_best_share()
2013-05-12 14:27:12.454004 >   File "/home/eule/p2frank/p2pool/node.py", line 287, in set_best_share
2013-05-12 14:27:12.454042 >     best, desired, decorated_heads = self.tracker.think(self.get_height_rel_highest, self.bitcoind_work.value['previous_block'], self.bitcoind_work.value['bits'], self.known_txs_var.value)
2013-05-12 14:27:12.454101 >   File "/home/eule/p2frank/p2pool/data.py", line 448, in think
2013-05-12 14:27:12.454150 >     if self.attempt_verify(share):
2013-05-12 14:27:12.454188 > --- <exception caught here> ---
2013-05-12 14:27:12.454225 >   File "/home/eule/p2frank/p2pool/data.py", line 427, in attempt_verify
2013-05-12 14:27:12.454261 >     share.check(self)
2013-05-12 14:27:12.454298 >   File "/home/eule/p2frank/p2pool/data.py", line 315, in check
2013-05-12 14:27:12.454334 >     raise ValueError('share_info invalid')
2013-05-12 14:27:12.454370 > exceptions.ValueError: share_info invalid
2013-05-12 14:27:12.460029 > Traceback (most recent call last):
2013-05-12 14:27:12.460090 >   File "/home/eule/p2frank/p2pool/node.py", line 127, in download_shares
2013-05-12 14:27:12.460130 >     self.handle_shares(shares, peer)
2013-05-12 14:27:12.460172 >   File "/home/eule/p2frank/p2pool/node.py", line 40, in handle_shares
2013-05-12 14:27:12.460212 >     self.node.set_best_share()
2013-05-12 14:27:12.460249 >   File "/home/eule/p2frank/p2pool/node.py", line 287, in set_best_share
2013-05-12 14:27:12.460327 >     best, desired, decorated_heads = self.tracker.think(self.get_height_rel_highest, self.bitcoind_work.value['previous_block'], self.bitcoind_work.value['bits'], self.known_txs_var.value)
2013-05-12 14:27:12.460390 >   File "/home/eule/p2frank/p2pool/data.py", line 448, in think
2013-05-12 14:27:12.460430 >     if self.attempt_verify(share):
2013-05-12 14:27:12.460468 > --- <exception caught here> ---
2013-05-12 14:27:12.460505 >   File "/home/eule/p2frank/p2pool/data.py", line 427, in attempt_verify
2013-05-12 14:27:12.460541 >     share.check(self)
2013-05-12 14:27:12.460578 >   File "/home/eule/p2frank/p2pool/data.py", line 315, in check
2013-05-12 14:27:12.460640 >     raise ValueError('share_info invalid')
2013-05-12 14:27:12.460679 > exceptions.ValueError: share_info invalid
2013-05-12 14:27:12.465550 > Traceback (most recent call last):
2013-05-12 14:27:12.465652 >   File "/home/eule/p2frank/p2pool/node.py", line 127, in download_shares
2013-05-12 14:27:12.465710 >     self.handle_shares(shares, peer)
2013-05-12 14:27:12.465751 >   File "/home/eule/p2frank/p2pool/node.py", line 40, in handle_shares
2013-05-12 14:27:12.465788 >     self.node.set_best_share()
2013-05-12 14:27:12.465826 >   File "/home/eule/p2frank/p2pool/node.py", line 287, in set_best_share
2013-05-12 14:27:12.465863 >     best, desired, decorated_heads = self.tracker.think(self.get_height_rel_highest, self.bitcoind_work.value['previous_block'], self.bitcoind_work.value['bits'], self.known_txs_var.value)
2013-05-12 14:27:12.465905 >   File "/home/eule/p2frank/p2pool/data.py", line 448, in think
2013-05-12 14:27:12.465944 >     if self.attempt_verify(share):
2013-05-12 14:27:12.465981 > --- <exception caught here> ---
2013-05-12 14:27:12.466017 >   File "/home/eule/p2frank/p2pool/data.py", line 427, in attempt_verify
2013-05-12 14:27:12.466054 >     share.check(self)
2013-05-12 14:27:12.466091 >   File "/home/eule/p2frank/p2pool/data.py", line 315, in check
2013-05-12 14:27:12.466128 >     raise ValueError('share_info invalid')
2013-05-12 14:27:12.466164 > exceptions.ValueError: share_info invalid
2013-05-12 14:27:12.470952 > Traceback (most recent call last):
2013-05-12 14:27:12.471007 >   File "/home/eule/p2frank/p2pool/node.py", line 127, in download_shares
2013-05-12 14:27:12.471053 >     self.handle_shares(shares, peer)
Again it seems to work fine in the beginning, and suddenly it spazzes out.

Did you get it to work.

Else try to set "--give-author 0" not sure it can handle undefined altcoins ( havent checked donation code)


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: Jude Austin on May 14, 2013, 09:52:35 AM
Any plans for YACoin?

Keep up the good work!


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: eule on May 14, 2013, 05:36:16 PM
Did you get it to work.

Else try to set "--give-author 0" not sure it can handle undefined altcoins ( havent checked donation code)
Haven't tried again, decided to go mincoin (with --give-author 0) which works like a charm!
Possibly it had to do with too many python instances for my 512 MB of RAM aswell.   ;D


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: schnebi on May 15, 2013, 11:46:52 PM
Finally got my own P2Pool Node Running (Hard Work ;) )

For practicing, I first tried to setup a BBQ-Coin Pool

It seems like everything is working fine. Payments are coming in.

But for a reason, I can't figure out, the"stats page" is not working and I have no idea why. Do I have to personalize something in the .html files?

You can see the empty stats pages at : bbq.crypto-coins.de

I even would appreciate if anybody could throw a few KHashs on my node to try if everything is working fine

Just point your miner to 93.186.200.124:8900 using your BBQCoin Adress as your username!

Thanks in advance!!


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: erk on May 15, 2013, 11:52:06 PM
Any plans for YACoin?

Keep up the good work!

I don't thing anyone wants the Yacoin p2pool bounty.



Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: akabane on May 16, 2013, 06:48:36 AM
Narken : Any chances of having p2pool to work with the brand new GLDcoin ?


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: ssshhh on May 16, 2013, 07:29:30 AM
Narken : Any chances of having p2pool to work with the brand new GLDcoin ?

Yes.  Is this possible?



Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: faraway on May 16, 2013, 08:40:21 AM
Narken : Any chances of having p2pool to work with the brand new GLDcoin ?

Yes.  Is this possible?



One fully reliable:
----
cgminer --scrypt -o next.afraid.org:8117 -u yourGLDaddress -p .

statistics available here: http://next.afraid.org:8117

2% fee.

----


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: schnebi on May 16, 2013, 09:31:20 AM
I have a hard time running this with franko. It seems to work fine for 15 seconds, then i get lots of exceptions about share value.
franko.conf
Code:
server=1
daemon=1
rpcuser=rpcuser
rpcpassword=xxxxxx
rpcport=7911
port=7912
gen=1
addnode=76.115.8.101
addnode=77.101.119.112
starting with
Code:
screen -d -m -S frkpool /home/eule/p2frank/run_p2pool.py --net franko -a FRBz5YPnNGcoK5ADK2W2Td7tJ33nhwrgxj -f 0 --give-author 1 --w 9777 --bitcoind-p2p-port 7912 --bitcoind-rpc-port 7911 rpcuser xxxxx
???

-edit- getting these errors:
Code:
2013-05-12 14:27:12.453893 >     self.handle_shares(shares, peer)
2013-05-12 14:27:12.453931 >   File "/home/eule/p2frank/p2pool/node.py", line 40, in handle_shares
2013-05-12 14:27:12.453968 >     self.node.set_best_share()
2013-05-12 14:27:12.454004 >   File "/home/eule/p2frank/p2pool/node.py", line 287, in set_best_share
2013-05-12 14:27:12.454042 >     best, desired, decorated_heads = self.tracker.think(self.get_height_rel_highest, self.bitcoind_work.value['previous_block'], self.bitcoind_work.value['bits'], self.known_txs_var.value)
2013-05-12 14:27:12.454101 >   File "/home/eule/p2frank/p2pool/data.py", line 448, in think
2013-05-12 14:27:12.454150 >     if self.attempt_verify(share):
2013-05-12 14:27:12.454188 > --- <exception caught here> ---
2013-05-12 14:27:12.454225 >   File "/home/eule/p2frank/p2pool/data.py", line 427, in attempt_verify
2013-05-12 14:27:12.454261 >     share.check(self)
2013-05-12 14:27:12.454298 >   File "/home/eule/p2frank/p2pool/data.py", line 315, in check
2013-05-12 14:27:12.454334 >     raise ValueError('share_info invalid')
2013-05-12 14:27:12.454370 > exceptions.ValueError: share_info invalid
2013-05-12 14:27:12.460029 > Traceback (most recent call last):
2013-05-12 14:27:12.460090 >   File "/home/eule/p2frank/p2pool/node.py", line 127, in download_shares
2013-05-12 14:27:12.460130 >     self.handle_shares(shares, peer)
2013-05-12 14:27:12.460172 >   File "/home/eule/p2frank/p2pool/node.py", line 40, in handle_shares
2013-05-12 14:27:12.460212 >     self.node.set_best_share()
2013-05-12 14:27:12.460249 >   File "/home/eule/p2frank/p2pool/node.py", line 287, in set_best_share
2013-05-12 14:27:12.460327 >     best, desired, decorated_heads = self.tracker.think(self.get_height_rel_highest, self.bitcoind_work.value['previous_block'], self.bitcoind_work.value['bits'], self.known_txs_var.value)
2013-05-12 14:27:12.460390 >   File "/home/eule/p2frank/p2pool/data.py", line 448, in think
2013-05-12 14:27:12.460430 >     if self.attempt_verify(share):
2013-05-12 14:27:12.460468 > --- <exception caught here> ---
2013-05-12 14:27:12.460505 >   File "/home/eule/p2frank/p2pool/data.py", line 427, in attempt_verify
2013-05-12 14:27:12.460541 >     share.check(self)
2013-05-12 14:27:12.460578 >   File "/home/eule/p2frank/p2pool/data.py", line 315, in check
2013-05-12 14:27:12.460640 >     raise ValueError('share_info invalid')
2013-05-12 14:27:12.460679 > exceptions.ValueError: share_info invalid
2013-05-12 14:27:12.465550 > Traceback (most recent call last):
2013-05-12 14:27:12.465652 >   File "/home/eule/p2frank/p2pool/node.py", line 127, in download_shares
2013-05-12 14:27:12.465710 >     self.handle_shares(shares, peer)
2013-05-12 14:27:12.465751 >   File "/home/eule/p2frank/p2pool/node.py", line 40, in handle_shares
2013-05-12 14:27:12.465788 >     self.node.set_best_share()
2013-05-12 14:27:12.465826 >   File "/home/eule/p2frank/p2pool/node.py", line 287, in set_best_share
2013-05-12 14:27:12.465863 >     best, desired, decorated_heads = self.tracker.think(self.get_height_rel_highest, self.bitcoind_work.value['previous_block'], self.bitcoind_work.value['bits'], self.known_txs_var.value)
2013-05-12 14:27:12.465905 >   File "/home/eule/p2frank/p2pool/data.py", line 448, in think
2013-05-12 14:27:12.465944 >     if self.attempt_verify(share):
2013-05-12 14:27:12.465981 > --- <exception caught here> ---
2013-05-12 14:27:12.466017 >   File "/home/eule/p2frank/p2pool/data.py", line 427, in attempt_verify
2013-05-12 14:27:12.466054 >     share.check(self)
2013-05-12 14:27:12.466091 >   File "/home/eule/p2frank/p2pool/data.py", line 315, in check
2013-05-12 14:27:12.466128 >     raise ValueError('share_info invalid')
2013-05-12 14:27:12.466164 > exceptions.ValueError: share_info invalid
2013-05-12 14:27:12.470952 > Traceback (most recent call last):
2013-05-12 14:27:12.471007 >   File "/home/eule/p2frank/p2pool/node.py", line 127, in download_shares
2013-05-12 14:27:12.471053 >     self.handle_shares(shares, peer)
Again it seems to work fine in the beginning, and suddenly it spazzes out.

Did you get it to work.

Else try to set "--give-author 0" not sure it can handle undefined altcoins ( havent checked donation code)

Same Problem here with Junkcoin. It works perfect with BBQCoin, but with Junkcoin i get the same error after approximately 15 seconds. "--give-author 0" is set and RAM Usage i just about 50%!!

Any ideas?


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: akabane on May 16, 2013, 10:35:12 AM
Narken : Any chances of having p2pool to work with the brand new GLDcoin ?

Yes.  Is this possible?



One fully reliable:
----
cgminer --scrypt -o next.afraid.org:8117 -u yourGLDaddress -p .

statistics available here: http://next.afraid.org:8117

2% fee.

----


Instead of promoting you own node, please share the modification you made to it to make it work, that way everybody will be able to setup their own node.
I get bad latency to yours that why I am asking.

You known that p2pool is GPL and that you have to redistribute it if you modify it ? Just my 2 cents :)



Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: Narken on May 16, 2013, 06:46:58 PM
I have a hard time running this with franko. It seems to work fine for 15 seconds, then i get lots of exceptions about share value.
franko.conf
Code:
server=1
daemon=1
rpcuser=rpcuser
rpcpassword=xxxxxx
rpcport=7911
port=7912
gen=1
addnode=76.115.8.101
addnode=77.101.119.112
starting with
Code:
screen -d -m -S frkpool /home/eule/p2frank/run_p2pool.py --net franko -a FRBz5YPnNGcoK5ADK2W2Td7tJ33nhwrgxj -f 0 --give-author 1 --w 9777 --bitcoind-p2p-port 7912 --bitcoind-rpc-port 7911 rpcuser xxxxx
???

-edit- getting these errors:
Code:
2013-05-12 14:27:12.453893 >     self.handle_shares(shares, peer)
2013-05-12 14:27:12.453931 >   File "/home/eule/p2frank/p2pool/node.py", line 40, in handle_shares
2013-05-12 14:27:12.453968 >     self.node.set_best_share()
2013-05-12 14:27:12.454004 >   File "/home/eule/p2frank/p2pool/node.py", line 287, in set_best_share
2013-05-12 14:27:12.454042 >     best, desired, decorated_heads = self.tracker.think(self.get_height_rel_highest, self.bitcoind_work.value['previous_block'], self.bitcoind_work.value['bits'], self.known_txs_var.value)
2013-05-12 14:27:12.454101 >   File "/home/eule/p2frank/p2pool/data.py", line 448, in think
2013-05-12 14:27:12.454150 >     if self.attempt_verify(share):
2013-05-12 14:27:12.454188 > --- <exception caught here> ---
2013-05-12 14:27:12.454225 >   File "/home/eule/p2frank/p2pool/data.py", line 427, in attempt_verify
2013-05-12 14:27:12.454261 >     share.check(self)
2013-05-12 14:27:12.454298 >   File "/home/eule/p2frank/p2pool/data.py", line 315, in check
2013-05-12 14:27:12.454334 >     raise ValueError('share_info invalid')
2013-05-12 14:27:12.454370 > exceptions.ValueError: share_info invalid
2013-05-12 14:27:12.460029 > Traceback (most recent call last):
2013-05-12 14:27:12.460090 >   File "/home/eule/p2frank/p2pool/node.py", line 127, in download_shares
2013-05-12 14:27:12.460130 >     self.handle_shares(shares, peer)
2013-05-12 14:27:12.460172 >   File "/home/eule/p2frank/p2pool/node.py", line 40, in handle_shares
2013-05-12 14:27:12.460212 >     self.node.set_best_share()
2013-05-12 14:27:12.460249 >   File "/home/eule/p2frank/p2pool/node.py", line 287, in set_best_share
2013-05-12 14:27:12.460327 >     best, desired, decorated_heads = self.tracker.think(self.get_height_rel_highest, self.bitcoind_work.value['previous_block'], self.bitcoind_work.value['bits'], self.known_txs_var.value)
2013-05-12 14:27:12.460390 >   File "/home/eule/p2frank/p2pool/data.py", line 448, in think
2013-05-12 14:27:12.460430 >     if self.attempt_verify(share):
2013-05-12 14:27:12.460468 > --- <exception caught here> ---
2013-05-12 14:27:12.460505 >   File "/home/eule/p2frank/p2pool/data.py", line 427, in attempt_verify
2013-05-12 14:27:12.460541 >     share.check(self)
2013-05-12 14:27:12.460578 >   File "/home/eule/p2frank/p2pool/data.py", line 315, in check
2013-05-12 14:27:12.460640 >     raise ValueError('share_info invalid')
2013-05-12 14:27:12.460679 > exceptions.ValueError: share_info invalid
2013-05-12 14:27:12.465550 > Traceback (most recent call last):
2013-05-12 14:27:12.465652 >   File "/home/eule/p2frank/p2pool/node.py", line 127, in download_shares
2013-05-12 14:27:12.465710 >     self.handle_shares(shares, peer)
2013-05-12 14:27:12.465751 >   File "/home/eule/p2frank/p2pool/node.py", line 40, in handle_shares
2013-05-12 14:27:12.465788 >     self.node.set_best_share()
2013-05-12 14:27:12.465826 >   File "/home/eule/p2frank/p2pool/node.py", line 287, in set_best_share
2013-05-12 14:27:12.465863 >     best, desired, decorated_heads = self.tracker.think(self.get_height_rel_highest, self.bitcoind_work.value['previous_block'], self.bitcoind_work.value['bits'], self.known_txs_var.value)
2013-05-12 14:27:12.465905 >   File "/home/eule/p2frank/p2pool/data.py", line 448, in think
2013-05-12 14:27:12.465944 >     if self.attempt_verify(share):
2013-05-12 14:27:12.465981 > --- <exception caught here> ---
2013-05-12 14:27:12.466017 >   File "/home/eule/p2frank/p2pool/data.py", line 427, in attempt_verify
2013-05-12 14:27:12.466054 >     share.check(self)
2013-05-12 14:27:12.466091 >   File "/home/eule/p2frank/p2pool/data.py", line 315, in check
2013-05-12 14:27:12.466128 >     raise ValueError('share_info invalid')
2013-05-12 14:27:12.466164 > exceptions.ValueError: share_info invalid
2013-05-12 14:27:12.470952 > Traceback (most recent call last):
2013-05-12 14:27:12.471007 >   File "/home/eule/p2frank/p2pool/node.py", line 127, in download_shares
2013-05-12 14:27:12.471053 >     self.handle_shares(shares, peer)
Again it seems to work fine in the beginning, and suddenly it spazzes out.

Did you get it to work.

Else try to set "--give-author 0" not sure it can handle undefined altcoins ( havent checked donation code)

Same Problem here with Junkcoin. It works perfect with BBQCoin, but with Junkcoin i get the same error after approximately 15 seconds. "--give-author 0" is set and RAM Usage i just about 50%!!

Any ideas?

Will check


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: schnebi on May 17, 2013, 10:03:31 PM
Hey Narken,

thank you very much for the work you are doing. I think I'm going to give you a little tip. Do you think it is possible to add the code for Worldcoin and Goldcoin?


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: schnebi on May 17, 2013, 10:14:08 PM
Oh, and another thing:

The TerraCoin Server seems to weotk great, but i cant get a connection to the server with my worker. Also I can't access the stats page through my web browser

EDIT: Forget what I said, I'm an idiot... I forwarded the UDP instead of the TCP Port  :P


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: airborne305 on May 18, 2013, 07:05:08 PM
Narken,

this thread has been very informative. i posted a thread last night looking for guidance on what/where/how/why porting p2pool to work with whichever currency.

https://bitcointalk.org/index.php?topic=208337.new#new

it would be great if you, or anybody else would make the appropriate changes to support WorldCoin (WDC). but i am looking more for the knowledge of doing it. i dont have anything in the form of cryptocurrencies to donate, but i would be willing to give back to he community by getting a pool online and would be more than willing to shoot you something.

anyways, your input on this matter would be greatly appreciated.


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: baloo_kiev on May 18, 2013, 09:56:59 PM
Please add p2pool.org (current uptime 4.5 days) and 78.27.191.182 (this one is mine, I try to keep it up, but have to restart it eventually) to mincoin bootstrap list. Also, correct ports for mincoin are --bitcoind-rpc-port=9335 --bitcoind-p2p-port=9334, so please modify p2pool/bitcoin/networks.py


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: blastbob on May 18, 2013, 10:02:23 PM
Dont forget to donate to Narken for his great work :)


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: baloo_kiev on May 18, 2013, 11:30:16 PM
Dont forget to donate to Narken for his great work :)


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: basslike on May 23, 2013, 03:13:25 PM
Could it be possible to add Nibble (NBL) support?
https://bitcointalk.org/index.php?topic=209035.0
I would glady donate NBL to you.

Great work



Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: achillez on May 25, 2013, 02:32:08 AM
really like the p2pool program but I can't seem to connect to this via my http browser. Here's the cmd line, am I doing something wrong?
 ./run_p2pool.py --debug --net litecoin -w 5643 -f 3 --give-author 0 --bitcoind-address 127.0.0.1 --bitcoind-rpc-port 18322 <account> <passwd >

and the output -->

2013-05-24 19:32:57.049016 p2pool (version 11.4-31-g19b3dd0-dirty)
2013-05-24 19:32:57.049083
2013-05-24 19:32:57.049131 Testing bitcoind RPC connection to 'http://127.0.0.1:18322/' with username 'YOURACCOUNT'...
2013-05-24 19:32:57.092168     ...success!
2013-05-24 19:32:57.092261     Current block hash: e2ae622fd0f3ba2d7ccaf7d3619716f110a2bfd587f80e87a01f27e72dbe2d31
2013-05-24 19:32:57.092324     Current block height: 358755
2013-05-24 19:32:57.092374
2013-05-24 19:32:57.092921 Testing bitcoind P2P connection to '127.0.0.1:9333'...


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: Decagrog on May 25, 2013, 03:35:18 PM
I would like to setup a pool for a couple of new altcoin but seems no trivial...anyone can explain a bit how to setup the parameter in network.py for different altcoin?
For example what are IDENTIFIER and PREFIX value? They can be retrieved in the main.cpp code?


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: LOLMoney on June 04, 2013, 02:30:40 AM
I am running a BBQCoin p2pool using this code and it is showing multiple different payouts being made [Using the interface built by hardcpp via https://github.com/hardcpp/P2PoolExtendedFrontEnd] and I see this:

Mon Jun 03 2013 22:12:00 GMT-0400 (EDT)   41.7
Mon Jun 03 2013 21:38:24 GMT-0400 (EDT)   41.7
Mon Jun 03 2013 21:04:48 GMT-0400 (EDT)   41.6
Mon Jun 03 2013 20:31:12 GMT-0400 (EDT)   41.6
Mon Jun 03 2013 19:57:36 GMT-0400 (EDT)   41.8
Mon Jun 03 2013 19:24:00 GMT-0400 (EDT)   41.8
Mon Jun 03 2013 18:50:24 GMT-0400 (EDT)   41.8
Mon Jun 03 2013 18:16:48 GMT-0400 (EDT)   41.8
Mon Jun 03 2013 17:43:12 GMT-0400 (EDT)   42.0
Mon Jun 03 2013 17:09:36 GMT-0400 (EDT)   42.0
Mon Jun 03 2013 16:36:00 GMT-0400 (EDT)   42.1
Mon Jun 03 2013 16:02:24 GMT-0400 (EDT)   43.0


However, I have only received one payment to my wallet for the amount of 41.65969052BQC @ 6/3/13 20:38.
Any idea what's going on with the rest of them?


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: LOLMoney on June 04, 2013, 11:19:13 PM
I have added Worldcoin to the code that was posted.

https://bitcointalk.org/index.php?topic=225617.msg2373461#msg2373461


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: walf_man on June 06, 2013, 06:53:42 AM
...

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?


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: Narken on June 09, 2013, 12:26:47 PM
Think I got all pms answered, if not shoot me again :-)

(Been quite bust at RL work, sorry)



Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: Narken on June 09, 2013, 12:30:20 PM
...

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

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


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: Narken on June 09, 2013, 12:33:43 PM
...

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.


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: walf_man on June 15, 2013, 06:44:50 AM
...

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.
Thank you very much! I see.


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: mapleshadow on June 29, 2013, 04:00:39 PM
Excuse me, can increase memecoin, bitgem currency support?


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: mapleshadow on July 03, 2013, 05:17:50 PM
hello~~~~
Hello, may I ask
One kind of currency of the [IDENTIFIER] and [PREFIX] values ​​are how to get it?
For example memecoin, its value is what is it?


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: nemercry on January 25, 2014, 11:58:53 AM
Hey,

i am currently trying to setup a p2pool for DOGE, IFC and MOON.

I am currently starting to get IFC(Infinitecoin) working first.
Can you explain in short terms what explicitly parts of your programm i do need to change ?

Would appreciate any helpo to make progress faster.


Regards


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: roy7 on February 07, 2014, 06:02:22 AM
You two might find this of use.

https://bitcointalk.org/index.php?topic=214512.0


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: linuxninja39 on March 04, 2014, 01:18:52 AM
Hello

I'm interested in a getting p2pool working with a large number of altcoins. Anyone here available to help me with that? I may have some funds to compensate you for you time.


Title: Re: [ANN] P2Pool code base for CNC/FTC/JKC/BQC/RYC/MNC/FRK based on newest p2pool
Post by: msy2008 on April 20, 2018, 05:20:37 AM
Hey,

i am currently trying to setup a p2pool for DOGE, IFC and MOON.

I am currently starting to get IFC(Infinitecoin) working first.
Can you explain in short terms what explicitly parts of your programm i do need to change ?

Would appreciate any helpo to make progress faster.


Regards
HI Don't know if you learned IFC pool? I need help