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

Method getRwSetting

src/node/interfaces.cpp:693–702  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

691 return gArgs.GetSettingsList(name);
692 }
693 util::SettingsValue getRwSetting(const std::string& name) override
694 {
695 util::SettingsValue result;
696 gArgs.LockSettings([&](const util::Settings& settings) {
697 if (const util::SettingsValue* value = util::FindKey(settings.rw_settings, name)) {
698 result = *value;
699 }
700 });
701 return result;
702 }
703 bool updateRwSetting(const std::string& name, const util::SettingsValue& value, bool write) override
704 {
705 gArgs.LockSettings([&](util::Settings& settings) {

Callers 2

AddWalletSettingFunction · 0.80
RemoveWalletSettingFunction · 0.80

Calls 2

FindKeyFunction · 0.85
LockSettingsMethod · 0.80

Tested by

no test coverage detected