Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: matt608 on October 01, 2013, 02:38:22 PM



Title: How to delete blockchain from macbook after switching to mutlibit
Post by: matt608 on October 01, 2013, 02:38:22 PM
Hi,
I was running bitcoin qt v0.84, then it said there was an error and that I had to re-sync.  I heard that there was a bug in v0.84 so I downloaded v0.85 and re-synced.  It took 4 days and I saw my hard drive space go down down down. 

Now I've switched to multibit and transferred the BTC across to my new multibit wallet.  I've deleted the bitcoin qt application but that was only 30mb or so and didn't delete the massive blockchain file, but I can't seem to find it.  It's still taking up loads of space but there's no file in my downloads or when I search my macbook there are no huge files recently downloaded.  I'm sure I had at about 5-10gb more space before re-downloading the entire blockchain, so where is it?  How do I delete it?

Thank you, any help much appreciated :)



Title: Re: How to delete blockchain from macbook after switching to mutlibit
Post by: DannyHamilton on October 01, 2013, 02:48:06 PM
It's in a hidden directory.

/Users/{yourUserName}/Library/Application Support/Bitcoin


Title: Re: How to delete blockchain from macbook after switching to mutlibit
Post by: matt608 on October 01, 2013, 02:55:52 PM
It's in a hidden directory.

/Users/{yourUserName}/Library/Application Support/Bitcoin

Ah ok thanks, found it.  It comes up with these files in the bitcoin folder:

wallet.dat
debug.log
peers.dat
chainstate
blocks
blkindex.dat
addr.dat
blk0004.dat
blk0003.dat
blk0002.dat
db.log
blk0001.dat


Are those all 'remnants' from bitcoin QT or do I need to keep some of them for multibit to run?


Title: Re: How to delete blockchain from macbook after switching to mutlibit
Post by: DannyHamilton on October 01, 2013, 03:06:19 PM
That's it.

"blocks" and "chainstate" are actually subdirectories with additional files.

Those files in the sub-directories are the blockchain.

If you are 100% certain that you are not going to use Bitcoin-Qt anymore, you can just delete all of it (all the files you listed and all the files in the subdirectories).

It might be a good idea to make a copy of the wallet.dat file first though, just in case you ever accidentally receive bitcoins to one of the addresses that are stored there.


Title: Re: How to delete blockchain from macbook after switching to mutlibit
Post by: DannyHamilton on October 01, 2013, 03:07:15 PM
- snip -
do I need to keep some of them for multibit to run?

No. None of that is used by MultiBit.


Title: Re: How to delete blockchain from macbook after switching to mutlibit
Post by: matt608 on October 01, 2013, 03:10:09 PM
Ok all sorted, thanks.  I have a spare HD which I use for backups.