removed unused SUBSIDY_FUNC in bitcoin network definitions
authorForrest Voight <forrest.voight@gmail.com>
Thu, 15 Dec 2011 18:25:47 +0000 (13:25 -0500)
committerForrest Voight <forrest.voight@gmail.com>
Sat, 17 Dec 2011 10:16:41 +0000 (05:16 -0500)
p2pool/bitcoin/networks.py

index 03eea08..52b1a87 100644 (file)
@@ -12,7 +12,6 @@ BitcoinMainnet = math.Object(
         'bitcoinaddress' in (yield bitcoind.rpc_help()) and
         not (yield bitcoind.rpc_getinfo())['testnet']
     )),
-    SUBSIDY_FUNC=lambda height: 50*100000000 >> (height + 1)//210000,
     POW_FUNC=data.block_header_type.hash256,
     SYMBOL='BTC',
 )
@@ -25,7 +24,6 @@ BitcoinTestnet = math.Object(
         'bitcoinaddress' in (yield bitcoind.rpc_help()) and
         (yield bitcoind.rpc_getinfo())['testnet']
     )),
-    SUBSIDY_FUNC=lambda height: 50*100000000 >> (height + 1)//210000,
     POW_FUNC=data.block_header_type.hash256,
     SYMBOL='tBTC',
 )
@@ -39,7 +37,6 @@ NamecoinMainnet = math.Object(
         'namecoinaddress' in (yield bitcoind.rpc_help()) and
         not (yield bitcoind.rpc_getinfo())['testnet']
     )),
-    SUBSIDY_FUNC=lambda height: 50*100000000 >> (height + 1)//210000,
     POW_FUNC=data.block_header_type.hash256,
     SYMBOL='NMC',
 )
@@ -52,7 +49,6 @@ NamecoinTestnet = math.Object(
         'namecoinaddress' in (yield bitcoind.rpc_help()) and
         (yield bitcoind.rpc_getinfo())['testnet']
     )),
-    SUBSIDY_FUNC=lambda height: 50*100000000 >> (height + 1)//210000,
     POW_FUNC=data.block_header_type.hash256,
     SYMBOL='tNMC',
 )
@@ -66,7 +62,6 @@ LitecoinMainnet = math.Object(
         'litecoinaddress' in (yield bitcoind.rpc_help()) and
         not (yield bitcoind.rpc_getinfo())['testnet']
     )),
-    SUBSIDY_FUNC=lambda height: 50*100000000 >> (height + 1)//840000,
     POW_FUNC=data.block_header_type.scrypt,
     SYMBOL='LTC',
 )
@@ -79,7 +74,6 @@ LitecoinTestnet = math.Object(
         'litecoinaddress' in (yield bitcoind.rpc_help()) and
         (yield bitcoind.rpc_getinfo())['testnet']
     )),
-    SUBSIDY_FUNC=lambda height: 50*100000000 >> (height + 1)//840000,
     POW_FUNC=data.block_header_type.scrypt,
     SYMBOL='tLTC',
 )