forked from Public/monero-gui
support pruning of new databases
This commit is contained in:
3
main.qml
3
main.qml
@@ -724,7 +724,7 @@ ApplicationWindow {
|
||||
|
||||
const noSync = appWindow.walletMode === 0;
|
||||
const bootstrapNodeAddress = persistentSettings.walletMode < 2 ? "auto" : persistentSettings.bootstrapNodeAddress
|
||||
daemonManager.start(flags, persistentSettings.nettype, persistentSettings.blockchainDataDir, bootstrapNodeAddress, noSync);
|
||||
daemonManager.start(flags, persistentSettings.nettype, persistentSettings.blockchainDataDir, bootstrapNodeAddress, noSync, persistentSettings.pruneBlockchain);
|
||||
}
|
||||
|
||||
function stopDaemon(callback, splash){
|
||||
@@ -1410,6 +1410,7 @@ ApplicationWindow {
|
||||
property bool checkForUpdates: true
|
||||
property bool autosave: true
|
||||
property int autosaveMinutes: 10
|
||||
property bool pruneBlockchain: false
|
||||
|
||||
property bool fiatPriceEnabled: false
|
||||
property bool fiatPriceToggle: false
|
||||
|
||||
Reference in New Issue
Block a user