Author

Topic: Downloading block risks forking? (Read 870 times)

legendary
Activity: 1596
Merit: 1100
October 09, 2012, 12:34:07 AM
#3
With the version 0.7 client, -loadblock=  is now available and with that you can securely download the blockchain data files, but instead of using them directly you can load the blocks from them and thus the blockchain is loaded as fast as your system can go, and there is no security risks as long as after the load is done you let the client finish the last bit of catching up (e.g., in case the data files had the longest chain as something other than the current longest bitcoin blockchain.)

Correct.  -loadblock=FILE is the answer for the current client (0.7 or later).  That imports and validates blocks from the given file(s) in the same manner as the Initial Block Download (IBD) performed over the network.

legendary
Activity: 2506
Merit: 1010
October 09, 2012, 12:31:52 AM
#2
If you download blocks from a client server site like bitcoincharts instead of waiting for the bitcoin client to update through peer to peer, what exactly are the risks? Can the bitcoin client belong to a bitcoin fork and can the coins in the wallet become worthless?

This was addressed here:

How can one download the initial Blockchain data files securely?
 - http://bitcoin.stackexchange.com/questions/3551

The problem is that the client doesn't validate each block on startup, so unless the client downloads the blockchain from the P2P network blockchain, you are exposing yourself to the risk where you have invalid data in your data files.  If a manual download was offered with the intention to defraud, this could make you vulnerable to a double spend attack against you that could be successful.

With the version 0.7 client, -loadblock=  is now available and with that you can manually download the blockchain data files, but instead of using them directly you can load the blocks from the manually downloaded data files.  Thus the blockchain is loaded securely and as fast as your system can go.  There is no security risks as long as after the load is done you let the client finish the last bit of catching up to protect against the chance that the longest chain in the manual download had something other than the current longest bitcoin blockchain.

[Edited for readability]
full member
Activity: 205
Merit: 100
October 08, 2012, 11:51:11 PM
#1
If you download blocks from a client server site like bitcoincharts instead of waiting for the bitcoin client to update through peer to peer, what exactly are the risks? Can the bitcoin client belong to a bitcoin fork and can the coins in the wallet become worthless?
Jump to: