Skip to content

Commit

Permalink
Updated Casinocoin
Browse files Browse the repository at this point in the history
SUBSIDY_FUNC= and SANE_TARGET_RANGE= updated as reported by reductio
  • Loading branch information
CartmanSPC committed Jan 9, 2014
1 parent 1080cae commit 3dc8a7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions p2pool/bitcoin/networks.py
Expand Up @@ -243,14 +243,14 @@
'casinocoinaddress' in (yield bitcoind.rpc_help()) and
not (yield bitcoind.rpc_getinfo())['testnet']
)),
SUBSIDY_FUNC=lambda height: 50*10000000 >> (height + 1)//3153600,
SUBSIDY_FUNC=lambda height: 50*100000000 >> (height + 1)//3153600,
POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
BLOCK_PERIOD=30, # s targetspacing
SYMBOL='CSC',
CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'casinocoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/casinocoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.casinocoin'), 'casinocoin.conf'),
BLOCK_EXPLORER_URL_PREFIX='http://casinocoin.mooo.com/block/',
ADDRESS_EXPLORER_URL_PREFIX='http://casinocoin.mooo.com/address/',
SANE_TARGET_RANGE=(2**256//100000000 - 1, 2**256//1000 - 1),
SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
DUMB_SCRYPT_DIFF=2**16,
DUST_THRESHOLD=1e8,
),
Expand Down

0 comments on commit 3dc8a7a

Please sign in to comment.