Skip to content

Commit

Permalink
Update SUBSIDY_FUNC for Potcoin
Browse files Browse the repository at this point in the history
Potcoin going to POSv after block 975,000. Until then the potcoin network will go through a hyper-halving phase.
  • Loading branch information
CartmanSPC committed Jul 15, 2015
1 parent c10268f commit e8ae046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2pool/bitcoin/networks/potcoin.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'potcoinaddress' in (yield bitcoind.rpc_help()) and
not (yield bitcoind.rpc_getinfo())['testnet']
))
SUBSIDY_FUNC = lambda height: 420*100000000 >> (height + 1)//280000
SUBSIDY_FUNC = lambda height: 50*100000000 if height>920000 else 25*100000000 if height>930800 else 12*100000000 if height>941600 else 6*100000000 if height>952400 else 3*100000000 if height>963200 else 420*100000000 >> (height + 1)//280000
POW_FUNC = lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data))
BLOCK_PERIOD = 40 # s
SYMBOL = 'POT'
Expand Down

0 comments on commit e8ae046

Please sign in to comment.