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

Method isSettingIgnored

src/node/interfaces.cpp:162–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160 }
161 bool shutdownRequested() override { return ShutdownRequested(*Assert(m_context)); };
162 bool isSettingIgnored(const std::string& name) override
163 {
164 bool ignored = false;
165 args().LockSettings([&](common::Settings& settings) {
166 if (auto* options = common::FindKey(settings.command_line_options, name)) {
167 ignored = !options->empty();
168 }
169 });
170 return ignored;
171 }
172 common::SettingsValue getPersistentSetting(const std::string& name) override { return args().GetPersistentSetting(name); }
173 void updateRwSetting(const std::string& name, const common::SettingsValue& value) override
174 {

Callers 1

InitMethod · 0.80

Calls 2

FindKeyFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected