Questions tagged [datadir]

The -datadir option changes where Bitcoin Core puts its wallet and blockchain database.

Filter by
Sorted by
Tagged with
1 vote
0 answers
42 views

Does Bitcoin-Core sanitize all accesses to DataDir?

I run core in -disablewallet mode, but keep my datadir on a secondary storage volume, which isn't as secure as my primary drive. Is this an attack vector? Could someone stuff some data-bomb in one ...
user avatar
  • 411
0 votes
0 answers
73 views

cannot relocate blockchain data directory for bitcoin core on ubuntu (snap installation)

I have two drives (one SSD for OS and software - and one HDD for blockchain data). I recently tried the snap installation for bitcoin core and found out that you cannot choose directories outside of /...
user avatar
1 vote
1 answer
321 views

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

I am trying to run a bitcoin node. I want to set the datadir to a folder located on drive other than on which I have installed ubuntu. Folder I want to set as datadir: /media/spider/Utils/bitcoin ...
user avatar
3 votes
1 answer
117 views

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 ...
user avatar
1 vote
1 answer
227 views

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?
user avatar
  • 13
0 votes
1 answer
517 views

Bitcoin core datadir over NFS

I am going to run a bitcoin core on a Linux server (Ubuntu 20.04). I don't have enough storage to store blockchain data. Therefore, I want to save the data over an NFS server (CentOS release 6.10). ...
user avatar
  • 11
3 votes
5 answers
999 views

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 ...
user avatar
2 votes
2 answers
132 views

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?
user avatar
1 vote
0 answers
38 views

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 ...
user avatar
  • 225
1 vote
1 answer
1k views

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 ...
user avatar
  • 167
2 votes
1 answer
409 views

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
user avatar
  • 9,789
2 votes
1 answer
4k views

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 ...
user avatar
  • 21
1 vote
1 answer
881 views

Where to find the blockchain on Bitcoin ABC? [closed]

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 ...
user avatar
3 votes
1 answer
935 views

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 ...
user avatar
2 votes
1 answer
44 views

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 ...
user avatar
  • 226
2 votes
1 answer
172 views

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?
user avatar
  • 43
2 votes
1 answer
1k views

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 ...
user avatar
  • 121
1 vote
1 answer
396 views

how can I run multi wallet on one computer to share same blockdata

you know ,you need a 32GB size for one bitcoin client,is it possible to run several bitcoin programs sharing same data source using -datadir or something else? I have found that somebody had put it ...
user avatar
  • 433
1 vote
0 answers
623 views

Exception in Boost library when running bitcoind.exe

I've built Bitcoin 0.8.6 on Windows 32bit using mingw32 and now trying to execute bitcoind.exe in the prompt using the following command: bitcoind.exe -datadir="e:/BitcoinDataTest" I'm getting the ...
user avatar
42 votes
4 answers
73k views

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?
user avatar
  • 14.7k