Questions tagged [datadir]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

about bitcoin starting directory and .conf location

When I first started my bitcoin core node (version v23.0.0), it asked for directory where to start. I chose a different drive. However, how does the .exe know every time where to start? I cannot find ...
ondawoad's user avatar
3 votes
0 answers
92 views

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 ...
Carlos's user avatar
  • 33
1 vote
0 answers
73 views

Bitcoin.conf "blocksdir" parameter not taking effect?

I am running Bitcoin core on a raspberry pi with an external ssd. I am using this line in the bitcoin.conf to move block storage onto the ssd: blocksdir=/media/bitcoinstorage/.bitcoin/blocks However, ...
Conrad's user avatar
  • 21
1 vote
0 answers
48 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 ...
Dan's user avatar
  • 451
1 vote
2 answers
696 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 ...
Asad Hayat's user avatar
3 votes
1 answer
241 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
2 votes
1 answer
633 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?
Sal's user avatar
  • 23
0 votes
1 answer
762 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). ...
Taghi's user avatar
  • 11
3 votes
5 answers
2k 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 ...
Steve Merriman's user avatar
2 votes
2 answers
193 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?
Matthew Cruz's user avatar
1 vote
0 answers
48 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 ...
droid192's user avatar
  • 235
1 vote
1 answer
2k 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 ...
noi.m's user avatar
  • 167
2 votes
1 answer
427 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
MCCCS's user avatar
  • 10.1k
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 ...
Darryl's user avatar
  • 21
1 vote
1 answer
904 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 ...
Callum Branley's user avatar
3 votes
1 answer
1k 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 ...
hex17or's user avatar
  • 33
2 votes
1 answer
50 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 ...
askmike's user avatar
  • 226
2 votes
1 answer
181 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?
Cremo's 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 ...
Loupax's user avatar
  • 121
1 vote
1 answer
404 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 ...
Willipm's user avatar
  • 433
1 vote
0 answers
631 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 ...
Bole Grat's user avatar
42 votes
4 answers
75k 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?
Chris Moore's user avatar
  • 14.7k