Skip to content

Commit

Permalink
check bitcoind with genesis block
Browse files Browse the repository at this point in the history
  • Loading branch information
iongchun committed Dec 11, 2013
1 parent e66e6d5 commit ee5819f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2pool/bitcoin/networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
ADDRESS_VERSION=0,
RPC_PORT=8332,
RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
'bitcoinaddress' in (yield bitcoind.rpc_help()) and
0 == (yield bitcoind.rpc_getblock('000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f'))['height'] and
not (yield bitcoind.rpc_getinfo())['testnet']
)),
SUBSIDY_FUNC=lambda height: 50*100000000 >> (height + 1)//210000,
Expand Down

0 comments on commit ee5819f

Please sign in to comment.