Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ),
- royalcoin=math.Object(
- PARENT=networks.nets['royalcoin'],
- SHARE_PERIOD=60, # seconds target spacing
- CHAIN_LENGTH=24*60*60//10, # shares
- REAL_CHAIN_LENGTH=24*60*60//10, # shares
- TARGET_LOOKBEHIND=70, # shares coinbase maturity
- SPREAD=120, # blocks
- IDENTIFIER='f143F5b8c6924210'.decode('hex'),
- PREFIX='c387192ba6d4729a'.decode('hex'),
- P2P_PORT=9779,
- MIN_TARGET=0,
- MAX_TARGET=2**256//2**20 - 1,
- PERSIST=False,
- WORKER_PORT=9771,
- BOOTSTRAP_ADDRS='ryl.thecomputerfield.com'.split(' '),
- ANNOUNCE_CHANNEL='#p2pool-ryl',
- VERSION_CHECK=lambda v: True,
- ),
- ),
- royalcoin=math.Object(
- P2P_PREFIX='fbc0b6db'.decode('hex'),
- P2P_PORT=18312,
- ADDRESS_VERSION=60,
- RPC_PORT=18311,
- RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
- 'royalcoinaddress' in (yield bitcoind.rpc_help()) and
- not (yield bitcoind.rpc_getinfo())['testnet']
- )),
- SUBSIDY_FUNC=lambda height: 100*100000000 >> (height + 1)//1080000,
- POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
- BLOCK_PERIOD=60, # s targetspacing
- SYMBOL='RYC',
- CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Royalcoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/Royalcoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.royalcoin'), 'royalcoin.conf'),
- BLOCK_EXPLORER_URL_PREFIX='ryc.blockexp.info/block/',
- ADDRESS_EXPLORER_URL_PREFIX='ryc.blockexp.info/address/',
- SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
- DUMB_SCRYPT_DIFF=2**12,
- ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement