Page MenuHomePhabricator

[gui] intro: enable pruning by default unless disk is big
ClosedPublic

Authored by PiRK on Oct 16 2020, 14:21.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rABC4f80bc7eb4fa: [gui] intro: enable pruning by default unless disk is big
Summary

Color the text "GB needed for full chain" orange for nodes that barely have enough space.

This concludes backport of Core PR16714 - part 5 of 5
Commit 9924bce317b96ab0c57efb99330abd11b6f16b9a
Depends on D7955

Test Plan

Unmount the filesystem containing the bitcoin data, to trigger the intro screen to show on startup of bitcoin-qt.
Run src/qt/bitcoin-qt -regtest
In the intro screen, select a data directory on a filesystem with less than 10GB free space.
Verify that the message about the available space is yellow, and that the prune checkbox settings got checked.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable