MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / SoftSetBoolArg

Method SoftSetBoolArg

src/util.cpp:560–566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

558}
559
560bool ArgsManager::SoftSetBoolArg(const std::string& strArg, bool fValue)
561{
562 if (fValue)
563 return SoftSetArg(strArg, std::string("1"));
564 else
565 return SoftSetArg(strArg, std::string("0"));
566}
567
568void ArgsManager::ForceSetArg(const std::string& strArg, const std::string& strValue)
569{

Callers 6

InitParameterInteractionFunction · 0.80
AppInitFunction · 0.80
ParameterInteractionMethod · 0.80
LoadWalletMethod · 0.80
parameterSetupMethod · 0.80
softSetBoolArgMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected