Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ),
- emerald=math.Object(
- PARENT=networks.nets['emerald'],
- SHARE_PERIOD=5, # seconds target spacing
- CHAIN_LENGTH=24*60*60//10, # shares
- REAL_CHAIN_LENGTH=24*60*60//10, # shares
- TARGET_LOOKBEHIND=200, # shares coinbase maturity
- SPREAD=60, # blocks
- IDENTIFIER='e40ef614eeebb395'.decode('hex'),
- PREFIX='502f757a499bf612'.decode('hex'),
- P2P_PORT=46857,
- MIN_TARGET=0,
- MAX_TARGET=2**256//2**20 - 1,
- PERSIST=False,
- WORKER_PORT=12125,
- BOOTSTRAP_ADDRS='dr-nona.office-on-the.net'.split(' '),
- ANNOUNCE_CHANNEL='#p2pool-emd',
- VERSION_CHECK=lambda v: True,
- ),
- ),
- emerald=math.Object(
- P2P_PREFIX='fbc0b6db'.decode('hex'),
- P2P_PORT=12127,
- ADDRESS_VERSION=34,
- RPC_PORT=12128,
- RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
- 'emeraldaddress' in (yield bitcoind.rpc_help()) and
- not (yield bitcoind.rpc_getinfo())['testnet']
- )),
- SUBSIDY_FUNC=lambda height: 5*31499000 >> (height + 1)//3110400,
- POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
- BLOCK_PERIOD=20, # s
- SYMBOL='EMD',
- CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'emerald') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/emerald/') if platform.system() == 'Darwin' else os.path.expanduser('~/.emerald'), 'emerald.conf'),
- BLOCK_EXPLORER_URL_PREFIX='http://127.0.0.1:12125/static/',
- ADDRESS_EXPLORER_URL_PREFIX='http://127.0.0.1:12125/static/',
- TX_EXPLORER_URL_PREFIX='http://127.0.0.1:12125/static/',
- SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
- DUMB_SCRYPT_DIFF=2**16,
- DUST_THRESHOLD=1e8,
- ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement