diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2017-02-08 04:05:55 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2017-02-08 19:24:43 +0000 |
commit | 50c56570b23c4ecbbf2a22f3b8b18d0a24050b93 (patch) | |
tree | 120578b75d8d22b9d6dae18c727344313c32783a /src/qt | |
parent | 9adb694b171efd6c0f87f96436de92526f920383 (diff) |
Qt/Intro: Storage shouldn't grow significantly with pruning enabled
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/intro.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qt/intro.cpp b/src/qt/intro.cpp index aec9a97cfc..e39c39bb0c 100644 --- a/src/qt/intro.cpp +++ b/src/qt/intro.cpp @@ -126,16 +126,18 @@ Intro::Intro(QWidget *parent) : ui->storageLabel->setText(ui->storageLabel->text().arg(tr(PACKAGE_NAME))); uint64_t pruneTarget = std::max<int64_t>(0, GetArg("-prune", 0)); requiredSpace = BLOCK_CHAIN_SIZE; + QString storageRequiresMsg = tr("At least %1 GB of data will be stored in this directory, and it will grow over time."); if (pruneTarget) { uint64_t prunedGBs = std::ceil(pruneTarget * 1024 * 1024.0 / GB_BYTES); if (prunedGBs <= requiredSpace) { requiredSpace = prunedGBs; + storageRequiresMsg = tr("Approximately %1 GB of data will be stored in this directory."); } } requiredSpace += CHAIN_STATE_SIZE; ui->sizeWarningLabel->setText( tr("%1 will download and store a copy of the Bitcoin block chain.").arg(tr(PACKAGE_NAME)) + " " + - tr("At least %1 GB of data will be stored in this directory, and it will grow over time.").arg(requiredSpace) + " " + + storageRequiresMsg.arg(requiredSpace) + " " + tr("The wallet will also be stored in this directory.") ); startThread(); |