Skip to content

Commit

Permalink
Show an init message while activating best chain
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
laanwj committed May 4, 2015
1 parent 16341cc commit 0414045
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 0414045

Please sign in to comment.