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

Method GetArg

src/common/args.cpp:519–522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

517}
518
519std::string ArgsManager::GetArg(const std::string& strArg, const std::string& strDefault) const
520{
521 return GetArg(strArg).value_or(strDefault);
522}
523
524std::optional<std::string> ArgsManager::GetArg(const std::string& strArg) const
525{

Callers 15

InitRPCAuthenticationFunction · 0.80
auth_cbMethod · 0.80
protocolinfo_cbMethod · 0.80
RpcWalletNameFunction · 0.80
AppInitRPCFunction · 0.80
PrepareRequestMethod · 0.80
CallIPCFunction · 0.80
CallRPCFunction · 0.80
ConnectAndCallRPCFunction · 0.80
ParseGetInfoResultFunction · 0.80
StartupNotifyFunction · 0.80
InitParameterInteractionFunction · 0.80

Calls 3

GetSettingFunction · 0.85
SettingToStringFunction · 0.85
value_orMethod · 0.45

Tested by 4

CheckValueMethod · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_FIXTURE_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64