Allow mint=1 to be a VRSC.conf parameter

This commit is contained in:
miketout
2018-10-28 13:40:09 -07:00
parent 6023e8ab75
commit 76a77528ab
2 changed files with 3 additions and 3 deletions

View File

@@ -194,7 +194,7 @@ void Shutdown()
/// for example if the data directory was found to be locked.
/// Be sure that anything that writes files or flushes caches only does this if the respective
/// module was initialized.
RenameThread("zcash-shutoff");
RenameThread("verus-shutoff");
mempool.AddTransactionsUpdated(1);
StopHTTPRPC();
@@ -1871,6 +1871,8 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
#ifdef ENABLE_MINING
// Generate coins in the background
#ifdef ENABLE_WALLET
VERUS_MINTBLOCKS = GetBoolArg("-mint", false);
if (pwalletMain || !GetArg("-mineraddress", "").empty())
GenerateBitcoins(GetBoolArg("-gen", false), pwalletMain, GetArg("-genproclimit", 0));
#else