Advertisement
m0gliE

Goldcoin recommended settings for P2Pool nodes

May 16th, 2014
531
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     ),
  2.     goldcoin=math.Object(
  3.         PARENT=networks.nets['goldcoin'],
  4.         SHARE_PERIOD=10, # seconds
  5.         CHAIN_LENGTH=24*60*60//10, # shares
  6.         REAL_CHAIN_LENGTH=12*60*60//10, # shares
  7.         TARGET_LOOKBEHIND=20, # shares
  8.         SPREAD=50, # blocks
  9.         IDENTIFIER='673C4A194010994F'.decode('hex'),
  10.         PREFIX='673C4A1922156F1F'.decode('hex'),
  11.         P2P_PORT=23220,
  12.         MIN_TARGET=0,
  13.         MAX_TARGET=2**256//2**20 - 1,
  14.         PERSIST=False,
  15.         WORKER_PORT=8221,
  16.         BOOTSTRAP_ADDRS=''.split(' '),
  17.         ANNOUNCE_CHANNEL='#p2pool-gld',
  18.         VERSION_CHECK=lambda v: True,
  19.     )
  20.        
  21.     ),
  22.     goldcoin=math.Object(
  23.         P2P_PREFIX='fdc2b4dd'.decode('hex'),
  24.         P2P_PORT=8121,
  25.         ADDRESS_VERSION=32,
  26.         RPC_PORT=8122,
  27.         RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
  28.             'goldcoinaddress' in (yield bitcoind.rpc_help()) and
  29.             not (yield bitcoind.rpc_getinfo())['testnet']
  30.         )),
  31.         SUBSIDY_FUNC=lambda height: 45*100000000 >> (height + 1)//26325000,
  32.         POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
  33.         BLOCK_PERIOD=120, # s
  34.         SYMBOL='GLD',
  35.         CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Goldcoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/Goldcoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.goldcoin'), 'goldcoin.conf'),
  36.         BLOCK_EXPLORER_URL_PREFIX='http://gld.cryptocoinexplorer.com/block/', #dummy
  37.         ADDRESS_EXPLORER_URL_PREFIX='http://gld.cryptocoinexplorer.com/address/',
  38.         TX_EXPLORER_URL_PREFIX='http://gld.cryptocoinexplorer.com/tx/',
  39.         SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
  40.         DUMB_SCRYPT_DIFF=2**16,
  41.         DUST_THRESHOLD=0.0001e8,
  42.     ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement