8

I have a Bitcoin installation on an SD card, and the blockchain files (blk0001.dat specifically) take up nearly 4 GB of disk space.

Can the blk0001.dat and blk0002.dat files be safely deleted to free up space on my SD card? Will the blockchain just be downloaded again next time I run my bitcoin client?

Josh
  • 503
  • 1
  • 4
  • 14

1 Answers1

8

You can delete them just fine, as long as you delete blkindex.dat too. They will be downloaded and processed again. This will take a while, these days, though.

Pieter Wuille
  • 105,497
  • 9
  • 194
  • 308
  • Thanks! A while meaning hours... or weeks? :-) – Josh Aug 30 '12 at 17:30
  • 1
    @Josh: YMMV but may be about a day. For this purpose you should consider trying a lightweight client. – Meni Rosenfeld Aug 30 '12 at 20:38
  • From my personal experience Days (About 1 hour for each week you are behind). This is for my 2.4 Ghz machine. Infinite patience. –  Nov 08 '14 at 08:30