mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-11 07:17:53 +00:00
harmonize 2 init messages and remove one
- harmonize the database related init messages - as we have a thread for importing blocks, that init message is obsolete
This commit is contained in:
parent
1a9ee5da32
commit
e1ca89df1f
@ -608,7 +608,7 @@ bool AppInit2()
|
|||||||
|
|
||||||
// ********************************************************* Step 5: verify wallet database integrity
|
// ********************************************************* Step 5: verify wallet database integrity
|
||||||
|
|
||||||
uiInterface.InitMessage(_("Verifying wallet integrity..."));
|
uiInterface.InitMessage(_("Verifying wallet..."));
|
||||||
|
|
||||||
if (!bitdb.Open(GetDataDir()))
|
if (!bitdb.Open(GetDataDir()))
|
||||||
{
|
{
|
||||||
@ -826,7 +826,7 @@ bool AppInit2()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
uiInterface.InitMessage(_("Verifying database..."));
|
uiInterface.InitMessage(_("Verifying blocks..."));
|
||||||
if (!VerifyDB()) {
|
if (!VerifyDB()) {
|
||||||
strLoadError = _("Corrupted block database detected");
|
strLoadError = _("Corrupted block database detected");
|
||||||
break;
|
break;
|
||||||
@ -985,7 +985,6 @@ bool AppInit2()
|
|||||||
// ********************************************************* Step 9: import blocks
|
// ********************************************************* Step 9: import blocks
|
||||||
|
|
||||||
// scan for better chains in the block chain database, that are not yet connected in the active best chain
|
// scan for better chains in the block chain database, that are not yet connected in the active best chain
|
||||||
uiInterface.InitMessage(_("Importing blocks from block database..."));
|
|
||||||
CValidationState state;
|
CValidationState state;
|
||||||
if (!ConnectBestBlock(state))
|
if (!ConnectBestBlock(state))
|
||||||
strErrors << "Failed to connect best block";
|
strErrors << "Failed to connect best block";
|
||||||
|
Loading…
Reference in New Issue
Block a user