Advertisement
m0gliE

Emerald recommended settings for P2Pool nodes

Sep 8th, 2014
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     ),  
  2.     emerald=math.Object(
  3.         PARENT=networks.nets['emerald'],
  4.         SHARE_PERIOD=5, # seconds target spacing
  5.         CHAIN_LENGTH=24*60*60//10, # shares
  6.         REAL_CHAIN_LENGTH=24*60*60//10, # shares
  7.         TARGET_LOOKBEHIND=200, # shares coinbase maturity
  8.         SPREAD=60, # blocks
  9.         IDENTIFIER='e40ef614eeebb395'.decode('hex'),
  10.         PREFIX='502f757a499bf612'.decode('hex'),
  11.         P2P_PORT=46857,
  12.         MIN_TARGET=0,
  13.         MAX_TARGET=2**256//2**20 - 1,
  14.         PERSIST=False,
  15.         WORKER_PORT=12125,
  16.         BOOTSTRAP_ADDRS='dr-nona.office-on-the.net'.split(' '),
  17.         ANNOUNCE_CHANNEL='#p2pool-emd',
  18.         VERSION_CHECK=lambda v: True,
  19.     ),
  20.  
  21.     ),  
  22.     emerald=math.Object(
  23.         P2P_PREFIX='fbc0b6db'.decode('hex'),
  24.         P2P_PORT=12127,
  25.         ADDRESS_VERSION=34,
  26.         RPC_PORT=12128,
  27.         RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
  28.             'emeraldaddress' in (yield bitcoind.rpc_help()) and
  29.             not (yield bitcoind.rpc_getinfo())['testnet']
  30.         )),
  31.         SUBSIDY_FUNC=lambda height: 5*31499000 >> (height + 1)//3110400,
  32.         POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
  33.         BLOCK_PERIOD=20, # s
  34.         SYMBOL='EMD',
  35.         CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'emerald') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/emerald/') if platform.system() == 'Darwin' else os.path.expanduser('~/.emerald'), 'emerald.conf'),
  36.         BLOCK_EXPLORER_URL_PREFIX='http://127.0.0.1:12125/static/',
  37.         ADDRESS_EXPLORER_URL_PREFIX='http://127.0.0.1:12125/static/',
  38.     TX_EXPLORER_URL_PREFIX='http://127.0.0.1:12125/static/',
  39.         SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
  40.         DUMB_SCRYPT_DIFF=2**16,
  41.         DUST_THRESHOLD=1e8,
  42.     ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement