Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ),
- bytecoin=math.Object(
- PARENT=networks.nets['bytecoin'],
- SHARE_PERIOD=10, # seconds
- CHAIN_LENGTH=24*60*60//10, # shares
- REAL_CHAIN_LENGTH=24*60*60//10, # shares
- TARGET_LOOKBEHIND=200, # shares
- SPREAD=12, # blocks
- IDENTIFIER='ff37d5b8c6923410'.decode('hex'),
- PREFIX='ff08c1a53ef629b0'.decode('hex'),
- P2P_PORT=26333,
- MIN_TARGET=0,
- MAX_TARGET=2**256//2**20 - 1,
- PERSIST=False,
- WORKER_PORT=5152,
- BOOTSTRAP_ADDRS='seed.bytecoin.cc seed01.bytecoin.cc seed02.bytecoin.cc bte.thecomputerfield.com'.split(' '),
- ANNOUNCE_CHANNEL='#p2pool-bte',
- VERSION_CHECK=lambda v: True,
- ),
- ),
- bytecoin=math.Object(
- P2P_PREFIX='f9beef69'.decode('hex'),
- P2P_PORT=16333,
- ADDRESS_VERSION=18,
- RPC_PORT=16332,
- RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
- 'bytecoinaddress' in (yield bitcoind.rpc_help()) and
- not (yield bitcoind.rpc_getinfo())['testnet']
- )),
- SUBSIDY_FUNC=lambda height: 50*100000000 >> (height + 1)//210000,
- POW_FUNC=data.hash256,
- BLOCK_PERIOD=600, # s
- SYMBOL='BTE',
- 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'),
- BLOCK_EXPLORER_URL_PREFIX='http://blockexplorer.bytecoin.in/block/',
- ADDRESS_EXPLORER_URL_PREFIX='http://blockexplorer.bytecoin.in/address/',
- SANE_TARGET_RANGE=(2**256//2**32//1000 - 1, 2**256//2**32 - 1),
- DUMB_SCRYPT_DIFF=1,
- ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement