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

Function GetArg

src/util.cpp:413–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411}
412
413std::string GetArg(const std::string& strArg, const std::string& strDefault)
414{
415 if (mapArgs.count(strArg))
416 return mapArgs[strArg];
417 return strDefault;
418}
419
420int64_t GetArg(const std::string& strArg, int64_t nDefault)
421{

Callers 15

createcontractFunction · 0.85
sendtocontractFunction · 0.85
FlushMethod · 0.85
verifychainFunction · 0.85
HTTPBindAddressesFunction · 0.85
InitHTTPServerFunction · 0.85
StartHTTPServerFunction · 0.85
auth_cbMethod · 0.85
protocolinfo_cbMethod · 0.85
LuxControlThreadFunction · 0.85
HelpExampleRpcFunction · 0.85
BlockAssemblerMethod · 0.85

Calls 2

atoi64Function · 0.85
countMethod · 0.45

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68