Advertisement
m0gliE

FuelCoin recommended settings for P2Pool nodes

Jun 20th, 2014
599
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ## P2Pool Node
  2.  
  3. http://63.170.87.173:19222/static/index.html
  4.  
  5. ## FuelCoin recommended settings for P2Pool nodes
  6.  
  7. ## p2pool/networks.py
  8.  
  9.     ),
  10.     fuelcoin=math.Object(
  11.         PARENT=networks.nets['fuelcoin'],
  12.         SHARE_PERIOD=15, # seconds
  13.         CHAIN_LENGTH=24*60*60//10, # shares
  14.         REAL_CHAIN_LENGTH=24*60*60//10, # shares
  15.         TARGET_LOOKBEHIND=60, # shares
  16.         SPREAD=150, # blocks
  17.         IDENTIFIER='A284BD84F219C63D'.decode('hex'),
  18.         PREFIX='DAC528561FD653EC'.decode('hex'),
  19.         P2P_PORT=19111,
  20.         MIN_TARGET=0,
  21.         MAX_TARGET=2**256//2**32 - 1,
  22.         PERSIST=False,
  23.         WORKER_PORT=19222,
  24.         BOOTSTRAP_ADDRS='63.170.87.173'.split(' '),
  25.         ANNOUNCE_CHANNEL='#p2pool-fuel',
  26.         VERSION_CHECK=lambda v: True,
  27.         VERSION_WARNING=lambda v: 'Upgrade Fuelcoin to >=0.8.0.8!' if v < 70000 else None,
  28.     ),
  29.  
  30.     ## p2pool/bitcoin/networks.py
  31.  
  32.     ),
  33.     fuelcoin=math.Object(
  34.         P2P_PREFIX='f5d3a3d0'.decode('hex'),
  35.         P2P_PORT=9111,
  36.         ADDRESS_VERSION=36,
  37.         RPC_PORT=9222,
  38.         RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
  39.             'FuelCoinaddress' in (yield bitcoind.rpc_help()) and
  40.             not (yield bitcoind.rpc_getinfo())['testnet']
  41.         )),
  42.         SUBSIDY_FUNC=lambda height: 1000*100000000,
  43.         POW_FUNC=data.hash256,
  44.         BLOCK_PERIOD=30, # s
  45.         SYMBOL='FUEL',
  46.         CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'FuelCoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/FuelCoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.FuelCoin'), 'FuelCoin.conf'),
  47.         BLOCK_EXPLORER_URL_PREFIX='https://usecryptos.com/blockexplorer/FUEL/',
  48.         ADDRESS_EXPLORER_URL_PREFIX='https://usecryptos.com/blockexplorer/FUEL/',
  49.         TX_EXPLORER_URL_PREFIX='https://usecryptos.com/blockexplorer/FUEL/',
  50.     SANE_TARGET_RANGE=(2**256//2**32//1000 - 1, 2**256//2**32 - 1),        
  51.         DUMB_SCRYPT_DIFF=1,
  52.         DUST_THRESHOLD=0.03e8,
  53.     ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement