Advertisement
m0gliE

Bytecoin recommended settings for P2Pool nodes

Oct 3rd, 2014
485
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     ),
  2.     bytecoin=math.Object(
  3.         PARENT=networks.nets['bytecoin'],
  4.         SHARE_PERIOD=10, # seconds
  5.         CHAIN_LENGTH=24*60*60//10, # shares
  6.         REAL_CHAIN_LENGTH=24*60*60//10, # shares
  7.         TARGET_LOOKBEHIND=200, # shares
  8.         SPREAD=12, # blocks
  9.         IDENTIFIER='ff37d5b8c6923410'.decode('hex'),
  10.         PREFIX='ff08c1a53ef629b0'.decode('hex'),
  11.         P2P_PORT=26333,
  12.         MIN_TARGET=0,
  13.         MAX_TARGET=2**256//2**20 - 1,
  14.         PERSIST=False,
  15.         WORKER_PORT=5152,
  16.         BOOTSTRAP_ADDRS='seed.bytecoin.cc seed01.bytecoin.cc seed02.bytecoin.cc bte.thecomputerfield.com'.split(' '),
  17.         ANNOUNCE_CHANNEL='#p2pool-bte',
  18.         VERSION_CHECK=lambda v: True,
  19.     ),
  20.  
  21.     ),
  22.     bytecoin=math.Object(
  23.         P2P_PREFIX='f9beef69'.decode('hex'),
  24.         P2P_PORT=16333,
  25.         ADDRESS_VERSION=18,
  26.         RPC_PORT=16332,
  27.         RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
  28.             'bytecoinaddress' in (yield bitcoind.rpc_help()) and
  29.             not (yield bitcoind.rpc_getinfo())['testnet']
  30.         )),
  31.         SUBSIDY_FUNC=lambda height: 50*100000000 >> (height + 1)//210000,
  32.         POW_FUNC=data.hash256,
  33.         BLOCK_PERIOD=600, # s
  34.         SYMBOL='BTE',
  35.         CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Bitcoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/Bytecoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.bytecoin'), 'bytecoin.conf'),
  36.         BLOCK_EXPLORER_URL_PREFIX='http://blockexplorer.bytecoin.in/block/',
  37.         ADDRESS_EXPLORER_URL_PREFIX='http://blockexplorer.bytecoin.in/address/',
  38.         SANE_TARGET_RANGE=(2**256//2**32//1000 - 1, 2**256//2**32 - 1),
  39.         DUMB_SCRYPT_DIFF=1,
  40.     ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement