26

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 ...


16

As user Bitcoin has already pointed out, using a bootstrap.dat is no longer recommended—you can see the release notes for the new faster-synchronization feature here. As a result, the bootstrap.dat torrent links were removed from bitcoin.org after a short discussion. The bootstrap.dat file is still available here on the bitcointalk.org forum, and jgarzik ...


14

-rescan likely did nothing at all. It goes through the blockchain to find transactions that are missing from your wallet. It is only very rarely needed (like when you manually changed things in wallet.dat). -reindex throws away the block chain index and chain state (the database of all unspent transaction outputs), and rebuilds those from scratch. It is ...


14

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


13

Since v0.10, the parallel block download in Bitcoin Core is often comparable in speed to torrent downloading, does not require temporary double storage, and validates while downloading instead of sequentially. Original answer: Please use the bootstrap.dat torrent download. It is more frequently updated and much safer to use. You can find the .torrent ...


12

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 ...


10

Okay, it appears after much trial and error, I figured out that you put the bootstrap.dat file in the AppData/Roaming/Bitcoin or ~/.bitcoin folder. You can leave everything else in that folder untouched, just add the bootstrap.dat file in the Bitcoin folder. I left bootstrap.dat in there, and finally Bitcoin-QT found it, and on the bottom it states "...


10

Bitcoin Core contains a tool to do this properly (filtering out any orphan blocks, putting everything in the correct order — which will work a lot better than just concatenating the block files. It's documented in its own README, here: https://github.com/bitcoin/bitcoin/tree/master/contrib/linearize In short: Launch Bitcoin with an rpcuser and rpcpassword ...


8

"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:...


8

Let's say I found a tarball with blockchain data files which I load to my datadir and start my Bitcoin Core client, what sort of attacks am I vulnerable to? Could the files contain fake balances? It depends. If you're just importing blocks (so no chainstate/ subdirectory with UTXO set), there should not be any possible attack. The client will validate those ...


7

I tried putting blockfile in .bitcoin directory and starting ./bitcoind but doesn't works. By the way, this method works best for me. ./bitcoind -loadblock=~/.bitcoin/bootstrap.dat You need to use loadbloack syntax with the ./bitcoind .


6

The block files are in the same format as the bootstrap file. Their format is really simple: just concatenate all blocks after prefixing them by the network number (to avoid mixing the testnets) and the block length. [network number] [length] [block header] [block transactions] [network number] [length] [block header] [block transactions] [network number] [...


5

Since van der Woerdt's answer in first question you link to indicates you can simply concatenate the blk files, you can open a DOS window (if your using windows), then type CD C:\Users\<my_user>\AppData\Roaming\DogeCoin (if you're on Win7+) And then COPY /b blk0001.dat+blk0002.dat bootstrap.dat And that would be it!


5

No, it's not possible. With the exception of Script commands, nothing in the blockchain is executed by Bitcoin Core: it's just data. Scripts are only able to do things like hashing and arithmetic, so it's hard to imagine any sort of Script-based malware. It's conceivable that malware (once delivered to your computer via other means) could use the blockchain ...


4

The bootstrap.dat file contains a serialized copy of the blockchain, usually up to the latest checkpoint released for the official client. The official bitcoin client will read this file when starting to create the blockchain without downloading it from the peer nodes. The file will then be renamed to bootstrap.dat.old so it won't be reprocessed when the ...


4

Yes, it is marked .old to indicate it is safe to delete. The blocks have been copied and imported into the main blockchain that you store. The process took time because the client was verifying the blocks.


4

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!


3

When you run bitcoin-qt or bitcoind in command line, pass that argument. This way, the client indexes transactions from a file, not from the internet. bitcoin-qt -loadblock=/path/to/bootstrap.dat Source: http://eu2.bitcoincharts.com/blockchain/ Version 0.7 or later will also import this file by passing the command line argument "-loadblock=/path/to/...


3

Bitcoin-qt verifies the entire blockchain the first time it starts, to be sure that all the transactions are properly signed, and all the blocks certify an appropriate amount of computation (proof-of-work). This ensures, for instance, that nobody is feeding you a fraudulent bootstrap.dat. Depending on the speed of your computer and network, this ...


3

 From Mac Open terminal Go to the folder where the blocks are. In this case Bitcoin's folder (it's the same for other bitcoin forks) cd "Library/Application Support/Bitcoin/blocks/" Run this code that will concatenate all the blk files. Make sure to include all the numbered blocks you find on your Bitcoin's folder. In this case there are 4 cat blk000*....


3

I see two broad solutions: Use an API that allows you to get blocks by block height BlockChain.info allows you to query for blocks at a certain height. Example: https://blockchain.info/block-height/100?format=json returns { "blocks" : [ { "hash":"000000007bc154e0fa7ea32218a72fe2c1bb9f86cf8c9ebf9a715ed27fdb229a", "ver":1, (snipped) (Remember to ...


2

Making your own bootstrap.dat is fairly simple. In windows, drop to your command prompt and use the following command. Copy /b blk00000.dat+blk00001.dat+blk00002.dat bootstrap.dat You'll want to keep going with the + blk*.dat files until you reach the last one. To make things easier for you, just run a batch file which can take care of adding them all ...


2

(edit: removed old and stale magnet) now use these, as advised in top answers: https://bitcointalk.org/index.php?topic=145386.0 https://bitcoin.org/bin/blockchain/ http://sourceforge.net/projects/bitcoin/files/Bitcoin/blockchain/bootstrap.dat.torrent/download http://armoryguide.com/bootstrapping-the-blockchain/


2

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/...


2

The site below has good information, including guides for different operating systems: litecoin.info/Bootstrap.dat


2

I can at least tell you what I did, on my iMac running OS X 10.9.1 (Mavericks). I ran Bitcoin-Qt, which immediately started synching. I could see by the progress bar that if it's roughly linear, it would take 8 - 10 days to complete. The nice thing about it was that I could see the directories it needed by what it created for itself in ~/Library/...


2

No. This feature does not exist (yet) in Namecoin.


2

 From Mac Open terminal Go to the folder where the blocks are. In this case Bitcoin's folder (it's the same for other bitcoin forks) cd "/Library/Application Support/Bitcoin/blocks/" Run this code that will concatenate all the blk files. Make sure to include all the numbered blocks you find on your Bitcoin's folder. In this case there are 4 cat blk00000....


2

From what you said, I'm assuming you're using an option like this when you run Bitcoin Core (bitcoin-qt): -datadir=D:\BitCoinData (if not, you should do something like that to specify that the blockchain will be on your 1TB HDD; otherwise, it's only the small client, and not the large and oft-updated blockchain, that resides on your HDD) In this example, ...


2

Find your local blockchain: cd ~/.bitcoin/blocks Or, to bootstrap testnet, find your local testnet blockchain: cd ~/.bitcoin/testnet3/blocks Concatenate all your blkxxxxx.dat files and place the result in bootstrap.dat: cat blk* > bootstrap.dat Warning: Using tar -cf (as instructed by this answer) did not work for me. I'm importing from bitcoind ...


Only top voted, non community-wiki answers of a minimum length are eligible