The -datadir option changes where Bitcoin Core puts its wallet and blockchain database.
Questions tagged [datadir]
22 questions
42
votes
4 answers
Where is the data folder for Bitcoin-Qt?
Where can I find the blockchain, wallet.dat, etc. on each of the operating systems Bitcoin-Qt supports?
Chris Moore
- 14,745
- 6
- 65
- 87
3
votes
5 answers
How does bitcoind choose its data directory?
Sorry, noob question I am new to anything linux related. I managed to set up bitcoin core just fine on my raspberry pi 4 and I have an external HDD that I want to use as my data directory for the 250 GB or so of blocks (this is not my main storage…
Steve Merriman
- 31
- 4
3
votes
1 answer
bitcoind not using correct directory inspite of datadir argument
I configured a non-pruned bitcoin full node on a RaspberryPi 3 using this tutorial - http://raspnode.com/diyBitcoin.html
I am using a 1TB external HDD to store the blockchain. I synced the full blockchain on my laptop and transferred it to this…
hex17or
- 33
- 4
3
votes
0 answers
Where does Bitcoin Core save the custom directory setting?
When installing Bitcoin Core on Windows 10 and starting it for the first time, the Welcome message prompts to specify a custom data directory. When specifying that custom directory, where does Bitcoin Core save that info? It cannot be on the custom…
Carlos
- 33
- 4
3
votes
1 answer
Unable to use `blocks` and `chainstate` from external drive
I want to use data directory from a different location (external SSD) on a Windows machine. When I save the path for it in bitcoin.conf it still uses old data directory. How can I use datadir in bitcoin.conf?
bitcoin.conf…
user103136
2
votes
2 answers
Can bitcoind and btcd share a datadir?
I've already fully synced the blockchain with btcd, can I point bitcoind at the same datadir and use its contents?
Matthew Cruz
- 428
- 4
- 15
2
votes
1 answer
Why is wallet.dat BerkeleyDB instead of LevelDB?
Why wasn't wallet.dat migrated to LevelDB?
Is it because
BerkeleyDB is better at [something]
Backwards compatibility
MCCCS
- 10,097
- 5
- 27
- 55
2
votes
1 answer
How do I delete the blockchain after uninstalling Bitcion Core?
I downloaded bitcoin core, and it "synced" the blockchain, taking up 163gig on my HD considerably slowing my comp. so I uninstalled bitcoin core, but yet still see to have 163gig of unwanted data slowing my computer. I operate Windows 10. HOW do I…
Darryl
- 21
- 1
- 2
2
votes
1 answer
datadir compatible between 0.14.0 and 0.14.1
I have a raspberry pi with bitcoin core (0.14.1, self compiled) and a macOS system with bitcoin core (0.14.0, binary from bitcoin.org). I am storing the blockchain (complete datadir) on an external hard drive. Can I expect to plug this hard drive in…
askmike
- 226
- 1
- 12
2
votes
1 answer
Setting wallet directory independent to data directory
Obviously with datadir=C:... I can chance the directory bitcoin uses. I would like to store my wallet on a different hard drive than the blockchain. Is there a command for that?
Cremo
- 43
- 4
2
votes
1 answer
Is it possible to have my blockchain on a different folder than that of my wallet files?
I am trying to implement bitcoin payments for the project I'm currently working on, and I need to create a bitcoin wallet that should be inside a USB stick. This USB stick should be at the hands of the project manager, and every developer that wants…
Loupax
- 121
- 4
2
votes
1 answer
How can I pick the data directory of Bitcoin Core on Windows 10?
I'm using Bitcoin Core on Windows 10. Despite setting it up in a folder on my larger drive, it's eating all the space on my SSD. How do I direct the blockchain to the drive I want?
Sal
- 23
- 4
1
vote
0 answers
Switching between pruned and non-pruned blocksdir ok?
Is it ok to swap the nodes blocksdir upon restart without corrupting sth. cache etc.. I have two blocksdir: one locally pruned blocks, the other external with all blocks in blocks on usb drive. Id like to swap to external HDD blocksdir to eg rescan…
droid192
- 235
- 2
- 8
1
vote
1 answer
bitcoin-cli not stopping bitcoind
I tried stopping bitcoind using bitcoin-cli stop and got the following error.
bitcoin-cli stop
error: Could not locate RPC credentials. No authentication cookie could be found, and RPC password is not set. See -rpcpassword and -stdinrpcpass. …
noi.m
- 167
- 1
- 5
1
vote
1 answer
Where to find the blockchain on Bitcoin ABC?
So if I'm running a full node on Bitcoin ABC, where can I find the file or files which contain the blockchain when it is being downloaded?
The folder in Program Files is too small, I think, to contain the blockchain.
Callum Branley
- 11
- 1