mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-02 17:24:58 +02:00
chain: move new settings safely in overwriteRwSetting
This commit is contained in:
@@ -361,7 +361,7 @@ public:
|
||||
virtual bool updateRwSetting(const std::string& name, const SettingsUpdate& update_function) = 0;
|
||||
|
||||
//! Replace a setting in <datadir>/settings.json with a new value.
|
||||
virtual bool overwriteRwSetting(const std::string& name, common::SettingsValue& value, bool write = true) = 0;
|
||||
virtual bool overwriteRwSetting(const std::string& name, common::SettingsValue value, bool write = true) = 0;
|
||||
|
||||
//! Delete a given setting in <datadir>/settings.json.
|
||||
virtual bool deleteRwSettings(const std::string& name, bool write = true) = 0;
|
||||
|
||||
Reference in New Issue
Block a user