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/
|
||||
|
||||
libbitcoinconsensus.pc
|
||||
src/qt/dash-qt.bash
|
@ -1812,9 +1812,12 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
|
||||
|
||||
uiInterface.InitMessage(_("Loading budget cache..."));
|
||||
|
||||
printf("1\n");
|
||||
CBudgetDB budgetdb;
|
||||
CBudgetDB::ReadResult readResult2 = budgetdb.Read(budget);
|
||||
|
||||
printf("2\n");
|
||||
|
||||
if (readResult2 == CBudgetDB::FileError)
|
||||
LogPrintf("Missing budget cache - budget.dat, will try to recreate\n");
|
||||
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");
|
||||
}
|
||||
|
||||
printf("3\n");
|
||||
|
||||
//flag our cached items so we send them to our peers
|
||||
budget.ResetSync();
|
||||
|
||||
printf("4 \n");
|
||||
budget.ClearSeen();
|
||||
|
||||
|
||||
|
@ -235,7 +235,7 @@ bool CBudgetDB::Write(const CBudgetManager& objToSave)
|
||||
|
||||
CBudgetDB::ReadResult CBudgetDB::Read(CBudgetManager& objToLoad, bool fDryRun)
|
||||
{
|
||||
LOCK(objToLoad.cs);
|
||||
//LOCK(objToLoad.cs);
|
||||
|
||||
int64_t nStart = GetTimeMillis();
|
||||
// open input file, and associate with CAutoFile
|
||||
|
Loading…
Reference in New Issue
Block a user