-datadir with -testnet broken #1086

issue gavinandresen opened this issue on April 13, 2012
  1. gavinandresen commented at 12:55 AM on April 13, 2012: contributor

    I run: ./bitcoind -testnet -datadir=$(pwd)/.bitcoinTEST -printtoconsole

    ... and I see:

    Bitcoin version v0.6.0.99-unk-beta (Apr 11 2012, 15:10:15) Default data directory /Users/gavin/Library/Application Support/Bitcoin Loading addresses... dbenv.open LogDir=/Users/gavin/src/integration_btc/src/.bitcoinTEST/database ErrorFile=/Users/gavin/src/integration_btc/src/.bitcoinTEST/db.log

    ... which is wrong, the db env should be .bitcoinTEST/testnet/...

  2. sipa referenced this in commit 7a743148c9 on Apr 13, 2012
  3. sipa closed this on Apr 13, 2012

  4. laanwj referenced this in commit c3c203ccd9 on Apr 13, 2012
  5. freewil cross-referenced this on Apr 19, 2012 from issue Relative -datadir=... broken by laanwj
  6. coblee referenced this in commit 81aaa9836e on Jul 17, 2012
  7. coblee referenced this in commit a02b62260c on Jul 17, 2012
  8. suprnurd referenced this in commit 2d55b70381 on Dec 5, 2017
  9. sanch0panza referenced this in commit 667fe0e938 on May 17, 2018
  10. dexX7 referenced this in commit bdd7270d37 on Mar 12, 2020
  11. bitcoin 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-19 06:55 UTC