Skip to content

Commit

Permalink
remove deprecated keysLoaded, fSucessfullyLoaded, strBudgetMode (bitc…
Browse files Browse the repository at this point in the history
  • Loading branch information
UdjinM6 committed Sep 16, 2016
1 parent 49fb3df commit a29a534
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
5 changes: 0 additions & 5 deletions src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down Expand Up @@ -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");
Expand Down Expand Up @@ -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();
Expand Down
2 changes: 0 additions & 2 deletions src/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
9 changes: 3 additions & 6 deletions src/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit a29a534

Please sign in to comment.