From: Forrest Voight Date: Mon, 5 Nov 2012 16:34:39 +0000 (-0500) Subject: unlock bitcoin pseudoshare difficulty X-Git-Tag: 9.0~2 X-Git-Url: https://git.novaco.in/?a=commitdiff_plain;h=6aefc223de5d426c78aa14638bef494ab0e5b53d;hp=e1ea40901d45a0424e6f4f06313c58f1de20946e;p=p2pool.git unlock bitcoin pseudoshare difficulty --- diff --git a/p2pool/bitcoin/networks.py b/p2pool/bitcoin/networks.py index 30666cd..ddb60af 100644 --- a/p2pool/bitcoin/networks.py +++ b/p2pool/bitcoin/networks.py @@ -23,7 +23,7 @@ nets = dict( CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Bitcoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/Bitcoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.bitcoin'), 'bitcoin.conf'), BLOCK_EXPLORER_URL_PREFIX='http://blockexplorer.com/block/', ADDRESS_EXPLORER_URL_PREFIX='http://blockexplorer.com/address/', - SANE_TARGET_RANGE=(2**256//2**32 - 1, 2**256//2**32 - 1), + SANE_TARGET_RANGE=(2**256//2**32//1000 - 1, 2**256//2**32 - 1), ), bitcoin_testnet=math.Object( P2P_PREFIX='0b110907'.decode('hex'), @@ -41,7 +41,7 @@ nets = dict( CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Bitcoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/Bitcoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.bitcoin'), 'bitcoin.conf'), BLOCK_EXPLORER_URL_PREFIX='http://blockexplorer.com/testnet/block/', ADDRESS_EXPLORER_URL_PREFIX='http://blockexplorer.com/testnet/address/', - SANE_TARGET_RANGE=(2**256//2**32 - 1, 2**256//2**32 - 1), + SANE_TARGET_RANGE=(2**256//2**32//1000 - 1, 2**256//2**32 - 1), ), namecoin=math.Object(