mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
fixed messages
This commit is contained in:
parent
e0021f08af
commit
9a52925d5c
1
.gitignore
vendored
1
.gitignore
vendored
@ -122,3 +122,4 @@ share/BitcoindComparisonTool.jar
|
|||||||
/doc/doxygen/
|
/doc/doxygen/
|
||||||
|
|
||||||
libbitcoinconsensus.pc
|
libbitcoinconsensus.pc
|
||||||
|
src/qt/dash-qt.bash
|
@ -1812,9 +1812,12 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
|
|||||||
|
|
||||||
uiInterface.InitMessage(_("Loading budget cache..."));
|
uiInterface.InitMessage(_("Loading budget cache..."));
|
||||||
|
|
||||||
|
printf("1\n");
|
||||||
CBudgetDB budgetdb;
|
CBudgetDB budgetdb;
|
||||||
CBudgetDB::ReadResult readResult2 = budgetdb.Read(budget);
|
CBudgetDB::ReadResult readResult2 = budgetdb.Read(budget);
|
||||||
|
|
||||||
|
printf("2\n");
|
||||||
|
|
||||||
if (readResult2 == CBudgetDB::FileError)
|
if (readResult2 == CBudgetDB::FileError)
|
||||||
LogPrintf("Missing budget cache - budget.dat, will try to recreate\n");
|
LogPrintf("Missing budget cache - budget.dat, will try to recreate\n");
|
||||||
else if (readResult2 != CBudgetDB::Ok)
|
else if (readResult2 != CBudgetDB::Ok)
|
||||||
@ -1826,8 +1829,12 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
|
|||||||
LogPrintf("file format is unknown or invalid, please fix it manually\n");
|
LogPrintf("file format is unknown or invalid, please fix it manually\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
printf("3\n");
|
||||||
|
|
||||||
//flag our cached items so we send them to our peers
|
//flag our cached items so we send them to our peers
|
||||||
budget.ResetSync();
|
budget.ResetSync();
|
||||||
|
|
||||||
|
printf("4 \n");
|
||||||
budget.ClearSeen();
|
budget.ClearSeen();
|
||||||
|
|
||||||
|
|
||||||
|
@ -235,7 +235,7 @@ bool CBudgetDB::Write(const CBudgetManager& objToSave)
|
|||||||
|
|
||||||
CBudgetDB::ReadResult CBudgetDB::Read(CBudgetManager& objToLoad, bool fDryRun)
|
CBudgetDB::ReadResult CBudgetDB::Read(CBudgetManager& objToLoad, bool fDryRun)
|
||||||
{
|
{
|
||||||
LOCK(objToLoad.cs);
|
//LOCK(objToLoad.cs);
|
||||||
|
|
||||||
int64_t nStart = GetTimeMillis();
|
int64_t nStart = GetTimeMillis();
|
||||||
// open input file, and associate with CAutoFile
|
// open input file, and associate with CAutoFile
|
||||||
|
Loading…
Reference in New Issue
Block a user