0
I want to find the size of the blockchain data. I've been using this Linux command:
du --exclude=index /home/me/.bitcoin/blocks/
Is this the most accurate way to do it? And does dividing the result by 1024/1024 give the size of the blockchain in GBs?
Note: The
--exclude=indexpart excludes the blocks/index/ subfolder, which I've heard is extra metadata used for levelDB to make it faster to search through the blockchain. I just want to know the size of the blockchain data only, so does it make sense to omit this?
Thanks Nate. I'm going to display the size of the blockchain on a website. In your opinion, would it make more sense to use GB or GiB? – inersha – 2016-08-01T15:57:19.763
I don't have an opinion on that. – Nate Eldredge – 2016-08-01T16:02:15.850
@inersha: GiB is less ambiguous. When you write GB, especially in the context of storage capacity some might understand it as 10^9 bytes while others think you mean 2^30. – Murch – 2016-08-03T06:08:46.267