Add Litecoin scrypt proof of work and use scrypt instead of hash256 if we are on...
[p2pool.git] / p2pool / litecoin.py
index 81a0916..1a2a6ac 100644 (file)
@@ -10,6 +10,7 @@ class LitecoinMainnet(object):
         not (yield bitcoind.rpc_getinfo())['testnet']
     )))
     BITCOIN_SUBSIDY_FUNC = staticmethod(lambda height: 50*100000000 >> (height + 1)//840000)
+    BITCOIN_POW_SCRYPT = True;
     BITCOIN_SYMBOL = 'LTC'
 
 class LitecoinTestnet(object):
@@ -22,4 +23,5 @@ class LitecoinTestnet(object):
         (yield bitcoind.rpc_getinfo())['testnet']
     )))
     BITCOIN_SUBSIDY_FUNC = staticmethod(lambda height: 50*100000000 >> (height + 1)//840000)
+    BITCOIN_POW_SCRYPT = True;
     BITCOIN_SYMBOL = 'tLTC'