Every time I turn on the Bitcoin client it takes days to catch up with the block chain.

Are there alternatives to getting it trickling through the peer-to-peer network? Can I just download it somewhere? Wouldn't this be ideal for distribution via BitTorrent?

If so, how do I import it into the Bitcoin client?

My client would still be validating this data (can it?), and it is all signed and proof-of-worked, so there is no real security problem here, is there?

  • Apparently this does not speed up the time it takes to import and validate the block chain much, because the cryptographic calculations are the bottle neck, not the network I/O. But still, downloading everything first and validating later reduces the time you need a working network connection. Validation can be done offline, too. – Thilo Nov 27 '11 at 23:16
  • Good question! I was going to ask "How long is it supposed to take to download all blocks from the transaction history?". Short answer is: the times it takes to download a 1.4GB file, plus a bit more to get the latest blocks from peers. – rds Feb 18 '12 at 15:49
  • Can I know the from where i can download a sample of blockchain for some basic analysis? – Ankita Jul 10 '15 at 14:54
up vote 26 down vote accepted

Note by Murch: This download link is broken and it seems unlikely to me that anyone still provides this service. Network and synchronization code have been immensely improved over the years so that the initial block download via the network is usually acceptably fast.

You can download the blockchain nightlies handled by tcatm (one of the Bitcoin core developers and the operator of bitcoincharts.com). Unpack and copy&replace blkindex.dat, blk0001.dat files into C:\Users\"username"\AppData\Roaming\Bitcoin for Windows 7, and run bitcoind with the -rescan option. Then it will take only a couple minutes to download up to latest block. Be aware that manually copied blocks won't get verified.

  • 5
    The -rescan option doesn't verify blocks. It only checks for transactions that affect your wallet. It shouldn't take very long, not more than 10 minutes or so. (And you must do this if you use the nightlies. Otherwise you won't show or be able to spend any Bitcoins you received in blocks you didn't download from the Bitcoin network.) – David Schwartz Sep 9 '11 at 8:34
  • 4
    Are those .dat files portable? Or only work on Windows 7? – Thilo Sep 9 '11 at 8:58
  • 4
    it should be interchangeable, bitcointalk.org/index.php?topic=26044.0 – Serith Sep 9 '11 at 9:10
  • 2
    The only issue would be if you compiled the client yourself and used a different version of BerkeleyDB. Otherwise, it should work on all platforms. – David Schwartz Sep 9 '11 at 9:11
  • 15
    This is to report a rotten link :( – bytebuster Feb 24 '13 at 9:53

A good start of downloading block chain is here http://sourceforge.net/projects/bitcoin/files/Bitcoin/blockchain/

  • 2
    This is the correct answer. "Bitcoin-Qt/bitcoind version 0.7.1 and later supports a special import feature: If the file "bootstrap.dat" is found in the bitcoin data directory, it will validate and import all blockchain data found in that file." The torrents are in the link indicated by Codler. – Stephan Tual Mar 24 '13 at 2:54
  • 2
    Broken link.... – Mehrdad Jan 16 '16 at 11:11
  • As of 2015-06-05, this project may now be found at github.com/bitcoin/bitcoin – remedcu Oct 19 '17 at 16:33

This was an issue with versions of the client prior to 0.3.24 -- once the vast majority of the network switches over, the block chain downloads should proceed as fast as your CPU and network connection can handle.

There are places you can download the block chain, but the client doesn't provide a way to accept the block chain in any form other than from the network. If you're starting from nothing, it will generally take about 10 hours to process the whole block chain. Most of it isn't transfer time, it's CPU time validating all the hashes and signatures.

  • 1
    +1 If it really takes 10 hours to validate the chain when reading from a local file, then I guess I have to give up on the idea... Is there a way to know which versions everyone is on? – Thilo Sep 9 '11 at 7:58
  • Watch your CPU usage while you sync up. Unfortunately, the client can't really take advantage of multiple cores as it catches up. The right ultimate solution is for most people not to run the client but to instead run a lighter piece of software that only does what they actually need. – David Schwartz Sep 9 '11 at 8:02
  • @Thilo You could "divide" it. So 10 days, 1 hour each. – Pacerier Jun 17 '12 at 18:32
  • A lot of people want to use Armory as their bitcoin client, which really makes the idea of using a light bitcoin client impossible, unfortunately. I submitted a request to etotheipi to add in an option to Armory to load the blockchain from a server, and he said it's something he might do in the future, but it's pretty low on his list of priorities. – Evan Lynch Jun 3 '14 at 6:15

"Bitcoin-Qt/bitcoind version 0.7.1 and later supports a special import feature: If the file "bootstrap.dat" is found in the bitcoin data directory, it will validate and import all blockchain data found in that file."

The official torrent can be found at: http://sourceforge.net/projects/bitcoin/files/Bitcoin/blockchain/

Magnetic link: magnet:?xt=urn:btih:6fe493ba606847eac163baf35aae9db319735482&dn=bootstrap.dat&tr=udp://tracker.openbittorrent.com:80&tr=udp://tracker.publicbt.com:80&tr=udp://tracker.ccc.de:80&tr=udp://tracker.istole.it:80

Thread: https://bitcointalk.org/index.php?topic=145386.0

  • This is the correct answer. – Felipe Mar 22 '14 at 7:35

http://en.blockchaindownload.nl/ is a good way to download the full blockchains of bitcoin and litecoin. The site is new so i expect more improvements in the future. They offer free torrent downloads uploaded 24/7 by 3 servers so bandwith is pretty good and the last upload at the time of writing this was a nicely compressed rar file!

  • That's the only working link I found so far (July 2016). Please vote this answer up. – Konrad Gajewski Jun 29 '16 at 9:43
  • yup. As long as funds are there, I will make sure it stays online! (Its my own site) – rollo1996 Jun 29 '16 at 9:45

Bootstrapping will be deprecated as of the 0.10 release in a few weeks. The torrent file mentioned in other answers will never be updated again because it is faster to have Bitcoin Core sync over the network.

So no need to download the Blockchain seperately anymore!

You can find the release notes here https://github.com/bitcoin/bitcoin/blob/0.10/doc/release-notes.md

  • 1
    True, but there will still be circumstances where it's useful, like when you have a slow connection, but the ability to load the bootstrap file through a usb drive. – Nick ODell Feb 9 '15 at 18:07
  • Good point but then I would not run a full node and rather Electrum for example – greg121 Feb 9 '15 at 18:12

protected by Community Sep 25 '16 at 15:29

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.