Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ),
- bonuscoin=math.Object(
- P2P_PREFIX='FBB0D742'.decode('hex'),
- P2P_PORT=65000,
- ADDRESS_VERSION=20,
- RPC_PORT=65001,
- RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
- 'bonuscoinaddress' in (yield bitcoind.rpc_help()) and
- not (yield bitcoind.rpc_getinfo())['testnet']
- )),
- SUBSIDY_FUNC=lambda height: 2300*100000000 >> (height * 1)//1401600,
- POW_FUNC=data.hash256,
- BLOCK_PERIOD=120, # s
- SYMBOL='bns',
- 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'),
- BLOCK_EXPLORER_URL_PREFIX='http://explorer.bonuscoin.net/',
- ADDRESS_EXPLORER_URL_PREFIX='http://explorer.bonuscoin.net/',
- TX_EXPLORER_URL_PREFIX='http://explorer.bonuscoin.net/',
- SANE_TARGET_RANGE=(2**256//2**32//1000 - 1, 2**256//2**32 - 1),
- DUMB_SCRYPT_DIFF=1,
- DUST_THRESHOLD=0.001e8,
- ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement