Bitcoin Forum
December 16, 2017, 08:16:16 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: P2Pool into a private pool, disconnected from global pool  (Read 4639 times)
sheinsha
Sr. Member
****
Offline Offline

Activity: 420


View Profile WWW
May 14, 2013, 09:04:47 PM
 #1

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!!

Minar.cc | DMD Diamond Coin Pool: dmd.minar.cc | CGB CryptogenicBullion Coin Pool: cgb.minar.cc | PHS Philosopherstone Coin Pool: phs.minar.cc | KDS Kudos Pool: kds.minar.cc | CRC CraftCoin Pool: crc.minar.cc | CIN Cinnamon Coin Pool: cin.minar.cc | PXL PXLCoin Pool: pxl.minar.cc | TAG TagCoin Pool: tag.minar.cc | BAC BaseCoin Pool: bac.minar.cc | STR Star Coin Pool: str.minar.cc | JPC Jupiter Coin Pool: jpc.minar.cc
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513412176
Hero Member
*
Offline Offline

Posts: 1513412176

View Profile Personal Message (Offline)

Ignore
1513412176
Reply with quote  #2

1513412176
Report to moderator
walf_man
Member
**
Offline Offline

Activity: 112


View Profile
May 15, 2013, 06:07:55 AM
 #2

p2p is peer to peer.
if you close the conection to other peers, then you will got errors.
maqifrnswa
Sr. Member
****
Offline Offline

Activity: 454


View Profile
May 15, 2013, 12:39:24 PM
 #3

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.
maqifrnswa
Sr. Member
****
Offline Offline

Activity: 454


View Profile
May 15, 2013, 07:44:41 PM
 #4

here's a link with some more info:
https://bitcointalk.org/index.php?topic=193669.msg2010200#msg2010200
sheinsha
Sr. Member
****
Offline Offline

Activity: 420


View Profile WWW
May 16, 2013, 04:05:31 AM
 #5

Thanks everyone for your help!
I have accomplished it!!

Minar.cc | DMD Diamond Coin Pool: dmd.minar.cc | CGB CryptogenicBullion Coin Pool: cgb.minar.cc | PHS Philosopherstone Coin Pool: phs.minar.cc | KDS Kudos Pool: kds.minar.cc | CRC CraftCoin Pool: crc.minar.cc | CIN Cinnamon Coin Pool: cin.minar.cc | PXL PXLCoin Pool: pxl.minar.cc | TAG TagCoin Pool: tag.minar.cc | BAC BaseCoin Pool: bac.minar.cc | STR Star Coin Pool: str.minar.cc | JPC Jupiter Coin Pool: jpc.minar.cc
maqifrnswa
Sr. Member
****
Offline Offline

Activity: 454


View Profile
May 16, 2013, 02:44:33 PM
 #6

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
gguess
Newbie
*
Offline Offline

Activity: 1


View Profile
November 04, 2014, 01:13:15 AM
 #7

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.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!