p2pool/networks.pyphenix=math.Object(
PARENT=networks.nets['phenix'],
SHARE_PERIOD=30, # seconds target spacing
CHAIN_LENGTH=24*60*60//10, # shares
REAL_CHAIN_LENGTH=24*60*60//10, # shares
TARGET_LOOKBEHIND=200, # shares coinbase maturity
SPREAD=120, # blocks
IDENTIFIER='a5aed03050126d6c'.decode('hex'),
PREFIX='b6c0601991aa19a2'.decode('hex'),
P2P_PORT=24396,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=True,
WORKER_PORT=24397,
BOOTSTRAP_ADDRS=''.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
p2pool/bitcoin/networks.pyphenix=math.Object(
P2P_PREFIX='fbc0b6db'.decode('hex'),
P2P_PORT=9555,
ADDRESS_VERSION=56,
RPC_PORT=9554,
RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
'phenixcoinaddress' in (yield bitcoind.rpc_help()) and
not (yield bitcoind.rpc_getinfo())['testnet']
)),
SUBSIDY_FUNC=lambda height: 1*10000000 >> (height + 1)//1080000,
POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
BLOCK_PERIOD=30, # s targetspacing
SYMBOL='PXC',
CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'phenixcoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/phenixcoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.phenixcoin'), 'phenixcoin.conf'),
BLOCK_EXPLORER_URL_PREFIX='
http://pxc/block/',
ADDRESS_EXPLORER_URL_PREFIX='
http://pxc/address/',
SANE_TARGET_RANGE=(2**256//100000000 - 1, 2**256//1000 - 1),
DUMB_SCRYPT_DIFF=2**16,
),
Error when running![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fpostimg.org%2Fimage%2F614ye0st5%2F&t=662&c=_kU3hS3Csafaeg)
Any thoughts?