MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / SoftSetArg

Method SoftSetArg

src/common/args.cpp:613–619  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

611#undef INSTANTIATE_INT_TYPE
612
613bool ArgsManager::SoftSetArg(const std::string& strArg, const std::string& strValue)
614{
615 LOCK(cs_args);
616 if (!GetSetting_(strArg).isNull()) return false;
617 m_settings.forced_settings[SettingName(strArg)] = strValue;
618 return true;
619}
620
621bool ArgsManager::SoftSetBoolArg(const std::string& strArg, bool fValue)
622{

Callers 5

InitParameterInteractionFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_FIXTURE_TEST_CASEFunction · 0.80
system.cppFile · 0.80
showIfNeededMethod · 0.80

Calls 2

isNullMethod · 0.80
SettingNameFunction · 0.70

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_FIXTURE_TEST_CASEFunction · 0.64