mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-25 13:28:35 +01:00
chain: simplify deleteRwSettings code and improve it's doc
Co-authored-by: Ryan Ofsky <ryan@ofsky.org>
This commit is contained in:
@@ -369,6 +369,8 @@ public:
|
||||
virtual bool overwriteRwSetting(const std::string& name, common::SettingsValue value, SettingsAction action = SettingsAction::WRITE) = 0;
|
||||
|
||||
//! Delete a given setting in <datadir>/settings.json.
|
||||
//! This method provides a simpler alternative to overwriteRwSetting when
|
||||
//! erasing a setting, for ease of use and readability.
|
||||
virtual bool deleteRwSettings(const std::string& name, SettingsAction action = SettingsAction::WRITE) = 0;
|
||||
|
||||
//! Synchronously send transactionAddedToMempool notifications about all
|
||||
|
||||
Reference in New Issue
Block a user