Skip to content

Commit 0414045

Browse files
committed
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.
1 parent 16341cc commit 0414045

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/init.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,6 +1333,7 @@ bool AppInit2(boost::thread_group& threadGroup)
13331333
if (mapArgs.count("-blocknotify"))
13341334
uiInterface.NotifyBlockTip.connect(BlockNotifyCallback);
13351335

1336+
uiInterface.InitMessage(_("Activating best chain..."));
13361337
// scan for better chains in the block chain database, that are not yet connected in the active best chain
13371338
CValidationState state;
13381339
if (!ActivateBestChain(state))

0 commit comments

Comments
 (0)