Feature Request: Add a GUI option for where the blockchain storage locations. #16579

issue fresheneesz opened this issue on August 10, 2019
  1. fresheneesz commented at 2:25 AM on August 10, 2019: none

    I currently tried upgrading Bitcoin Core to v0.18 and it filled up by primary drive somehow. I had previously had it configured to store the database on my primary harddrive and the blockchain on a secondary drive. It clearly has messed with that config. Looking at my configuration file, its just empty. And the blockchain is not being stored at %APPDATA%/Bitcoin (I'm on windows 7), so I have no idea where its going.

    Having a way to select where to store the blockchain is critical now that the chain is so huge. I don't want to put that thing on my primary drive that only has 225GB total. Yes I can edit the config file, but that's not user friendly. This is an important option and should be exposed where an unsophisticated user can change it. It would also help me if I could see where this thing is putting the blockchain so I don't have to an hour of my life looking for a suspiciously large directory.

  2. achow101 commented at 2:33 AM on August 10, 2019: member

    This is an important option and should be exposed where an unsophisticated user can change it.

    The first time you start Bitcoin Core, it will prompt you to set the datadir. The assumption is that you won't be moving the datadir once it is set.

    It would also help me if I could see where this thing is putting the blockchain so I don't have to an hour of my life looking for a suspiciously large directory.

    You already can. Go to Window > Information. It will be listed as datadir.

  3. fanquake added the label GUI on Aug 10, 2019
  4. MarcoFalke added the label Questions and Help on Aug 10, 2019
  5. MarcoFalke removed the label Questions and Help on Aug 10, 2019
  6. emilengler commented at 6:27 PM on August 10, 2019: contributor

    At least on Unix systems you can take a look at the QSettings bitcoin-qt file. There they are stored at ~/.config/Bitcoin (IIRC). On Windows it is probably in %APPDATA%\Bitcoin. There is a string which says where the datadir is located

  7. achow101 commented at 7:12 PM on August 10, 2019: member

    On Windows it is probably in %APPDATA%\Bitcoin. There is a string which says where the datadir is located

    QSettings saves things in the registry on Windows.

  8. emilengler commented at 7:57 PM on August 10, 2019: contributor

    Oh ok, according to the Qt Documentation it should be probably located somewhere in HKEY_CURRENT_USER\Software\Bitcoin\ and/or HKEY_LOCAL_MACHINE\Software\Bitcoin\ However I'm not 100% sure because I don't use Windows

  9. laanwj commented at 8:29 AM on August 12, 2019: member

    If you move the datadir out of the way, it will re-ask for the datadir location next time bitcoin-qt is launched. If you then give it the new location of the existing data dir, that will work.

    This has always been the way to move the datadir. Although this should be better documented, I think it is unlikely a U sequence will be added to move the datadir because this is a unusual thing to do and cannot be done while the program is running so it would need all kinds of nasty workarounds.

  10. laanwj closed this on Aug 12, 2019

  11. DrahtBot locked this on Dec 16, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me