MCPcopy Create free account
hub / github.com/LUX-Core/lux / SoftSetBoolArg

Function SoftSetBoolArg

src/util.cpp:460–466  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458}
459
460bool SoftSetBoolArg(const std::string& strArg, bool fValue)
461{
462 if (fValue)
463 return SoftSetArg(strArg, std::string("1"));
464 else
465 return SoftSetArg(strArg, std::string("0"));
466}
467
468void ForceSetArg(const std::string& strArg, const std::string& strValue)
469{

Callers 5

AppInitFunction · 0.85
AppInit2Function · 0.85
LoadWalletMethod · 0.85
InitMethod · 0.85
setModelMethod · 0.85

Calls 1

SoftSetArgFunction · 0.85

Tested by

no test coverage detected