Coder Social home page Coder Social logo

Pruning keeps getting reenabled about gui HOT 2 OPEN

hebasto avatar hebasto commented on August 31, 2024 2
Pruning keeps getting reenabled

from gui.

Comments (2)

BenWestgate avatar BenWestgate commented on August 31, 2024

Hi hebasto, a work around would be to put a bitcoin.conf file in /Volumes/Drive/Bitcoin with prune=0 BEFORE mounting your external drive, that way if it hasn't been mounted Bitcoin Core will not try to prune. This file will be buried and ignored after your external drive mounts.

Another work around would be adding -prune=0 to whatever method you are launching Bitcoin, be that command line or a .desktop file.

The file that remembers where your custom datadir is $HOME/.config/Bitcoin/Bitcoin-Qt.conf on linux.

Setting prune=0 in there however will be ignored on first launch, unfortunately this is probably a bug, since it DOESN'T ignore the datadir= entry.

The Welcome GUI overrides everything except the bitcoin.conf of the chosen datadir and the command line parameters. But it doesn't read the bitcoin.conf to know the prune setting to use until after the datadir is selected.

So the checkbox about pruning in that welcome screen will ONLY reflect the command line -prune=0 option given to bitcoin-qt.

You might also make the mount point read only after putting a bitcoin.conf in there then bitcoin will error out if your External Storage has not been mounted.

from gui.

BenWestgate avatar BenWestgate commented on August 31, 2024

Letting Bitcoin-Qt search for bitcoin.conf in $XDG_CONFIG_HOME/Bitcoin and reading it from your internal drive if present would resolve this issue. As is, bitcoin.conf is not read until after that choosedatadir window is dismissed.
bitcoin/bitcoin#16733

from gui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.