aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2015-05-04 17:35:22 +0200
committerWladimir J. van der Laan <[email protected]>2015-05-04 17:39:19 +0200
commit04140457f4b616b7ae92f294df7a40c150c9f908 (patch)
treee42144535ece9ed23684d437bb4eb712eeab93e1 /src/init.cpp
parentMerge pull request #5418 (diff)
downloaddiscoin-04140457f4b616b7ae92f294df7a40c150c9f908.tar.xz
discoin-04140457f4b616b7ae92f294df7a40c150c9f908.zip
Show an init message while activating best chain
Connecting the chain can take quite a while. All the while it is still showing `Loading wallet...`. Add an init message to inform the user what is happening.
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index f4caa4717..9c3c4ddb8 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1333,6 +1333,7 @@ bool AppInit2(boost::thread_group& threadGroup)
if (mapArgs.count("-blocknotify"))
uiInterface.NotifyBlockTip.connect(BlockNotifyCallback);
+ uiInterface.InitMessage(_("Activating best chain..."));
// scan for better chains in the block chain database, that are not yet connected in the active best chain
CValidationState state;
if (!ActivateBestChain(state))