diff options
| author | Wladimir J. van der Laan <[email protected]> | 2015-05-04 17:35:22 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-05-04 17:39:19 +0200 |
| commit | 04140457f4b616b7ae92f294df7a40c150c9f908 (patch) | |
| tree | e42144535ece9ed23684d437bb4eb712eeab93e1 /src/init.cpp | |
| parent | Merge pull request #5418 (diff) | |
| download | discoin-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.cpp | 1 |
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)) |