Bitcoin Forum
November 22, 2017, 09:30:49 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Download blockchain  (Read 694 times)
ICOs
Member
**
Offline Offline

Activity: 84


View Profile
October 16, 2017, 12:45:17 AM
 #1

How to download blockchain all at once? Is there any site where I can download an updated copy of the blockchain?

1511343049
Hero Member
*
Offline Offline

Posts: 1511343049

View Profile Personal Message (Offline)

Ignore
1511343049
Reply with quote  #2

1511343049
Report to moderator
1511343049
Hero Member
*
Offline Offline

Posts: 1511343049

View Profile Personal Message (Offline)

Ignore
1511343049
Reply with quote  #2

1511343049
Report to moderator
1511343049
Hero Member
*
Offline Offline

Posts: 1511343049

View Profile Personal Message (Offline)

Ignore
1511343049
Reply with quote  #2

1511343049
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511343049
Hero Member
*
Offline Offline

Posts: 1511343049

View Profile Personal Message (Offline)

Ignore
1511343049
Reply with quote  #2

1511343049
Report to moderator
1511343049
Hero Member
*
Offline Offline

Posts: 1511343049

View Profile Personal Message (Offline)

Ignore
1511343049
Reply with quote  #2

1511343049
Report to moderator
HCP
Sr. Member
****
Offline Offline

Activity: 434

<insert witty quote here>


View Profile
October 16, 2017, 01:41:40 AM
 #2

That defeats the purpose of the blockchain.

The value of the blockchain is that it is immutable and can be verified from the beginning to the end as each block references the previous block. By simply downloading all of the data, you are skipping the block validation which could potentially open yourself up to issues if the data is "bad".

Additionally, it means you need to fully trust the source of the data... which also goes against the whole "Trustless" system that Bitcoin is designed for.

Finally, given the recent updates, it is also faster and more efficient to simply sync the full blockchain using the Bitcoin Core client than it is to use a "bootstrap" anyway...

btcton
Hero Member
*****
Online Online

Activity: 952

Professional SysAdmin / Hobbyist Developer


View Profile
October 16, 2017, 03:54:49 AM
 #3

There used to be a torrent version of the blockchain that had most of the blocks up until a certain point at which the torrent was created. It basically worked as an archive of the blockchain so that people could download it that way and then start up Bitcoin Core to download only the most recent blocks that were mined after the torrent creation. I am not sure if anything like this is still being done, as I believe it is actually faster than using Bitcoin Core itself (contrary to what the poster before me claims). Unless there was a change to the peering system in the Bitcoin Core desktop application, this would be the fastest way to download the blockchain. Given how big it has gotten, however, I would not be surprised if the effort to do this was stopped. I recommend that you benchmark your speeds with Bitcoin Core and only really use the torrent (if you can find it) if you feel that it is too small. I have not run a full node myself in a while, so I cannot atest to any changes that might have happened since then.

HCP
Sr. Member
****
Offline Offline

Activity: 434

<insert witty quote here>


View Profile
October 16, 2017, 04:58:37 AM
 #4

The original thread regarding the bootstrap download is here: https://bitcointalk.org/index.php?topic=145386.0 It hasn't been updated since August 2014. There is a reason they stopped making/updating the "bootstrap.dat" torrent and offering it for download... since v0.10 optimisations have made it slower to use than just letting Core sync naturally.

IMPORTANT NOTE:  As of Bitcoin Core version 0.10.0 or later, this torrent is slower than a direct download using the bitcoin P2P protocol & client.  This torrent is now only maintained for research and development purposes as a secondary option.  Please use Bitcoin Core directly to download the blockchain.

And of course, there were more optimisations in v0.15(.0.1) to make it even faster: https://bitcoin.org/en/release/v0.15.0.1#performance-improvements



ICOs
Member
**
Offline Offline

Activity: 84


View Profile
October 16, 2017, 09:28:33 AM
 #5

The original thread regarding the bootstrap download is here: https://bitcointalk.org/index.php?topic=145386.0 It hasn't been updated since August 2014. There is a reason they stopped making/updating the "bootstrap.dat" torrent and offering it for download... since v0.10 optimisations have made it slower to use than just letting Core sync naturally.

IMPORTANT NOTE:  As of Bitcoin Core version 0.10.0 or later, this torrent is slower than a direct download using the bitcoin P2P protocol & client.  This torrent is now only maintained for research and development purposes as a secondary option.  Please use Bitcoin Core directly to download the blockchain.

And of course, there were more optimisations in v0.15(.0.1) to make it even faster: https://bitcoin.org/en/release/v0.15.0.1#performance-improvements



Thanks. Didn't know the client had been updated to make this faster.

sunk818
Member
**
Offline Offline

Activity: 106


View Profile
November 14, 2017, 09:54:44 PM
 #6

It is not faster for me. Taking too many hours to process the transactions. I'm still at Oct 2015 after 24 hours. I rather download a bootstrap.dat ... I thought all the transactions had to be verified even if you download a bootstrap.dat. How can there be corruption of data if you require consensus from 51% of peers? Its all old confirmed transactions anyway...
achow101
Moderator
Legendary
*
Offline Offline

Activity: 1218


17kKQppUsngUiByDsce4JXoZEjjpvX9bpR


View Profile WWW
November 14, 2017, 10:11:08 PM
 #7

It is not faster for me. Taking too many hours to process the transactions. I'm still at Oct 2015 after 24 hours. I rather download a bootstrap.dat ... I thought all the transactions had to be verified even if you download a bootstrap.dat.
Using the bootstrap.dat is slower because you have to download then verify all of the blocks after the download. It is faster to let it sync normally because you are downloading and verifying blocks at the same time.

How can there be corruption of data if you require consensus from 51% of peers? Its all old confirmed transactions anyway...
That's not at all how Bitcoin works. Anyone can just give you data; it's not like the bootstrap.dat is some magic file that can't be altered. Your node still must verify that the blocks provided are correct. 51% of nodes has nothing to do with that.

          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
.
|
.
|
          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
unthy
sunk818
Member
**
Offline Offline

Activity: 106


View Profile
November 14, 2017, 10:18:14 PM
 #8

That's not at all how Bitcoin works. Anyone can just give you data; it's not like the bootstrap.dat is some magic file that can't be altered. Your node still must verify that the blocks provided are correct.

I'm sorry maybe I don't understand. If I download a bootstrap.dat - you're saying the file can be altered. Wouldn't the rest of the Bitcoin network reject the corrupted transactions? Please explain what the real-world implication and danger is in using a bootstrap.dat from a third party.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 1218


17kKQppUsngUiByDsce4JXoZEjjpvX9bpR


View Profile WWW
November 14, 2017, 10:37:27 PM
 #9

I'm sorry maybe I understand. If I download a bootstrap.dat - you're saying the file can be altered. Wouldn't the rest of the Bitcoin network reject the corrupted transactions? Please explain what the real-world implication and danger is in using a bootstrap.dat from a third party.
The rest of the network does not know nor does it care what data you have in your bootstrap.dat file. It isn't a file that nodes create and give to other nodes; it's a file created by humans and given to other humans.

An altered bootstrap.dat file is an attack on you, and whoever else has that file. It is not an attack on the network. At the very least, it could result in you having a completely different blockchain and then having to download the blockchain again from your peers when your node realizes that that chain it has has less work than the chain that other nodes have.

          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
.
|
.
|
          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
unthy
sunk818
Member
**
Offline Offline

Activity: 106


View Profile
November 14, 2017, 11:13:09 PM
 #10

I'm sorry maybe I understand. If I download a bootstrap.dat - you're saying the file can be altered. Wouldn't the rest of the Bitcoin network reject the corrupted transactions? Please explain what the real-world implication and danger is in using a bootstrap.dat from a third party.
The rest of the network does not know nor does it care what data you have in your bootstrap.dat file. It isn't a file that nodes create and give to other nodes; it's a file created by humans and given to other humans.

An altered bootstrap.dat file is an attack on you, and whoever else has that file. It is not an attack on the network. At the very least, it could result in you having a completely different blockchain and then having to download the blockchain again from your peers when your node realizes that that chain it has has less work than the chain that other nodes have.

It sounds like worst case I just have to download the blockchain from my peers. I'm willing to deal with that risk. It sounds like a delay and inconvenience... nothing related to financial hijacking or loss of bitcoins.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!