mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
commit
8db58b42af
2 changed files with 6 additions and 5 deletions
5
main.qml
5
main.qml
|
@ -76,6 +76,7 @@ ApplicationWindow {
|
||||||
readonly property string localDaemonAddress : persistentSettings.nettype == NetworkType.MAINNET ? "localhost:18081" : persistentSettings.nettype == NetworkType.TESTNET ? "localhost:28081" : "localhost:38081"
|
readonly property string localDaemonAddress : persistentSettings.nettype == NetworkType.MAINNET ? "localhost:18081" : persistentSettings.nettype == NetworkType.TESTNET ? "localhost:28081" : "localhost:38081"
|
||||||
property string currentDaemonAddress;
|
property string currentDaemonAddress;
|
||||||
property bool startLocalNodeCancelled: false
|
property bool startLocalNodeCancelled: false
|
||||||
|
property int estimatedBlockchainSize: 50 // GB
|
||||||
|
|
||||||
// true if wallet ever synchronized
|
// true if wallet ever synchronized
|
||||||
property bool walletInitialized : false
|
property bool walletInitialized : false
|
||||||
|
@ -1150,9 +1151,9 @@ ApplicationWindow {
|
||||||
if(validator.readOnly)
|
if(validator.readOnly)
|
||||||
confirmationDialog.text += qsTr("Error: Filesystem is read only") + "\n\n"
|
confirmationDialog.text += qsTr("Error: Filesystem is read only") + "\n\n"
|
||||||
if(validator.storageAvailable < 20)
|
if(validator.storageAvailable < 20)
|
||||||
confirmationDialog.text += qsTr("Warning: There's only %1 GB available on the device. Blockchain requires ~%2 GB of data.").arg(validator.storageAvailable).arg(30) + "\n\n"
|
confirmationDialog.text += qsTr("Warning: There's only %1 GB available on the device. Blockchain requires ~%2 GB of data.").arg(validator.storageAvailable).arg(estimatedBlockchainSize) + "\n\n"
|
||||||
else
|
else
|
||||||
confirmationDialog.text += qsTr("Note: There's %1 GB available on the device. Blockchain requires ~%2 GB of data.").arg(validator.storageAvailable).arg(30) + "\n\n"
|
confirmationDialog.text += qsTr("Note: There's %1 GB available on the device. Blockchain requires ~%2 GB of data.").arg(validator.storageAvailable).arg(estimatedBlockchainSize) + "\n\n"
|
||||||
if(!validator.lmdbExists)
|
if(!validator.lmdbExists)
|
||||||
confirmationDialog.text += qsTr("Note: lmdb folder not found. A new folder will be created.") + "\n\n"
|
confirmationDialog.text += qsTr("Note: lmdb folder not found. A new folder will be created.") + "\n\n"
|
||||||
|
|
||||||
|
|
|
@ -748,10 +748,10 @@ Rectangle {
|
||||||
confirmationDialog.text += qsTr("Error: Filesystem is read only") + "\n\n"
|
confirmationDialog.text += qsTr("Error: Filesystem is read only") + "\n\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
if(validator.storageAvailable < 20) {
|
if(validator.storageAvailable < estimatedBlockchainSize) {
|
||||||
confirmationDialog.text += qsTr("Warning: There's only %1 GB available on the device. Blockchain requires ~%2 GB of data.").arg(validator.storageAvailable).arg(15) + "\n\n"
|
confirmationDialog.text += qsTr("Warning: There's only %1 GB available on the device. Blockchain requires ~%2 GB of data.").arg(validator.storageAvailable).arg(estimatedBlockchainSize) + "\n\n"
|
||||||
} else {
|
} else {
|
||||||
confirmationDialog.text += qsTr("Note: There's %1 GB available on the device. Blockchain requires ~%2 GB of data.").arg(validator.storageAvailable).arg(15) + "\n\n"
|
confirmationDialog.text += qsTr("Note: There's %1 GB available on the device. Blockchain requires ~%2 GB of data.").arg(validator.storageAvailable).arg(estimatedBlockchainSize) + "\n\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!validator.lmdbExists) {
|
if(!validator.lmdbExists) {
|
||||||
|
|
Loading…
Reference in a new issue