m0gliE

Fastcoin recommended settings for P2Pool nodes

Jan 25th, 2014
478
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ## Fastcoin recommended settings for P2Pool nodes
  2.  
  3. ## Updated - 3/25/14 - P2Pool Fork - https://github.com/d0gZpAw/p2pool
  4.  
  5. ## p2pool/networks.py
  6.  
  7. ),
  8.     fastcoin=math.Object(
  9.         PARENT=networks.nets['fastcoin'],
  10.         SHARE_PERIOD=6, # seconds
  11.         NEW_SHARE_PERIOD=6, # seconds
  12.         CHAIN_LENGTH=24*60*60//10, # shares
  13.         REAL_CHAIN_LENGTH=24*60*60//10, # shares
  14.         TARGET_LOOKBEHIND=60, # shares
  15.         SPREAD=150, # blocks
  16.         NEW_SPREAD=150, # blocks
  17.         IDENTIFIER='9f2e390aa41ffade'.decode('hex'),
  18.         PREFIX='50f713ab040dfade'.decode('hex'),
  19.         P2P_PORT=23660,
  20.         MIN_TARGET=0,
  21.         MAX_TARGET=2**256//2**20 - 1,
  22.         PERSIST=False,
  23.         WORKER_PORT=5150,
  24.         BOOTSTRAP_ADDRS='fst.inetrader.com'.split(' '),
  25.         ANNOUNCE_CHANNEL='#p2pool-fst',
  26.         VERSION_CHECK=lambda v: True,
  27.         VERSION_WARNING=lambda v: 'Upgrade Fastcoin to >= 0.8.5.1!' if v < 70002 else None,
  28.     ),
  29.  
  30. ## p2pool/bitcoin/networks.py
  31.  
  32. ),
  33.     fastcoin=math.Object(
  34.         P2P_PREFIX='fbc0b6db'.decode('hex'),
  35.         P2P_PORT=9526,
  36.         ADDRESS_VERSION=96,
  37.         RPC_PORT=9527,
  38.         RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
  39.             'fastcoinaddress' in (yield bitcoind.rpc_help()) and
  40.             not (yield bitcoind.rpc_getinfo())['testnet']
  41.         )),
  42.         SUBSIDY_FUNC=lambda height: 32*100000000 >> (height + 1)//2592000,
  43.         POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
  44.         BLOCK_PERIOD=12, # s
  45.         SYMBOL='FST',
  46.         CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Fastcoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/Fastcoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.fastcoin'), 'fastcoin.conf'),
  47.         BLOCK_EXPLORER_URL_PREFIX='http://fst.webboise.com/block/',
  48.         ADDRESS_EXPLORER_URL_PREFIX='http://fst.webboise.com/address/',
  49.         TX_EXPLORER_URL_PREFIX='http://fst.webboise.com/tx/',
  50.         SANE_TARGET_RANGE=(2**256//100000000 - 1, 2**256//1000 - 1),
  51.         DUMB_SCRYPT_DIFF=2**16,
  52.         DUST_THRESHOLD=0.03e8,
  53.     ),
  54.  
  55. ## end
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×