init.cpp: cosmetic indent changes, preparing for no-wallet mode

This commit is contained in:
Jeff Garzik 2013-10-02 11:15:51 -04:00 committed by Wladimir J. van der Laan
parent abf34606c0
commit f9ee7a032b

View file

@ -587,6 +587,7 @@ bool AppInit2(boost::thread_group& threadGroup, bool fForceServer)
// ********************************************************* Step 5: verify wallet database integrity
if (1) {
uiInterface.InitMessage(_("Verifying wallet..."));
if (!bitdb.Open(GetDataDir()))
@ -630,6 +631,7 @@ bool AppInit2(boost::thread_group& threadGroup, bool fForceServer)
if (r == CDBEnv::RECOVER_FAIL)
return InitError(_("wallet.dat corrupt, salvage failed"));
}
} // (1)
// ********************************************************* Step 6: network initialization
@ -898,6 +900,7 @@ bool AppInit2(boost::thread_group& threadGroup, bool fForceServer)
// ********************************************************* Step 8: load wallet
if (1) {
uiInterface.InitMessage(_("Loading wallet..."));
nStart = GetTimeMillis();
@ -984,6 +987,7 @@ bool AppInit2(boost::thread_group& threadGroup, bool fForceServer)
pwalletMain->SetBestChain(chainActive.GetLocator());
nWalletDBUpdated++;
}
} // (1)
// ********************************************************* Step 9: import blocks