p2pool/networks.py
PARENT=networks.nets['nibbles'],
SHARE_PERIOD=15, # 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=30, # blocks
IDENTIFIER='be88F5b9c6924211'.decode('hex'),
PREFIX='b587662ba6d7729b'.decode('hex'),
P2P_PORT=8146,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=8246,
BOOTSTRAP_ADDRS=''.split(' '),
ANNOUNCE_CHANNEL='',
VERSION_CHECK=lambda v: True,
),
p2pool/bitcoin/networks.py
P2P_PREFIX='fbc0b6db'.decode('hex'),
P2P_PORT=8346,
ADDRESS_VERSION=53,
RPC_PORT=18346,
RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
'nibbleaddress' in (yield bitcoind.rpc_help()) and
not (yield bitcoind.rpc_getinfo())['testnet']
)),
SUBSIDY_FUNC=lambda height: 1*5000000000 >> (height + 1)//219556,
POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
BLOCK_PERIOD=30, # s targetspacing
SYMBOL='NIB',
CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'franko') if platform.system() == 'Windows' else os.path.expanduser('~/Library/A
pplication Support/Doubloons/') if platform.system() == 'Darwin' else os.path.expanduser('~/.nibble'), 'nibble.conf'),
BLOCK_EXPLORER_URL_PREFIX='http://nib.p2pool.nl/block/',
ADDRESS_EXPLORER_URL_PREFIX='http://nib.p2pool.nl/address/',
SANE_TARGET_RANGE=(2**256//100000000 - 1, 2**256//1000 - 1),
DUMB_SCRYPT_DIFF=2**16,
),
Enjoy!