Default genproclimit to 0

This commit is contained in:
jl777
2018-06-30 01:18:10 -11:00
parent 719aa8b19e
commit 94f9918f9d
6 changed files with 12 additions and 12 deletions

View File

@@ -61,7 +61,7 @@ void post_wallet_load(){
#ifdef ENABLE_MINING
// Generate coins in the background
if (pwalletMain || !GetArg("-mineraddress", "").empty())
GenerateBitcoins(GetBoolArg("-gen", false), pwalletMain, GetArg("-genproclimit", 1));
GenerateBitcoins(GetBoolArg("-gen", false), pwalletMain, GetArg("-genproclimit", 0));
#endif
}