Hi,
Anyone will tell how to configure p2pool for PLNc? a network.py file.
Regards,
Networks.py
plncoin=math.Object(
PARENT=networks.nets['plncoin'],
SHARE_PERIOD=10, # 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=60, # blocks
IDENTIFIER='3EC73DDBE5D30074'.decode('hex'),
PREFIX='4B7394381037304C'.decode('hex'),
P2P_PORT=5334,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=5331,
BOOTSTRAP_ADDRS='omargpools.ca'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-pln',
VERSION_CHECK=lambda v: True,
bitcoin networs.py
plncoin=math.Object(
P2P_PREFIX='fbc0b6db'.decode('hex'),
P2P_PORT=9334,
ADDRESS_VERSION=22,
RPC_PORT=9331,
RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
'plncoinaddress' in (yield bitcoind.rpc_help()) and
not (yield bitcoind.rpc_getinfo())['testnet']
)),
SUBSIDY_FUNC=lambda height: 44*100000000 >> (height + 1)//438000,
POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
BLOCK_PERIOD=60, # s targetspacing
SYMBOL='PLN',
CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'plncoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/plncoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.worldcoin'), 'plncoin.conf'),
BLOCK_EXPLORER_URL_PREFIX='
http://explorer.plnc.cryptor.net/block/',
ADDRESS_EXPLORER_URL_PREFIX='
http://explorer.plnc.cryptor.net/address/',
TX_EXPLORER_URL_PREFIX='
http://explorer.plnc.cryptor.net/tx/',
SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
DUMB_SCRYPT_DIFF=2**16,
DUST_THRESHOLD=1e8,