4 votes

How does bitcoind choose its data directory?

Unless explicitly told otherwise, the datadir is always placed in /home/$USER/.bitcoin, there is no logic for automatically using any location other than this. The configuration file is always in the ...
Claris's user avatar
  • 15.4k
3 votes

How does bitcoind choose its data directory?

When you start bitcoind, you can specify a non-default data directory: $ bitcoind datadir=/your/custom/filepath This will override the option set in the bitcoin.conf file, if there is one set there....
chytrik's user avatar
  • 18.3k
3 votes
Accepted

Can bitcoind and btcd share a datadir?

No, they’re completely incompatible.
Claris's user avatar
  • 15.4k
3 votes

How does bitcoind choose its data directory?

One of the ways of pointing to your data directory is making a change to your bitcoin.conf file (it's usually located in ~/.bitcoin/bitcoin.conf path) Add the line: datadir = /...
Tony Sanak's user avatar
  • 1,689
3 votes

How do I delete the blockchain after uninstalling Bitcion Core?

You need to delete your data directory. See the question Where is the data folder for Bitcoin-Qt? for where it should be installed by default on your system. Make sure you backup wallet.dat first, ...
Adam Millerchip's user avatar
3 votes

Where to find the blockchain on Bitcoin ABC?

As per the documentation https://github.com/Bitcoin-ABC/bitcoin-abc/blob/master/doc/files.md blocks/blk000??.dat: block data (custom, 128 MiB per file); since 0.8.0 These files should be in C:/Users/...
tuxcanfly's user avatar
  • 395
2 votes
Accepted

datadir compatible between 0.14.0 and 0.14.1

Switching between different computers/platforms should work. Don't try to use a NAS (network attached storage). Always make sure you did a clean shutdown before switching the computer(platform. Make ...
Jonas Schnelli's user avatar
2 votes

Can bitcoind and btcd share a datadir?

You can't use the same datadir, but you can tell btcd to connect to your locally-running bitcoind instance in order to do the initial blockchain sync. This means that you'll end up with two copies of ...
Chris Concannon's user avatar
2 votes

Where is the data folder for Bitcoin-Qt?

@ThePiachu is right Linux: ~/.bitcoin/ macOS: ~/Library/Application Support/Bitcoin/ Windows: %APPDATA%\Bitcoin But since there are no instructions, it may be hard for a ...
MCCCS's user avatar
  • 10.2k
2 votes
Accepted

How can I pick the data directory of Bitcoin Core on Windows 10?

You'll want to set the option -datadir=<path-to-your-drive> either when starting bitcoind, or in your bitcoin.conf file. If you add it to bitcoin.conf, you'll need to restart your node for the ...
chytrik's user avatar
  • 18.3k
1 vote
Accepted

Where is the data directory from the initial Bitcoin Core Welcome prompt saved on a Mac?

The configuration is saved as key 'strDataDir' of /Users/xxx/Library/Preferences/org.bitcoin.Bitcoin-Qt.plist in Mac.
foolbear's user avatar
  • 160
1 vote

about bitcoin starting directory and .conf location

how does the .exe know every time where to start? On Microsoft Windows The Bitcoin Core GUI application stores the name of the data directory in the Windows Registry at registry key Computer\...
RedGrittyBrick's user avatar
1 vote

Bitcoin.conf "blocksdir" parameter not taking effect?

There is a typo in your flag. It reads blockdir but it should be blocksdir.
ABTC's user avatar
  • 31
1 vote

Ubuntu Linux, Unable to set bitcoin datadir to a folder in different drive

if installed via snap, try snap connect bitcoin-core:removable-media more info here
tiny0little's user avatar
1 vote
Accepted

Ubuntu Linux, Unable to set bitcoin datadir to a folder in different drive

Applications in a Snap run in a container with limited access to the host system, you can install bitcoin-core with full filesystem access via the Luke-Jr repository: sudo add-apt-repository ppa:luke-...
leevancleef's user avatar
1 vote

How does bitcoind choose its data directory?

here i have some example script for UTX token ( bitcoind and the friend ) example script and manage blockchain also in that script include block monitoring using bash and qt compare with public ...
sonjaya sonjaya's user avatar
1 vote
Accepted

bitcoin-cli not stopping bitcoind

As @Raghav Sood mentioned, you can stop bitcoin for a different datadir (the location of .bitcoin folder) using: $ bitcoin-cli -datadir=<dir> stop
JBaczuk's user avatar
  • 7,388
1 vote
Accepted

Why is wallet.dat BerkeleyDB instead of LevelDB?

BerkeleyDB support ACID (Atomicity, Consistency, Isolation, Durability). Leveldb no ACID, I think this is the main reason using BerkeleyDB.
bitaps.com's user avatar
1 vote
Accepted

Setting wallet directory independent to data directory

I don't think you can make bitcoin core look for the wallet.dat file outside of the specified data directory, but I think you can make a symbolic link called wallet.dat in the data directory and have ...
jwinterm's user avatar
  • 225

Only top scored, non community-wiki answers of a minimum length are eligible