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

Method ForceSetArg

src/common/args.cpp:629–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

627}
628
629void ArgsManager::ForceSetArg(const std::string& strArg, const std::string& strValue)
630{
631 LOCK(cs_args);
632 m_settings.forced_settings[SettingName(strArg)] = strValue;
633}
634
635void ArgsManager::AddCommand(const std::string& cmd, const std::string& help, std::set<std::string> options)
636{

Callers 15

CommandLineRPCFunction · 0.80
VerifyWalletsFunction · 0.80
SetWalletDirMethod · 0.80
BOOST_FIXTURE_TEST_CASEFunction · 0.80
coincontrol.cppFile · 0.80
spend.cppFile · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_FIXTURE_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 1

SettingNameFunction · 0.70

Tested by 12

SetWalletDirMethod · 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
BOOST_FIXTURE_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_FIXTURE_TEST_CASEFunction · 0.64
SetMempoolConstraintsFunction · 0.64
BasicTestingSetupMethod · 0.64
~BasicTestingSetupMethod · 0.64
mainFunction · 0.64