Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: User500 on April 22, 2014, 11:23:31 AM



Title: Does blockchain distribution work like in bittorrent?
Post by: User500 on April 22, 2014, 11:23:31 AM
Hello,

Does the blockchain/block distribution in bitcoin core work like in bittorrent?
More precisley: Does the downloading client start to upload to other clients even if the blockchain download from
the origin client isn't complete?


Title: Re: Does blockchain distribution work like in bittorrent?
Post by: Jori on April 22, 2014, 11:38:15 AM
I think better asked here: https://bitcointalk.org/index.php?board=4.0.

Quote
Does the downloading client start to upload to other clients even if the blockchain download from
the origin client isn't complete?

Yes. Also, the blockchain is not downloaded from one client of course (for security and practical reasons).


Title: Re: Does blockchain distribution work like in bittorrent?
Post by: User500 on April 22, 2014, 03:01:19 PM
I think better asked here: https://bitcointalk.org/index.php?board=4.0.

Quote
Does the downloading client start to upload to other clients even if the blockchain download from
the origin client isn't complete?

Yes. Also, the blockchain is not downloaded from one client of course (for security and practical reasons).


Sorry that I aks again: Yes means in this case "yes it does upload meanwhile downloading"?


Title: Re: Does blockchain distribution work like in bittorrent?
Post by: TierNolan on April 22, 2014, 03:05:55 PM
Sorry that I aks again: Yes means in this case "yes it does upload meanwhile downloading"?

You can ask a node for a block even while that node is downloading.

Most nodes have (almost) the entire chain anyway, so it isn't that big a deal.  You are unlikely to connect to a node that has only just joined the network.