Bitcoin used to offer sharing/downloading a bootstrap.dat which contains the whole blockchain.

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 torrent?

If so, how do I import it into the Ethereum 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?

  • 1
    well for instance on github ethereum, if they don't want to provide boostrap file themselves perhaps they could publish say the hash of the first N blocks so that when you download those blocks from another third party that the hash matches ? – user93019 Jun 5 '16 at 16:41
  • Strongly agree. Is there any security reason why there could not be standardized bootstrap files with published MD5 and/or PGP checksums? Seems like it would save a lot of time & Ethereum network bandwidth. – gosmond Mar 28 '17 at 3:55
  • the blockchain now has 6,170,500 blocks. To speed up the download I'm using the method at mudra.cloud/ethereum/blockchain.html Is this the fastest method? Does anyone know another faster method? Thanks – romanoing 2 days ago
  • This does not really answer the question. If you have a different question, you can ask it in a separate question. – Achala Dissanayake 2 days ago
  • ok, I asked the question in the right place. Tks – romanoing 2 days ago
up vote 17 down vote accepted

Answer

If you want to download the blockchain data from an external source that is up to you, but that does come with risks of the data being corrupted or sabotaged in a way to compromise your machine or Ethereum wallets. So the "security issue" is that you are trusting an un-trusted, non-Ethereum network source when you download the file. As long as you trust the source or want to take that risk your Ethereum client will still validate the data you downloaded as correct for the Ethereum network you connect to (mainnet, testnet [Morden], etc.).

That all being said, I do not know of any third party sites that offer the Ethereum blockchain as a download. If you were to create such a site, it is possible to export and import the Ethereum blockchain data using the commands below

Details

Using geth:

geth export <filename>

geth import <filename>

Using eth (C++)

eth --import <filename>

eth --export Myfile --format binary --from 45 --to latest

(Formats supported: hex (newlines separating), binary or JSON --from and --to also support blockhashes)

Source

  • 1
    Your security concerns are pointless. Even if he downloads a forged blockchain, his node will not generate the latest valid state and wont be able to sync with the entire network after finding first invalid block. So, you can download a blockchain file from untrusted source without any problem. – Nulik Nov 29 '17 at 12:16

You may download Mainnet Ethereum blockchain as of 2016-05-30, including 1,613,031 blocks (1.7GB) from http://bloopish.com/tools/ethereum/ at your own risk, saving 1 or 2 days of sync.

You can download a very recent version (2017-03-07) also from here:

http://mudra.cloud/ethereum/blockchain.html

  • 2
    Why would you even publish this? This is a copy of the Ethereum blockchain offered by a pseudo-anonymous source, with no MD5 hashes or any other means of verification. Bad security practice. – gosmond Mar 28 '17 at 3:53
  • SHA-256 checksum published. Login required to download. – Erkin Alp Güney Jul 2 '17 at 11:50
  • 1
    This source is not available anymore (displays message of this effect when trying to download an epoch). – johndodo Dec 20 '17 at 8:52

You can download a (2017-08-10) version from here:

https://forum.ethereum.org/discussion/14143/ethereum-blockchain-export-file-available-for-download

  • After unzipping the file, where would you insert the blockchain_eth_20170810_2320.export file? I copied to the GETH directory and launched GETH from CMD, but it seems to be behaving the same as if I were starting from scratch. Is this the only effort to bootstrap Ethereum? Is there documentation on how to do this that I'm not seeing? – PGCodeRider Jan 28 at 17:53
  • 1
    use geth import <filename> check Hudson Jameson answer ethereum.stackexchange.com/a/2347/11820 – Moes Jan 29 at 2:37

protected by Community 2 days ago

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.