Bitcoin Forum
November 09, 2024, 04:04:41 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: P2Pool into a private pool, disconnected from global pool  (Read 4765 times)
sheinsha (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
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 pools are not running anymore, the domain was registered by someone else and I don't have any relationship with the new owner.
walf_man
Member
**
Offline Offline

Activity: 112
Merit: 10


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
Merit: 252


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
Merit: 252


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 (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


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

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

Minar.cc pools are not running anymore, the domain was registered by someone else and I don't have any relationship with the new owner.
maqifrnswa
Sr. Member
****
Offline Offline

Activity: 454
Merit: 252


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
Merit: 0


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!