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)
820
820
// ********************************************************* Step 2: parameter interactions
821
821
const CChainParams& chainparams = Params ();
822
822
823
-
823
+ // also see: InitParameterInteraction()
824
824
825
825
// if using block pruning, then disable txindex
826
826
if (GetArg (" -prune" , 0 )) {
@@ -833,16 +833,6 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
833
833
#endif
834
834
}
835
835
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
-
846
836
// Make sure enough file descriptors are available
847
837
int nBind = std::max ((int )mapArgs.count (" -bind" ) + (int )mapArgs.count (" -whitebind" ), 1 );
848
838
int nUserMaxConnections = GetArg (" -maxconnections" , DEFAULT_MAX_PEER_CONNECTIONS);
You can’t perform that action at this time.
0 commit comments