File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -820,7 +820,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
820820 // ********************************************************* Step 2: parameter interactions
821821 const CChainParams& chainparams = Params ();
822822
823-
823+ // also see: InitParameterInteraction()
824824
825825 // if using block pruning, then disable txindex
826826 if (GetArg (" -prune" , 0 )) {
@@ -833,16 +833,6 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
833833#endif
834834 }
835835
836- // disable walletbroadcast and whitelistalwaysrelay in blocksonly mode
837- if (GetBoolArg (" -blocksonly" , DEFAULT_BLOCKSONLY)) {
838- if (SoftSetBoolArg (" -whitelistalwaysrelay" , false ))
839- LogPrintf (" %s: parameter interaction: -blocksonly=1 -> setting -whitelistalwaysrelay=0\n " , __func__);
840- #ifdef ENABLE_WALLET
841- if (SoftSetBoolArg (" -walletbroadcast" , false ))
842- LogPrintf (" %s: parameter interaction: -blocksonly=1 -> setting -walletbroadcast=0\n " , __func__);
843- #endif
844- }
845-
846836 // Make sure enough file descriptors are available
847837 int nBind = std::max ((int )mapArgs.count (" -bind" ) + (int )mapArgs.count (" -whitebind" ), 1 );
848838 int nUserMaxConnections = GetArg (" -maxconnections" , DEFAULT_MAX_PEER_CONNECTIONS);
You can’t perform that action at this time.
0 commit comments