MCPcopy Create free account
hub / github.com/ElementsProject/elements / SoftSetArg

Method SoftSetArg

src/util/system.cpp:603–609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

601}
602
603bool ArgsManager::SoftSetArg(const std::string& strArg, const std::string& strValue)
604{
605 LOCK(cs_args);
606 if (IsArgSet(strArg)) return false;
607 ForceSetArg(strArg, strValue);
608 return true;
609}
610
611bool ArgsManager::SoftSetBoolArg(const std::string& strArg, bool fValue)
612{

Callers 8

AppInitMainFunction · 0.80
BOOST_FIXTURE_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
FUZZ_TARGET_INITFunction · 0.80
BasicTestingSetupMethod · 0.80
InitMethod · 0.80
SetPruneEnabledMethod · 0.80
showIfNeededMethod · 0.80

Calls

no outgoing calls

Tested by 4

BOOST_FIXTURE_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
FUZZ_TARGET_INITFunction · 0.64
BasicTestingSetupMethod · 0.64