-datadir is now allowed in config files #4510

pull zw wants to merge 1 commits into bitcoin:master from zw:datadir changing 1 files +1 −1
  1. zw commented at 1:09 AM on July 12, 2014: contributor

    Worked for me on 0.9.2.1 anyway.

  2. -datadir is now allowed in config files 6b407e4e56
  3. BitcoinPullTester commented at 1:41 AM on July 12, 2014: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/p4510_6b407e4e56dc82a8591c668401add49b6d128c87/ for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.

  4. laanwj commented at 7:38 AM on July 12, 2014: member

    ACK. Indeed. You can specify -datadir in the config file. This is especially useful if you specify -conf, as you can define a whole configuration from the config file.

    This is good as it replaces 'datadir-based' thinking, where the datadir defines where the configuration file is. After all there are good reasons to keep configuration files and data in separate places. See also #4124.

  5. sipa commented at 5:56 PM on July 12, 2014: member

    ACK

  6. laanwj merged this on Jul 14, 2014
  7. laanwj closed this on Jul 14, 2014

  8. laanwj referenced this in commit 08c6339124 on Jul 14, 2014
  9. dcousens commented at 5:02 AM on July 31, 2015: contributor

    What is the syntax for -datadir in the configuration file?

    edit: seems that it is just datadir=/your/path/here

  10. MarcoFalke 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-05-02 18:15 UTC

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