Comply with the XDG Base Directory Specification #1390

issue graingert opened this issue on May 25, 2012
  1. graingert commented at 3:00 AM on May 25, 2012: contributor

    The bitcoin wallet is user data and so should go in: $XDG_DATA_HOME/bitcoin/ The block chain is cache, and can be reloaded from the internet and so should go into $XDG_CACHE_HOME/bitcoin/ The configuration file is config and so should go in $XDG_CONFIG_HOME/bitcoin/

    http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

  2. Diapolo commented at 5:36 AM on May 25, 2012: none

    I think it sucks to spread files all over the fs!

  3. jgarzik commented at 10:16 PM on July 5, 2012: contributor

    Bitcoin's definition of 'cache' and XDG's are quite different, I think. Also, splitting requires database schema update, as per issue #68. Compliance is not desired, I think.

  4. jgarzik closed this on Jul 5, 2012

  5. suprnurd referenced this in commit 61d56ee22e on Dec 5, 2017
  6. lateminer referenced this in commit 8655e0252d on Jan 22, 2019
  7. bilelmoussaoui commented at 3:59 PM on August 27, 2019: none

    Are the maintainers open to reconsider this? It would be nice to have this, see here https://github.com/flathub/flathub/pull/1100#discussion_r312281741

  8. MarcoFalke commented at 4:04 PM on August 27, 2019: member

    Can't seem to reopen it, so I created a new issue here: #16733

  9. MarcoFalke removed the label Refactoring on Aug 27, 2019
  10. bilelmoussaoui commented at 4:06 PM on August 27, 2019: none

    Thanks!

  11. lhanson commented at 2:23 AM on September 5, 2019: none

    @Diapolo

    I think it sucks to spread files all over the fs!

    Except that's exactly what happens when each program I use ignores my preferences and dumps files wherever they want. For example, I want all of my configuration files in one tree and ephemeral cache data in another. Much easier to manage.

  12. lateminer referenced this in commit d84d6bea2e on May 6, 2020
  13. MarcoFalke 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 21:16 UTC

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