Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V0.12.0.x disable mncache #551

Merged
merged 1 commit into from
Aug 18, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/darksend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2235,7 +2235,7 @@ void ThreadCheckDarkSendPool()
CleanTransactionLocksList();
}

if(c % MASTERNODES_DUMP_SECONDS == 0) DumpMasternodes();
//if(c % MASTERNODES_DUMP_SECONDS == 0) DumpMasternodes();

darkSendPool.CheckTimeout();
darkSendPool.CheckForCompleteQueue();
Expand Down
12 changes: 6 additions & 6 deletions src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ void PrepareShutdown()
GenerateBitcoins(false, NULL, 0);
#endif
StopNode();
DumpMasternodes();
//DumpMasternodes();
//DumpBudgets();
//DumpMasternodePayments();
UnregisterNodeSignals(GetNodeSignals());
Expand Down Expand Up @@ -1411,6 +1411,11 @@ bool AppInit2(boost::thread_group& threadGroup)



/*

We sync all of this information on boot anyway, as it's kept on the network so there's really no point.
Also, it seems it might be causing some edge cases where clients can get stuck. I think it's better to just
sync from the network instead.
uiInterface.InitMessage(_("Loading masternode cache..."));

CMasternodeDB mndb;
Expand All @@ -1426,11 +1431,6 @@ bool AppInit2(boost::thread_group& threadGroup)
LogPrintf("file format is unknown or invalid, please fix it manually\n");
}

/*

We sync all of this information on boot anyway, as it's kept on the network so there's really no point.
Also, it seems it might be causing some edge cases where clients can get stuck. I think it's better to just
sync from the network instead.

// ---------
// uiInterface.InitMessage(_("Loading budget cache..."));
Expand Down