Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -u coderrr-bitcoin-9376bcb/src\main.cpp bitcoin-mod/src\main.cpp
- --- coderrr-bitcoin-9376bcb/src\main.cpp Mon Jun 27 11:46:58 2011
- +++ bitcoin-mod/src\main.cpp Sat Jul 02 17:50:28 2011
- @@ -23,6 +23,7 @@
- CBigNum bnProofOfWorkLimit(~uint256(0) >> 32);
- CBlockIndex* pindexGenesisBlock = NULL;
- int nBestHeight = -1;
- +int nMaxHeight = 0;
- CBigNum bnBestChainWork = 0;
- CBigNum bnBestInvalidWork = 0;
- uint256 hashBestChain = 0;
- diff -u coderrr-bitcoin-9376bcb/src\net.h bitcoin-mod/src\net.h
- --- coderrr-bitcoin-9376bcb/src\net.h Mon Jun 27 11:46:58 2011
- +++ bitcoin-mod/src\net.h Sat Jul 02 17:42:54 2011
- @@ -19,6 +19,7 @@
- class CNode;
- class CBlockIndex;
- extern int nBestHeight;
- +extern int nMaxHeight;
- extern int nConnectTimeout;
- diff -u coderrr-bitcoin-9376bcb/src\ui.cpp bitcoin-mod/src\ui.cpp
- --- coderrr-bitcoin-9376bcb/src\ui.cpp Mon Jun 27 11:46:58 2011
- +++ bitcoin-mod/src\ui.cpp Sat Jul 02 18:24:21 2011
- @@ -1233,7 +1233,7 @@
- strGen = _("(not connected)");
- m_statusBar->SetStatusText(strGen, 1);
- - string strStatus = strprintf(_(" %d connections %d blocks %d transactions"), vNodes.size(), nBestHeight, nTransactionCount);
- + string strStatus = strprintf(_(" %d connections %d / %d blocks %d transactions"), vNodes.size(), nBestHeight, nMaxHeight, nTransactionCount);
- m_statusBar->SetStatusText(strStatus, 2);
- // Update receiving address
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement