Skip to main content

Questions tagged [datadir]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
39 views

Unable to use external SSD for Bitcoin datadir in Ubuntu

I'm learning about how to run a Bitcoin full node. I have started tinkering with it on Windows, and have put the data directory in an external SSD drive I got specifically for storing the entire ...
desolate_mountain's user avatar
0 votes
1 answer
102 views

New download of bitcoin core v28.0, how to use blocks which have already been downloaded to my machine?

I have just downloaded bitcoin core v28.0 from bitcoincore.org. However, the new version of bitcoin core is not taking the copy of the blockchain which is on my machine from bitcoin core 27 and 26. ...
Eoin's user avatar
  • 309
2 votes
1 answer
184 views

Specified data directory does not exist - but it does

Similar to this question, bitcoind does not recognize an existing directory, even if it does not contain spaces as was the problem mentioned. bitcoin.conf # Specify a non-default location to store ...
Luís Garcia's user avatar
0 votes
0 answers
72 views

How do I configure BTCPayServer to use an alternative datadir and avoid 'Unable to open settings file' Error?

Similar to: Ubuntu Linux, Unable to set bitcoin datadir to a folder in different drive and I can't start bitcoind on Raspberry Pi. Why do I need settings.json.tmp when I didn't need it before? ...
Poseidon's user avatar
  • 673
2 votes
1 answer
125 views

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

When you start Bitcoin Core for the first time on a Mac, you are prompted to specify a custom data directory. However, it is not clear where this setting is stored and the "Welcome" screen ...
girevik's user avatar
  • 77
1 vote
0 answers
143 views

Bitcoin Core Unbuntu Custom Data Directory Does not Navigate to Secondary Internal Hard Drive

I have a laptop computer with 2 solid state internal 1000 GB hard drives. I have the operating system installed on drive 1 and I have the secondary drive formatted (ext4 file system), partitioned and ...
Valdy's user avatar
  • 11
0 votes
1 answer
66 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
189 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
1 answer
343 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
  • 461
2 votes
2 answers
1k 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
330 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
2k 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
971 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
6 answers
5k 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
219 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
54 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
  • 255
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
436 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.2k
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
910 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
53 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
186 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
407 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
639 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
1 vote
1 answer
592 views

How do you configure windows to store the bitcoin blockchain data into another directory?

I'm currently on windows and was wondering how do you make the qt client download the blockchain data to another directory? Since my main drive is a SSD hard drive, I don't have much space to spare. ...
Patoshi パトシ's user avatar
42 votes
4 answers
77k 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.8k