aboutsummaryrefslogtreecommitdiff
path: root/main.qml
diff options
context:
space:
mode:
authortobtoht <tob@featherwallet.org>2026-01-29 15:38:23 +0000
committertobtoht <tob@featherwallet.org>2026-01-29 15:38:23 +0000
commit98ed779e188ae6b5053bf8198f3cd4b8d5aeb3db (patch)
tree6571eb59f989f96d9b6658ad642c70d3d327c1d6 /main.qml
parentd3559a40baf439d4677831c08a3c3a8a5d932111 (diff)
parent765982c7a176fc545777c7f3c880493734bf1464 (diff)
downloadmonzero-gui-98ed779e188ae6b5053bf8198f3cd4b8d5aeb3db.tar.gz
monzero-gui-98ed779e188ae6b5053bf8198f3cd4b8d5aeb3db.tar.xz
monzero-gui-98ed779e188ae6b5053bf8198f3cd4b8d5aeb3db.zip
Merge pull request #4552
765982c main: update blockchain size estimate (selsta) 172e346 DaemonManager: use accurate blockchain size estimate (selsta)
Diffstat (limited to 'main.qml')
-rw-r--r--main.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.qml b/main.qml
index 16fcff21..4646a928 100644
--- a/main.qml
+++ b/main.qml
@@ -94,7 +94,7 @@ ApplicationWindow {
readonly property string localDaemonAddress : "localhost:" + getDefaultDaemonRpcPort(persistentSettings.nettype)
property string currentDaemonAddress;
property int disconnectedEpoch: 0
- property int estimatedBlockchainSize: persistentSettings.pruneBlockchain ? 100 : 225 // GB
+ property int estimatedBlockchainSize: persistentSettings.pruneBlockchain ? 110 : 270 // GB
property alias viewState: rootItem.state
property string prevSplashText;
property bool splashDisplayedBeforeButtonRequest;
@@ -1737,7 +1737,7 @@ ApplicationWindow {
onRejected: console.log("data dir selection canceled")
onAccepted: {
var dataDir = walletManager.urlToLocalPath(blockchainFileDialog.fileUrl)
- var validator = daemonManager.validateDataDir(dataDir);
+ var validator = daemonManager.validateDataDir(dataDir, estimatedBlockchainSize);
if(validator.valid) {
persistentSettings.blockchainDataDir = dataDir;
} else {