Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Shahrukh on January 14, 2014, 03:14:59 PM



Title: What if I delete blk0001.dat files
Post by: Shahrukh on January 14, 2014, 03:14:59 PM
Yesterday I installed and ran butcoind on linux server and since yesterday it consumed around 10 or so GB of disk space so what I am thinking is what if I delete old files of block info like I have upto blk12345.dat can I delete upto blk5000.DAT will that create issues ?


Title: Re: What if I delete blk0001.dat files
Post by: Sammey on January 14, 2014, 03:20:57 PM
Yesterday I installed and ran butcoind on linux server and since yesterday it consumed around 10 or so GB of disk space so what I am thinking is what if I delete old files of block info like I have upto blk12345.dat can I delete upto blk5000.DAT will that create issues ?

In short, yes. It will probably cause issues.

Edit: Unless you're looking to delete them all and redownload all of the blockchain.

Also, you'll need all of the blockchain, which means multiple blk*.dat files that take up allot of space.

If you don't want to take up so much space you should look into a alternate client, such as Electrum or MultiBit.


Title: Re: What if I delete blk0001.dat files
Post by: michagogo on January 14, 2014, 08:07:29 PM
You won't immediately notice anything wrong, until the moment when the software tries to access a block from one of those files, which could happen for a variety of reasons, including a node requesting it over the network. When that happens, it'll crash.


Title: Re: What if I delete blk0001.dat files
Post by: Eternity on January 15, 2014, 09:49:52 AM
You have to have all of them as the transactions are loaded in them.