I was building p2pool for joincoin.
https://github.com/joincoin/joincoinfrom p2pool.bitcoin import networks
PARENT = networks.nets['joincoin']
SHARE_PERIOD = 5 # seconds
CHAIN_LENGTH = 24*60*60//10 # shares
REAL_CHAIN_LENGTH = 24*60*60//10 # shares
TARGET_LOOKBEHIND = 200 # shares
SPREAD = 50 # blocks
IDENTIFIER = '27392307bca64c44'.decode('hex')
PREFIX = '27392307bca64c44'.decode('hex')
P2P_PORT = 9050
MIN_TARGET = 0
MAX_TARGET = 2**256//2**20 - 1
PERSIST = False
WORKER_PORT = 9241
BOOTSTRAP_ADDRS = '194.135.90.171 194.135.92.4 194.135.94.113'.split(' ')
ANNOUNCE_CHANNEL = '#p2pool-alt'
VERSION_CHECK = lambda v: True
VERSION_WARNING = lambda v: None
import os
import platform
from twisted.internet import defer
from .. import data, helper
from p2pool.util import pack
P2P_PREFIX = 'f1b4dc9e'.decode('hex') #pchmessagestart
P2P_PORT = 17941
ADDRESS_VERSION = 43 #pubkey_address
RPC_PORT = 17942
RPC_CHECK = defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
'joincoinaddress' in (yield bitcoind.rpc_help()) and
not (yield bitcoind.rpc_getinfo())['testnet']
))
SUBSIDY_FUNC = lambda height: 2*100000000
POW_FUNC = lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data))
BLOCK_PERIOD = 45 # s
SYMBOL = 'J'
CONF_FILE_FUNC = lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'joincoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/joincoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.joincoin'), 'joincoin.conf')
BLOCK_EXPLORER_URL_PREFIX = '
http://cryptexplorer.com/block/'
ADDRESS_EXPLORER_URL_PREFIX = '
http://cryptexplorer.com/address/'
TX_EXPLORER_URL_PREFIX = '
http://cryptexplorer.com/tx/'
SANE_TARGET_RANGE = (2**256//1000000000 - 1, 2**256//1000 - 1)
DUMB_SCRYPT_DIFF = 2**16
DUST_THRESHOLD = 0.03e8
server=1
listen=1
daemon=1
rpcuser=majsta
rpcpassword=x
rpcallowip=*
rpcallowip=127.0.0.1
rpcallowip=192.168.1.99
rpcallowip=192.168.1.103
rpcallowip=192.168.1.104
rpcallowip=192.168.1.105
rpcport=17942
port=17941
rpcconnect=*
rpcconnect=127.0.0.1
rpcconnect=192.168.1.99
rpcconnect=192.168.1.103
rpcconnect=192.168.1.104
rpcconnect=192.168.1.105
algo=scrypt
addnode=24.38.16.6
addnode=194.135.90.171
addnode=194.135.92.4
addnode=194.135.94.113
addnode=gdhtrc7qoh3qowvf.onion:17941
addnode=jsghu6d5lop757ml.onion:17941
addnode=iamzedqd6kmzi3qs.onion:17941
addnode=nwjw2badoulwc4yi.onion:17941
addnode=7wc53o5c3ox62azh.onion:17941
addnode=53zy47p5wly5penk.onion:17941
addnode=5k7xsbnnw3mpotx6.onion:17941
addnode=b2mgu5dvcw3m7cxw.onion:17941
Does anyone have ideas what is going on?