p2pool/p2pool/networks.py:
mazacoin=math.Object(
PARENT=networks.nets['mazacoin'],
SHARE_PERIOD=30, # seconds between pool shares
CHAIN_LENGTH=24*60*60//10, # shares
REAL_CHAIN_LENGTH=24*60*60//10, # shares
TARGET_LOOKBEHIND=7, # shares
SPREAD=25, # blocks
IDENTIFIER='b497d1a69c84e7e1'.decode('hex'),
PREFIX='73b291a3e8c084d2'.decode('hex'),
P2P_PORT=14476,
MIN_TARGET=0,
MAX_TARGET=2**256//2**40 - 1,
PERSIST=False,
WORKER_PORT=14477,
BOOTSTRAP_ADDRS='p2pool.maza.club'.split(' '),
ANNOUNCE_CHANNEL='#mazacoin-p2pool',
VERSION_CHECK=lambda v: True,
),
==================================
p2pool/p2pool/bitcoin/networks.py
mazacoin=math.Object(
P2P_PREFIX='f8b503df'.decode('hex'),
P2P_PORT=12835,
ADDRESS_VERSION=50,
RPC_PORT=12832,
RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
'mazacoinaddress' in (yield bitcoind.rpc_help()) and
not (yield bitcoind.rpc_getinfo())['testnet']
)),
SUBSIDY_FUNC=lambda height: 5000*100000000 >> (height + 1)//241920,
POW_FUNC=data.hash256,
BLOCK_PERIOD=120, # s
SYMBOL='MZC',
CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Mazacoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/Mazacoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.mazacoin'), 'mazacoin.conf'),
BLOCK_EXPLORER_URL_PREFIX='https://mazacha.in/block/',
ADDRESS_EXPLORER_URL_PREFIX='https://mazacha.in/address/',
TX_EXPLORER_URL_PREFIX='https://mazacha.in/tx/',
SANE_TARGET_RANGE=(2**256//2**32//1000 - 1, 2**256//2**32 - 1),
DUMB_SCRYPT_DIFF=1,
DUST_THRESHOLD=0.001e8,
),