Remove GUI's "Generate Coins" option from the menu.

CPU mining remains available via command line option [until/unless
the community decides to remove that completely].
This commit is contained in:
Jeff Garzik
2011-04-18 15:10:27 -04:00
committed by Jeff Garzik
parent b37f09aa2e
commit e93e5349cb
11 changed files with 3 additions and 75 deletions

6
db.cpp
View File

@@ -778,10 +778,10 @@ bool CWalletDB::LoadWallet()
string strKey;
ssKey >> strKey;
// Menu state
if (strKey == "fGenerateBitcoins") ssValue >> fGenerateBitcoins;
// Options
#ifndef GUI
if (strKey == "fGenerateBitcoins") ssValue >> fGenerateBitcoins;
#endif
if (strKey == "nTransactionFee") ssValue >> nTransactionFee;
if (strKey == "addrIncoming") ssValue >> addrIncoming;
if (strKey == "fLimitProcessors") ssValue >> fLimitProcessors;