aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-02-16 15:00:16 -0500
committerPieter Wuille <pieter.wuille@gmail.com>2012-02-26 23:21:33 +0100
commit972060ce0e9746c979ce0ddeeb997121414c1d58 (patch)
tree9c676a8281e62513e9ee4b5f68e01a197dc6edf2 /src/main.h
parent4a10d4c6dcd04eb2496257754782150793ce53b1 (diff)
bitcoind changes to stop storing settings in wallet.dat.
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/main.h b/src/main.h
index d9f976c217..ac6d624e40 100644
--- a/src/main.h
+++ b/src/main.h
@@ -77,13 +77,7 @@ extern CCriticalSection cs_setpwalletRegistered;
extern std::set<CWallet*> setpwalletRegistered;
// Settings
-extern int fGenerateBitcoins;
extern int64 nTransactionFee;
-extern int fLimitProcessors;
-extern int nLimitProcessors;
-extern int fMinimizeToTray;
-extern int fMinimizeOnClose;
-extern int fUseUPnP;
@@ -127,20 +121,6 @@ std::string GetWarnings(std::string strFor);
bool GetWalletFile(CWallet* pwallet, std::string &strWalletFileOut);
-template<typename T>
-bool WriteSetting(const std::string& strKey, const T& value)
-{
- bool fOk = false;
- BOOST_FOREACH(CWallet* pwallet, setpwalletRegistered)
- {
- std::string strWalletFile;
- if (!GetWalletFile(pwallet, strWalletFile))
- continue;
- fOk |= CWalletDB(strWalletFile).WriteSetting(strKey, value);
- }
- return fOk;
-}
-
class CDiskTxPos
{