mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
Migrate -prune setting from QSettings to settings.json
This commit is contained in:
@@ -99,8 +99,7 @@ public:
|
||||
const QString& getOverriddenByCommandLine() { return strOverriddenByCommandLine; }
|
||||
|
||||
/* Explicit setters */
|
||||
void SetPruneEnabled(bool prune, bool force = false);
|
||||
void SetPruneTargetGB(int prune_target_gb, bool force = false);
|
||||
void SetPruneTargetGB(int prune_target_gb);
|
||||
|
||||
/* Restart flag helper */
|
||||
void setRestartRequired(bool fRequired);
|
||||
@@ -125,6 +124,7 @@ private:
|
||||
//! In-memory settings for display. These are stored persistently by the
|
||||
//! bitcoin node but it's also nice to store them in memory to prevent them
|
||||
//! getting cleared when enable/disable toggles are used in the GUI.
|
||||
int m_prune_size_gb;
|
||||
QString m_proxy_ip;
|
||||
QString m_proxy_port;
|
||||
QString m_onion_ip;
|
||||
|
||||
Reference in New Issue
Block a user