In Windows, Bitcoin Core use (datadir) instead of (datadir)/wallets/ as wallet directory by default. #13104

issue ken2812221 opened this issue on April 27, 2018
  1. ken2812221 commented at 3:44 PM on April 27, 2018: contributor

    Describe the issue

    In Windows, Bitcoin Core do not use (datadir)/wallets/ as wallets dir by default, but use (datadir).

    What behavior did you expect?

    I think the default wallet directory in Windows should be as the same as in Linux.

    What was the actual behavior?

    Bitcoin Core use (datadir) as wallet dir in Windows

    How reliably can you reproduce the issue, what are the steps to do so?

    Start bitcoin-qt or bitcoind with wallet enabled on Windows.

    <!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->

    <!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->

    <!-- Any extra information that might be useful in the debugging process. -->

    <!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->

  2. ken2812221 renamed this:
    In Windows, Bitcoin Core use (datadir)/wallets/ instead of (datadir) by default.
    In Windows, Bitcoin Core use (datadir) instead of (datadir)/wallets/ by default.
    on Apr 27, 2018
  3. ken2812221 renamed this:
    In Windows, Bitcoin Core use (datadir) instead of (datadir)/wallets/ by default.
    In Windows, Bitcoin Core use (datadir) instead of (datadir)/wallets/ by default as wallet directory.
    on Apr 27, 2018
  4. ken2812221 renamed this:
    In Windows, Bitcoin Core use (datadir) instead of (datadir)/wallets/ by default as wallet directory.
    In Windows, Bitcoin Core use (datadir) instead of (datadir)/wallets/ as wallet directory by default.
    on Apr 27, 2018
  5. ryanofsky commented at 3:56 PM on April 27, 2018: member

    I think if you create the (datadir)/wallets directory manually and move your wallets into it, bitcoin should use this location, even on windows. For backwards compatibility, bitcoin will not create a (datadir)/wallets directory unless the entire datadir is new. But if the directory exists, it should use it regardless of platform. From -help output:

      -walletdir=<dir>
           Specify directory to hold wallets (default: <datadir>/wallets if it
           exists, otherwise <datadir>)
    
  6. ken2812221 commented at 4:01 PM on April 27, 2018: contributor

    Oops, you're right.

  7. ken2812221 closed this on Apr 27, 2018

  8. 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-20 09:15 UTC

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