mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 07:28:59 +01:00
bitcoind changes to stop storing settings in wallet.dat.
This commit is contained in:
committed by
Pieter Wuille
parent
4a10d4c6dc
commit
972060ce0e
@@ -473,8 +473,6 @@ bool AppInit2(int argc, char* argv[])
|
||||
return false;
|
||||
}
|
||||
|
||||
fGenerateBitcoins = GetBoolArg("-gen");
|
||||
|
||||
if (mapArgs.count("-proxy"))
|
||||
{
|
||||
fUseProxy = true;
|
||||
@@ -520,13 +518,6 @@ bool AppInit2(int argc, char* argv[])
|
||||
COINBASE_FLAGS << std::vector<unsigned char>(pszP2SH, pszP2SH+strlen(pszP2SH));
|
||||
}
|
||||
|
||||
// Command-line args override in-wallet settings:
|
||||
#if USE_UPNP
|
||||
fUseUPnP = GetBoolArg("-upnp", true);
|
||||
#else
|
||||
fUseUPnP = GetBoolArg("-upnp", false);
|
||||
#endif
|
||||
|
||||
if (!fNoListen)
|
||||
{
|
||||
std::string strError;
|
||||
|
||||
Reference in New Issue
Block a user