Skip to content

Commit fae6d21

Browse files
author
Chris
committed
Bump to version 2.0.0.6
1 parent be6c1c4 commit fae6d21

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ AC_PREREQ([2.60])
33
define(_CLIENT_VERSION_MAJOR, 2)
44
define(_CLIENT_VERSION_MINOR, 0)
55
define(_CLIENT_VERSION_REVISION, 0)
6-
define(_CLIENT_VERSION_BUILD, 5)
6+
define(_CLIENT_VERSION_BUILD, 6)
77
define(_CLIENT_VERSION_IS_RELEASE, true)
88
define(_COPYRIGHT_YEAR, 2018)
99
AC_INIT([Bitcloud Core],[_CLIENT_VERSION_MAJOR._CLIENT_VERSION_MINOR._CLIENT_VERSION_REVISION],[https://bit-cloud.info],[bitcloud])

src/clientversion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#define CLIENT_VERSION_MAJOR 2
1818
#define CLIENT_VERSION_MINOR 0
1919
#define CLIENT_VERSION_REVISION 0
20-
#define CLIENT_VERSION_BUILD 5
20+
#define CLIENT_VERSION_BUILD 6
2121
//bitcoingui.cpp L116
2222
//! Set to true for release, false for prerelease or test build
2323
#define CLIENT_VERSION_IS_RELEASE true

src/main.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1945,7 +1945,9 @@ bool CheckInputs(const CTransaction& tx, CValidationState& state, const CCoinsVi
19451945

19461946
bool DisconnectBlock(CBlock& block, CValidationState& state, CBlockIndex* pindex, CCoinsViewCache& view, bool* pfClean)
19471947
{
1948-
assert(pindex->GetBlockHash() == view.GetBestBlock());
1948+
if (pindex->GetBlockHash() != view.GetBestBlock())
1949+
LogPrintf("%s : pindex=%s view=%s\n", __func__, pindex->GetBlockHash().GetHex(), view.GetBestBlock().GetHex());
1950+
assert(pindex->GetBlockHash() == view.GetBestBlock());
19491951

19501952
if (pfClean)
19511953
*pfClean = false;
@@ -3674,7 +3676,7 @@ bool static LoadBlockIndexDB()
36743676
// Calculate nChainWork
36753677
vector<pair<int, CBlockIndex*> > vSortedByHeight;
36763678
vSortedByHeight.reserve(mapBlockIndex.size());
3677-
BOOST_FOREACH (const PAIRTYPE(uint256, CBlockIndex*) & item, mapBlockIndex) {
3679+
for (const PAIRTYPE(uint256, CBlockIndex*) & item : mapBlockIndex) {
36783680
CBlockIndex* pindex = item.second;
36793681
vSortedByHeight.push_back(make_pair(pindex->nHeight, pindex));
36803682
}
@@ -3724,7 +3726,7 @@ bool static LoadBlockIndexDB()
37243726
// Check presence of blk files
37253727
LogPrintf("Checking all blk files are present...\n");
37263728
set<int> setBlkDataFiles;
3727-
BOOST_FOREACH (const PAIRTYPE(uint256, CBlockIndex*) & item, mapBlockIndex) {
3729+
for (const PAIRTYPE(uint256, CBlockIndex*) & item : mapBlockIndex) {
37283730
CBlockIndex* pindex = item.second;
37293731
if (pindex->nStatus & BLOCK_HAVE_DATA) {
37303732
setBlkDataFiles.insert(pindex->nFile);

src/qt/bitcoingui.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ void BitcoinGUI::createToolBars()
579579
if (settings.value("fShowMasternodesTab").toBool()) {
580580
toolbar->addAction(masternodeAction);
581581
}
582-
toolbar->addAction(coinmixAction);
582+
//toolbar->addAction(coinmixAction);
583583
toolbar->addAction(unlockWalletAction);
584584
toolbar->addAction(lockWalletAction2);
585585
toolbar->setMovable(false); // remove unused icon in upper left corner
@@ -666,7 +666,7 @@ void BitcoinGUI::setWalletActionsEnabled(bool enabled)
666666
{
667667
overviewAction->setEnabled(enabled);
668668
////AAAAA
669-
coinmixAction->setEnabled(enabled);
669+
//coinmixAction->setEnabled(enabled);
670670
unlockWalletAction->setEnabled(enabled);
671671
lockWalletAction2->setEnabled(enabled);
672672
sendCoinsAction->setEnabled(enabled);

0 commit comments

Comments
 (0)