Advertisement
m0gliE

Royalcoin recommended settings for P2Pool nodes

Oct 5th, 2014
482
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 1.81 KB | None | 0 0
  1.     ),
  2.     royalcoin=math.Object(
  3.         PARENT=networks.nets['royalcoin'],
  4.         SHARE_PERIOD=60, # seconds target spacing
  5.         CHAIN_LENGTH=24*60*60//10, # shares
  6.         REAL_CHAIN_LENGTH=24*60*60//10, # shares
  7.         TARGET_LOOKBEHIND=70, # shares coinbase maturity
  8.         SPREAD=120, # blocks
  9.         IDENTIFIER='f143F5b8c6924210'.decode('hex'),
  10.         PREFIX='c387192ba6d4729a'.decode('hex'),
  11.         P2P_PORT=9779,
  12.         MIN_TARGET=0,
  13.         MAX_TARGET=2**256//2**20 - 1,
  14.         PERSIST=False,
  15.         WORKER_PORT=9771,
  16.         BOOTSTRAP_ADDRS='ryl.thecomputerfield.com'.split(' '),
  17.         ANNOUNCE_CHANNEL='#p2pool-ryl',
  18.         VERSION_CHECK=lambda v: True,
  19.     ),
  20.     ),
  21.     royalcoin=math.Object(
  22.         P2P_PREFIX='fbc0b6db'.decode('hex'),
  23.         P2P_PORT=18312,
  24.         ADDRESS_VERSION=60,
  25.         RPC_PORT=18311,
  26.         RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
  27.             'royalcoinaddress' in (yield bitcoind.rpc_help()) and
  28.             not (yield bitcoind.rpc_getinfo())['testnet']
  29.         )),
  30.         SUBSIDY_FUNC=lambda height: 100*100000000 >> (height + 1)//1080000,
  31.         POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
  32.         BLOCK_PERIOD=60, # s targetspacing
  33.         SYMBOL='RYC',
  34.         CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Royalcoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/Royalcoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.royalcoin'), 'royalcoin.conf'),
  35.         BLOCK_EXPLORER_URL_PREFIX='ryc.blockexp.info/block/',
  36.         ADDRESS_EXPLORER_URL_PREFIX='ryc.blockexp.info/address/',
  37.         SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
  38.         DUMB_SCRYPT_DIFF=2**12,
  39.     ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement