aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2013-01-14 12:49:42 -0800
committerGavin Andresen <gavinandresen@gmail.com>2013-01-14 12:49:42 -0800
commitc83c3cbe9740cee7c168a93e26d6448f78170595 (patch)
tree7f9d799d4efc24415f96c266b65218fd244bd500 /src/init.cpp
parente4f2b6b08f6328f62800616f93f842f902813c84 (diff)
parent06494cabb48f005f058cc8e6f6b1b33ee1464e8b (diff)
Merge pull request #2172 from Diapolo/init_messages
make database init messages more valuable
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 29062452cd..a9297c5a12 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -581,9 +581,9 @@ bool AppInit2()
int64 nStart;
- // ********************************************************* Step 5: verify database integrity
+ // ********************************************************* Step 5: verify wallet database integrity
- uiInterface.InitMessage(_("Verifying database integrity..."));
+ uiInterface.InitMessage(_("Verifying wallet integrity..."));
if (!bitdb.Open(GetDataDir()))
{
@@ -779,10 +779,12 @@ bool AppInit2()
pblocktree->WriteReindexing(true);
if (!LoadBlockIndex())
- return InitError(_("Error loading block/coin databases"));
+ return InitError(_("Error loading block database"));
+
+ uiInterface.InitMessage(_("Verifying block database integrity..."));
if (!VerifyDB())
- return InitError(_("Corrupted database detected. Please restart the client with -reindex."));
+ return InitError(_("Corrupted block database detected. Please restart the client with -reindex."));
// as LoadBlockIndex can take several minutes, it's possible the user
// requested to kill bitcoin-qt during the last operation. If so, exit.