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

Method SoftSetBoolArg

src/common/args.cpp:621–627  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

619}
620
621bool ArgsManager::SoftSetBoolArg(const std::string& strArg, bool fValue)
622{
623 if (fValue)
624 return SoftSetArg(strArg, std::string("1"));
625 else
626 return SoftSetArg(strArg, std::string("0"));
627}
628
629void ArgsManager::ForceSetArg(const std::string& strArg, const std::string& strValue)
630{

Callers 5

InitParameterInteractionFunction · 0.80
AppInitFunction · 0.80
ParameterInteractionMethod · 0.80
system.cppFile · 0.80
parameterSetupMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected