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

Method getRwSetting

src/node/interfaces.cpp:818–827  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

816 return args().GetSettingsList(name);
817 }
818 common::SettingsValue getRwSetting(const std::string& name) override
819 {
820 common::SettingsValue result;
821 args().LockSettings([&](const common::Settings& settings) {
822 if (const common::SettingsValue* value = common::FindKey(settings.rw_settings, name)) {
823 result = *value;
824 }
825 });
826 return result;
827 }
828 bool updateRwSetting(const std::string& name,
829 const interfaces::SettingsUpdate& update_settings_func) override
830 {

Callers 1

BOOST_FIXTURE_TEST_CASEFunction · 0.80

Calls 1

FindKeyFunction · 0.85

Tested by 1

BOOST_FIXTURE_TEST_CASEFunction · 0.64