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

Function SoftSetBoolArg

src/util.cpp:404–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402}
403
404bool SoftSetBoolArg(const std::string& strArg, bool fValue)
405{
406 if (fValue)
407 return SoftSetArg(strArg, std::string("1"));
408 else
409 return SoftSetArg(strArg, std::string("0"));
410}
411
412static const int screenWidth = 79;
413static const int optIndent = 2;

Callers 4

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

Calls 1

SoftSetArgFunction · 0.85

Tested by

no test coverage detected