Browse Source

Merge pull request #3931

f61287c RPC command getmininginfo showing right genproclimit (Isidoro Ghezzi)
0.10
Wladimir J. van der Laan 11 years ago
parent
commit
397521d632
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 1
      src/rpcmining.cpp

1
src/rpcmining.cpp

@ -204,6 +204,7 @@ Value setgenerate(const Array& params, bool fHelp)
else // Not -regtest: start generate thread, return immediately else // Not -regtest: start generate thread, return immediately
{ {
mapArgs["-gen"] = (fGenerate ? "1" : "0"); mapArgs["-gen"] = (fGenerate ? "1" : "0");
mapArgs ["-genproclimit"] = itostr(nGenProcLimit);
GenerateBitcoins(fGenerate, pwalletMain, nGenProcLimit); GenerateBitcoins(fGenerate, pwalletMain, nGenProcLimit);
} }

Loading…
Cancel
Save