Browse Source

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.
0.13
Wladimir J. van der Laan 10 years ago
parent
commit
04140457f4
  1. 1
      src/init.cpp

1
src/init.cpp

@ -1333,6 +1333,7 @@ bool AppInit2(boost::thread_group& threadGroup) @@ -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))

Loading…
Cancel
Save