Mazacoin p2pool settings - ShastaFarEye Prospectors


SUBMITTED BY: Guest

DATE: June 28, 2014, 5:53 p.m.

FORMAT: Python

SIZE: 2.1 kB

HITS: 2291

  1. p2pool/p2pool/networks.py:
  2. mazacoin=math.Object(
  3. PARENT=networks.nets['mazacoin'],
  4. SHARE_PERIOD=30, # seconds between pool shares
  5. CHAIN_LENGTH=24*60*60//10, # shares
  6. REAL_CHAIN_LENGTH=24*60*60//10, # shares
  7. TARGET_LOOKBEHIND=7, # shares
  8. SPREAD=25, # blocks
  9. IDENTIFIER='b497d1a69c84e7e1'.decode('hex'),
  10. PREFIX='73b291a3e8c084d2'.decode('hex'),
  11. P2P_PORT=14476,
  12. MIN_TARGET=0,
  13. MAX_TARGET=2**256//2**40 - 1,
  14. PERSIST=False,
  15. WORKER_PORT=14477,
  16. BOOTSTRAP_ADDRS='p2pool.maza.club'.split(' '),
  17. ANNOUNCE_CHANNEL='#mazacoin-p2pool',
  18. VERSION_CHECK=lambda v: True,
  19. ),
  20. ==================================
  21. p2pool/p2pool/bitcoin/networks.py
  22. mazacoin=math.Object(
  23. P2P_PREFIX='f8b503df'.decode('hex'),
  24. P2P_PORT=12835,
  25. ADDRESS_VERSION=50,
  26. RPC_PORT=12832,
  27. RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
  28. 'mazacoinaddress' in (yield bitcoind.rpc_help()) and
  29. not (yield bitcoind.rpc_getinfo())['testnet']
  30. )),
  31. SUBSIDY_FUNC=lambda height: 5000*100000000 >> (height + 1)//241920,
  32. POW_FUNC=data.hash256,
  33. BLOCK_PERIOD=120, # s
  34. SYMBOL='MZC',
  35. 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'),
  36. BLOCK_EXPLORER_URL_PREFIX='https://mazacha.in/block/',
  37. ADDRESS_EXPLORER_URL_PREFIX='https://mazacha.in/address/',
  38. TX_EXPLORER_URL_PREFIX='https://mazacha.in/tx/',
  39. SANE_TARGET_RANGE=(2**256//2**32//1000 - 1, 2**256//2**32 - 1),
  40. DUMB_SCRYPT_DIFF=1,
  41. DUST_THRESHOLD=0.001e8,
  42. ),

comments powered by Disqus