Bitcoin Forum

Bitcoin => Pools => Topic started by: sheinsha on May 14, 2013, 09:04:47 PM



Title: P2Pool into a private pool, disconnected from global pool
Post by: sheinsha on May 14, 2013, 09:04:47 PM
Hi everyone, i have been trying to disconnect my p2pool node from the global p2pool network, to turn it into a private pool.
I tried setting
Code:
--outgoing-conns 0 --max-conns 0
but it when i try to connect a miner i get
Code:
SON-RPC call failed: {
   "message": "p2pool is not connected to any peers",
   "data": null,
   "code": -12345
}

has anyone done this before?

Thanks in advance!!


Title: Re: P2Pool into a private pool, disconnected from global pool
Post by: walf_man on May 15, 2013, 06:07:55 AM
p2p is peer to peer.
if you close the conection to other peers, then you will got errors.


Title: Re: P2Pool into a private pool, disconnected from global pool
Post by: maqifrnswa on May 15, 2013, 12:39:24 PM
Hi everyone, i have been trying to disconnect my p2pool node from the global p2pool network, to turn it into a private pool.
I tried setting
Code:
--outgoing-conns 0 --max-conns 0
but it when i try to connect a miner i get
Code:
SON-RPC call failed: {
   "message": "p2pool is not connected to any peers",
   "data": null,
   "code": -12345
}

has anyone done this before?

Thanks in advance!!

some litecoin pools do what you want to do, but you have to edit the source code to do it.


Title: Re: P2Pool into a private pool, disconnected from global pool
Post by: maqifrnswa on May 15, 2013, 07:44:41 PM
here's a link with some more info:
https://bitcointalk.org/index.php?topic=193669.msg2010200#msg2010200


Title: Re: P2Pool into a private pool, disconnected from global pool
Post by: sheinsha on May 16, 2013, 04:05:31 AM
Thanks everyone for your help!
I have accomplished it!!


Title: Re: P2Pool into a private pool, disconnected from global pool
Post by: maqifrnswa on May 16, 2013, 02:44:33 PM
Thanks everyone for your help!
I have accomplished it!!

very important, in case you didn't know or someone else reads it:

don't do:
In p2pool / p2pool / bitcoin / networks.py

Change ADDRESS_VERSION=8, to ADDRESS_VERSION=25

that changes the address from a novacoin address to a bitbar address. you can leave the bitcoin addresses alone


Title: Re: P2Pool into a private pool, disconnected from global pool
Post by: gguess on November 04, 2014, 01:13:15 AM
would you mind sharing what you did to make it work? I too am trying to create my own private pool. So far, I changed p2pool/networks/bitcoin.py to set BOOTSTRAP_ADDRS to an empty string, PERSIST to False, changed WORKER_PORT, IDENTIFIER and PREFIX. But that doesn't work at all, I'm getting 100% stale blocks using the same bitcoind I used before for the real P2Pool.  I'd appreciate if you shared what you did to make it work. Thanks.