Post
Topic
Board Bitcoin Discussion
Re: [ANN] Bitcoin blockchain data torrent
by
ddrown
on 27/08/2014, 00:44:19 UTC
Torrent officially updated!  See OP.  New height:  317,000 @ 22.5 GB

No surprises comparing this file (sha256sum d05062052be4dd6fbaeac5f17598e52f7ad545f9f938acefaf7067ecce1d7b5a) with the blockchain.  I hope posting these verifications is useful to others.

I'm doing it this way because it's faster to stream data out of bootstrap.dat rather than pulling the data out of bitcoin-cli.  So I can generate the sha256sum from the client once for a given range, and use it to verify that the data hasn't changed.  Future updates just need a checksum out of bitcoin-cli covering the new parts.  If anyone's interested in the blockheight program, I can publish it.

Blocks 0 through 295000, bootstrap matches blockchain:

Code:
$ ./blockheight -e 295000 d83ea8602fb5d2ad863afc7fae1b25794bc7da37d2da642e6aca15f2ad19d9e9  -
$ for((i = 0; i < 295001; i++)); do  ./bitcoin-cli getblock `./bitcoin-cli getblockhash $i` false ; done | sha256sum
d83ea8602fb5d2ad863afc7fae1b25794bc7da37d2da642e6aca15f2ad19d9e9  -

Blocks 295001 through 313000, bootstrap matches blockchain:

Code:
$ ./blockheight -s 295001 -e 313000 < bootstrap-317000.dat | sha256sum
6cccd54b215799d91b6781b190903fb5673cf6413d2a93c5ebe26223e3b2de21  -
$ for((i = 295001; i < 313001; i++)); do  ./bitcoin-cli getblock `./bitcoin-cli getblockhash $i` false ; done | sha256sum
6cccd54b215799d91b6781b190903fb5673cf6413d2a93c5ebe26223e3b2de21  -

Blocks 313001 through 317000, bootstrap matches blockchain:

Code:
$ ./blockheight -s 313001 < bootstrap-317000.dat | sha256sum
a4ab78b82bb7b75b640a6f128fd66cb911362aa8058ebf574b4e02c111f63ba5  -
$ for((i = 313001; i < 317001; i++)); do  ./bitcoin-cli getblock `./bitcoin-cli getblockhash $i` false ; done | sha256sum
a4ab78b82bb7b75b640a6f128fd66cb911362aa8058ebf574b4e02c111f63ba5  -