Separate directories for blockchain and personal data on multi-user systems #3337

issue renne opened this issue on December 1, 2013
  1. renne commented at 8:59 AM on December 1, 2013: none

    Currently Bitcoin-QT stores personal data (wallet, etc.) and blockchain in a user-specific directory (HOME-directory). Considering size and growth of the blockchain, it makes no sense to store a copy of the blockchain for each user on a multi-user system.

    So I suggest to store the blockchain in a system-wide directory shared by all users.

  2. laanwj commented at 9:14 AM on December 1, 2013: member

    Agreed on the problem.

    However the solution to this is not to share directories, as as shared database is inefficient and tricky to coordinate, but to split up the client into a single "block chain daemon" and multiple "wallet daemons" that connect to the it on the same machine. (this has been the plan for a long time already)

  3. renne commented at 10:06 AM on December 1, 2013: none

    How about just disabling the blockchain-support in Bitcoin-QT on multi-user systems/LANs and add a common blockchain-interface to bitcoind and Bitcoin-QT? That way Bitcoin-QT can use bitcoind as blockchain-daemon on a multi-user system/LAN.

  4. laanwj commented at 11:09 AM on December 1, 2013: member

    It would be up to the user to choose whether to use a local blockchain (the default) or use a block chain daemon on the local PC or LAN.

  5. renne commented at 11:47 AM on December 1, 2013: none

    Yes. On setup Bitcoin-QT can ask for the IP of a blockchain daemon. If none is provided, it just downloads the blockchain itself.

  6. laanwj added the label Feature on Feb 9, 2016
  7. laanwj removed the label Refactoring on Feb 9, 2016
  8. Bushstar referenced this in commit 351fbf65ef on Apr 8, 2020
  9. MarcoFalke commented at 12:10 AM on April 27, 2020: member

    -blocksdir is now an option

  10. MarcoFalke closed this on Apr 27, 2020

  11. DrahtBot locked this on Feb 15, 2022
Labels

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-29 03:16 UTC

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