wallet.dat cannot be symlink anymore in 0.15 (regression) #11459

issue phiresky opened this issue on October 7, 2017
  1. phiresky commented at 12:06 AM on October 7, 2017: none

    Describe the issue

    My wallet.dat is on a different drive than my bitcoin config directory, and having wallet.dat be a symlink has always worked.

    Can you reliably reproduce the issue?

    If so, please list the steps to reproduce below:

    1. mv ~/.bitcoin/wallet.dat ~/file && ln -sf ~/.bitcoin/wallet.dat ~/file
    2. bitcoin-qt

    Expected behaviour

    It should work transparently, same as in 0.14 (I think).

    Actual behaviour

    "Error loading wallet wallet.dat. -wallet filename must be a regular file."

    What version of bitcoin-core are you using?

    0.15.0.1-gfb7b5293844

    Presumably introduced in https://github.com/bitcoin/bitcoin/commit/a6da027d83 (@promag)

  2. sipa commented at 12:11 AM on October 7, 2017: member

    See the discussion in #10885

    In summary, this was an unintentional and unsupported feature with several risks. We're not going to add active support for it, as it has high risk of funds loss when used incorrectly.

    Instead, see #11348 to enable having wallets in a separate directory from the blockchain.

  3. fanquake commented at 2:39 PM on October 7, 2017: member

    Closing, there was also some discussion in this related issue #11343.

  4. fanquake closed this on Oct 7, 2017

  5. fanquake added the label Questions and Help on Oct 7, 2017
  6. DrahtBot locked this on Sep 8, 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-26 06:15 UTC

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