Advertisement
Guest User

Untitled

a guest
May 14th, 2014
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. ),
  2. bonuscoin=math.Object(
  3. P2P_PREFIX='FBB0D742'.decode('hex'),
  4. P2P_PORT=65000,
  5. ADDRESS_VERSION=20,
  6. RPC_PORT=65001,
  7. RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
  8. 'bonuscoinaddress' in (yield bitcoind.rpc_help()) and
  9. not (yield bitcoind.rpc_getinfo())['testnet']
  10. )),
  11. SUBSIDY_FUNC=lambda height: 2300*100000000 >> (height * 1)//1401600,
  12. POW_FUNC=data.hash256,
  13. BLOCK_PERIOD=120, # s
  14. SYMBOL='bns',
  15. CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'bonuscoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/bonuscoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.bonuscoin'), 'bonus.conf'),
  16. BLOCK_EXPLORER_URL_PREFIX='http://explorer.bonuscoin.net/',
  17. ADDRESS_EXPLORER_URL_PREFIX='http://explorer.bonuscoin.net/',
  18. TX_EXPLORER_URL_PREFIX='http://explorer.bonuscoin.net/',
  19. SANE_TARGET_RANGE=(2**256//2**32//1000 - 1, 2**256//2**32 - 1),
  20. DUMB_SCRYPT_DIFF=1,
  21. DUST_THRESHOLD=0.001e8,
  22. ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement