Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -x obj -x *.exe -r -u 0.3.24rc1\src\main.cpp bitcoin-master\src\main.cpp
- --- 0.3.24rc1\src\main.cpp Mon Jul 04 11:24:44 2011
- +++ bitcoin-master\src\main.cpp Mon Jul 04 11:40:35 2011
- @@ -36,6 +36,7 @@
- const int nInitialBlockThreshold = 120; // Regard blocks up until N-threshold as "initial download"
- CBlockIndex* pindexGenesisBlock = NULL;
- int nBestHeight = -1;
- +int nMaxHeight = 0;
- CBigNum bnBestChainWork = 0;
- CBigNum bnBestInvalidWork = 0;
- uint256 hashBestChain = 0;
- @@ -1870,6 +1871,7 @@
- pfrom->fSuccessfullyConnected = true;
- printf("version message: version %d, blocks=%d\n", pfrom->nVersion, pfrom->nStartingHeight);
- + nMaxHeight = max(nBestHeight, pfrom->nStartingHeight);
- }
- diff -x obj -x *.exe -r -u 0.3.24rc1\src\ui.cpp bitcoin-master\src\ui.cpp
- --- 0.3.24rc1\src\ui.cpp Mon Jul 04 11:24:44 2011
- +++ bitcoin-master\src\ui.cpp Mon Jul 04 11:40:44 2011
- @@ -1070,7 +1070,8 @@
- strGen = _("(not connected)");
- m_statusBar->SetStatusText(strGen, 1);
- - string strStatus = strprintf(_(" %d connections %d blocks %d transactions"), vNodes.size(), nBestHeight, nTransactionCount);
- + extern int nMaxHeight;
- + 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