MCPcopy Create free account
hub / github.com/ElementsProject/elements / ForceSetArg

Method ForceSetArg

src/util/system.cpp:619–623  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

617}
618
619void ArgsManager::ForceSetArg(const std::string& strArg, const std::string& strValue)
620{
621 LOCK(cs_args);
622 m_settings.forced_settings[SettingName(strArg)] = strValue;
623}
624
625void ArgsManager::AddCommand(const std::string& cmd, const std::string& help)
626{

Callers 15

CommandLineRPCFunction · 0.80
VerifyWalletsFunction · 0.80
SetWalletDirMethod · 0.80
BOOST_FIXTURE_TEST_CASEFunction · 0.80
FuzzedWalletMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_FIXTURE_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
SetMempoolConstraintsFunction · 0.80
FUZZ_TARGET_INITFunction · 0.80

Calls 1

SettingNameFunction · 0.85

Tested by 12

SetWalletDirMethod · 0.64
BOOST_FIXTURE_TEST_CASEFunction · 0.64
FuzzedWalletMethod · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_FIXTURE_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
SetMempoolConstraintsFunction · 0.64
FUZZ_TARGET_INITFunction · 0.64
BasicTestingSetupMethod · 0.64
mainFunction · 0.64