Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- netcoin=math.Object(
- PARENT=networks.nets['netcoin'],
- SHARE_PERIOD=15, # seconds
- CHAIN_LENGTH=24*60*60//10, # shares
- REAL_CHAIN_LENGTH=24*60*60//10, # shares
- TARGET_LOOKBEHIND=200, # shares
- SPREAD=30, # blocks
- IDENTIFIER='eaaed5b8c6923410'.decode('hex'),
- PREFIX='720eacae3ef629b0'.decode('hex'),
- P2P_PORT=11315,
- MIN_TARGET=0,
- MAX_TARGET=2**256//2**20 - 1,
- PERSIST=False,
- WORKER_PORT=5432,
- BOOTSTRAP_ADDRS=''.split(' '),
- ANNOUNCE_CHANNEL='#p2pool-ltc',
- VERSION_CHECK=lambda v: True,
- )
- netcoin=math.Object(
- P2P_PREFIX='fdb6a5db'.decode('hex'),
- P2P_PORT=11310,
- ADDRESS_VERSION=112,
- RPC_PORT=11311,
- RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
- 'netcoinaddress' in (yield bitcoind.rpc_help()) and
- not (yield bitcoind.rpc_getinfo())['testnet']
- )),
- SUBSIDY_FUNC=lambda height: 1024*320636160 >> (height + 1)//129600,
- POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
- BLOCK_PERIOD=60, # s
- SYMBOL='NET',
- CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'NetCoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/NetCoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.netcoin'), 'netcoin.conf'),
- BLOCK_EXPLORER_URL_PREFIX='http://frawgie.hopto.org/search?q=',
- ADDRESS_EXPLORER_URL_PREFIX='http://frawgie.hopto.org/search?q=',
- TX_EXPLORER_URL_PREFIX='http://frawgie.hopto.org/search?q=',
- SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
- DUMB_SCRYPT_DIFF=2**16,
- DUST_THRESHOLD=0.03e8,
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement