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.
This commit is contained in:
parent
16341cc15c
commit
04140457f4
@ -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…
Reference in New Issue
Block a user