MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / GetArgs

Method GetArgs

src/util.cpp:485–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

483}
484
485std::vector<std::string> ArgsManager::GetArgs(const std::string& strArg) const
486{
487 std::vector<std::string> result = {};
488 if (IsArgNegated(strArg)) return result; // special case
489
490 LOCK(cs_args);
491
492 ArgsManagerHelper::AddArgs(result, m_override_args, strArg);
493 if (!m_network.empty()) {
494 ArgsManagerHelper::AddArgs(result, m_config_args, ArgsManagerHelper::NetworkArg(*this, strArg));
495 }
496
497 if (ArgsManagerHelper::UseDefaultSection(*this, strArg)) {
498 ArgsManagerHelper::AddArgs(result, m_config_args, strArg);
499 }
500
501 return result;
502}
503
504bool ArgsManager::IsArgSet(const std::string& strArg) const
505{

Callers 11

InitHTTPAllowListFunction · 0.80
HTTPBindAddressesFunction · 0.80
multiUserAuthorizedFunction · 0.80
CallRPCFunction · 0.80
AppInitMainFunction · 0.80
ParameterInteractionMethod · 0.80
VerifyMethod · 0.80
OpenMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
IsDeprecatedRPCEnabledFunction · 0.80

Calls 1

emptyMethod · 0.45

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64