diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-01-11 23:18:00 +0100 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-01-13 21:22:40 +0100 |
commit | 06494cabb48f005f058cc8e6f6b1b33ee1464e8b (patch) | |
tree | 87b555aaad1c58e50fae149c4d55bfb1186d1560 /src | |
parent | 6213b25cd488bb964bde6bb67b189604aea5420a (diff) | |
download | bitcoin-06494cabb48f005f058cc8e6f6b1b33ee1464e8b.tar.xz |
make database init messages more valuable
- it was bad, that quite some messages were just talking about a database,
I think a user should know, if we are talking about wallet db or
block/coin db
- also adds a new init message for "Verifying block database integrity..."
Diffstat (limited to 'src')
-rw-r--r-- | src/init.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/init.cpp b/src/init.cpp index 79e9b2fb10..8f8a047e61 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())) { @@ -752,10 +752,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. |