remove deprecated keysLoaded, fSucessfullyLoaded, strBudgetMode (#1027)

This commit is contained in:
UdjinM6 2016-09-16 21:16:22 +04:00 committed by GitHub
parent 49fb3df3e3
commit a29a5345a1
3 changed files with 3 additions and 13 deletions

View File

@ -559,7 +559,6 @@ std::string HelpMessage(HelpMessageMode mode)
strUsage += HelpMessageOpt("-mnconflock=<n>", strprintf(_("Lock masternodes from masternode configuration file (default: %u)"), 1));
strUsage += HelpMessageOpt("-masternodeprivkey=<n>", _("Set the masternode private key"));
strUsage += HelpMessageOpt("-masternodeaddr=<n>", strprintf(_("Set external address:port to get to this masternode (example: %s)"), "128.127.106.235:9999"));
strUsage += HelpMessageOpt("-budgetvotemode=<mode>", _("Change automatic finalized budget voting behavior. mode=auto: Vote for only exact finalized budget match to my generated budget. (string, default: auto)"));
strUsage += HelpMessageGroup(_("PrivateSend options:"));
strUsage += HelpMessageOpt("-enableprivatesend=<n>", strprintf(_("Enable use of automated PrivateSend for funds stored in this wallet (0-1, default: %u)"), 0));
@ -1808,9 +1807,6 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
}
}
//get the mode of budget voting for this masternode
strBudgetMode = GetArg("-budgetvotemode", "auto");
if(GetBoolArg("-mnconflock", true) && pwalletMain) {
LOCK(pwalletMain->cs_wallet);
LogPrintf("Locking Masternodes:\n");
@ -1855,7 +1851,6 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
LogPrintf("nInstantSendDepth %d\n", nInstantSendDepth);
LogPrintf("PrivateSend rounds %d\n", nPrivateSendRounds);
LogPrintf("PrivateSend amount %d\n", nPrivateSendAmount);
LogPrintf("Budget Mode %s\n", strBudgetMode);
darkSendPool.InitDenominations();
mnodeman.InitDummyScriptPubkey();

View File

@ -113,8 +113,6 @@ bool fLiteMode = false;
-2 - disabled because wallet was locked and we were not able to replenish keypool
*/
int nWalletBackups = 10;
bool fSucessfullyLoaded = false;
string strBudgetMode = "";
const char * const BITCOIN_CONF_FILENAME = "dash.conf";
const char * const BITCOIN_PID_FILENAME = "dashd.pid";

View File

@ -46,13 +46,10 @@
extern bool fMasterNode;
extern bool fLiteMode;
extern int nWalletBackups;
extern int keysLoaded;
extern bool fSucessfullyLoaded;
extern std::string strBudgetMode;
static const bool DEFAULT_LOGTIMEMICROS = false;
static const bool DEFAULT_LOGIPS = false;
static const bool DEFAULT_LOGTIMESTAMPS = true;
static const bool DEFAULT_LOGTIMEMICROS = false;
static const bool DEFAULT_LOGIPS = false;
static const bool DEFAULT_LOGTIMESTAMPS = true;
static const bool DEFAULT_LOGTHREADNAMES = false;
/** Signals for translation. */